Commit Graph

130 Commits

Author SHA1 Message Date
Andrew Kingston db9c1b2b05 Add support for alignment, text color and background color in tables and improve padding compatibility with table sizes 2022-02-18 20:14:56 +00:00
Andrew Kingston 84a475764e Move table overflow layer to fix sticky header not working 2022-02-18 14:40:08 +00:00
Andrew Kingston 5e98b01d4e Fix table loading states and remove virtual table rendering 2022-02-18 14:12:29 +00:00
Andrew Kingston 268d06a120 Ensure table height is exactly perfect for row count regardless of scrollbars 2022-02-18 13:33:34 +00:00
Andrew Kingston 9e8742b710 Fix table height calculation not being exact 2022-02-18 13:27:36 +00:00
Andrew Kingston 9f92ee2d0b Add compact setting to table 2022-02-18 13:08:18 +00:00
Andrew Kingston f45715d61b Only autosort columns when custom columns are not specified 2022-02-18 12:35:39 +00:00
Andrew Kingston dceebb0fc9 Completely rewrite BBUI table with divs and with support for custom column widths 2022-02-18 11:58:18 +00:00
Peter Clement 340c9480c2 add row selection numbers 2022-02-16 15:00:18 +00:00
Peter Clement 1dd909c8c2 Merge remote-tracking branch 'origin/develop' into feature/table-row-selection 2022-02-16 14:35:42 +00:00
Peter Clement d45c107db7 add row selection functionality to tables 2022-02-11 11:55:35 +00:00
Andrew Kingston 0e59be9375 Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-09 15:18:44 +00:00
Michael Drury 1cc32e42c0 Merge branch 'develop' into frontend-core 2022-02-09 14:42:05 +00:00
mike12345567 d13985af3f Fix for #3758 - updating the datetime cell renderer and form component to be capable of display time only formats, as well as adding an option to only select the time component for a date time form field. 2022-02-08 16:15:08 +00:00
Andrew Kingston 353b67d0eb Merge branch 'frontend-core' of github.com:Budibase/budibase into experimental-hbs-caching 2022-02-07 14:46:05 +00:00
Andrew Kingston 2969f2d24c Merge branch 'develop' of github.com:Budibase/budibase into frontend-core 2022-02-07 14:45:14 +00:00
Andrew Kingston 03b3049572 Fix copy to clipboard not working without a secure context and add better notifications 2022-02-04 08:50:36 +00:00
Andrew Kingston fcd79ed70a Merge branch 'client-bundle-size-reduction' into experimental-hbs-caching 2022-01-31 18:58:19 +00:00
Andrew Kingston 22bb99357a Remove lodash and sort dependencies out 2022-01-31 09:32:06 +00:00
Andrew Kingston e3258a0caf Add helpers into BBUI rather than frontend core and fix A11y issue 2022-01-20 10:14:39 +00:00
mike12345567 18ff7a9cfb Merge branch 'develop' of github.com:Budibase/budibase into feature/query-variables 2022-01-04 12:58:42 +00:00
Rory Powell 5890f5d4dc Add bold and code cell renderers 2021-12-21 14:08:09 -05:00
Andrew Kingston 7b20aa31d1 Flatten JSON schema in apps to allow filtering and display of nested values 2021-12-06 12:37:50 +00:00
Peter Clement faa64b9516 add internal renderer back 2021-10-18 15:08:57 +01:00
Peter Clement eb957bc94f Potential fix for issues with updating and saving rows and columns 2021-10-17 21:23:30 +01:00
Peter Clement 6366abae7e remove uneeded log 2021-10-13 14:14:08 +01:00
Peter Clement ec50621733 refactor new autocolumn functionality 2021-10-13 11:39:36 +01:00
Peter Clement 194eddbda4 some tidy up 2021-10-13 09:29:01 +01:00
Peter Clement e2ae8b8437 add ability to copy _rev and _id from data tab 2021-10-12 17:32:15 +01:00
Andrew Kingston c5f0a2b34b Fix table crash when data is null 2021-09-29 15:25:44 +01:00
Andrew Kingston 05cfd87613 Broadcast a sort event from BBUI table, and add prop to disable table sorting of data 2021-09-23 16:08:09 +01:00
Andrew Kingston 7f16e76e8b Deeply clone rows before passing them back in the table edit row callback to avoid mutating table data 2021-09-02 14:42:12 +01:00
Peter Clement f1046b563c fix build 2021-08-26 08:50:36 +01:00
Peter Clement 17438372d0 Add ability for user to select 'List' data type for a column 2021-08-19 16:54:44 +01:00
Martin McKeaveney 03c5640856 merge 2021-06-21 11:19:22 +01:00
mike12345567 6733b61b78 Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-16 14:13:57 +01:00
Andrew Kingston d5e40fc090 Merge branch 'master' of github.com:Budibase/budibase into feature/layout-poc 2021-06-16 09:35:11 +01:00
mike12345567 1f818cf42f Quick fixes for types. 2021-06-15 19:57:41 +01:00
Andrew Kingston 38e064fa0f Fix all eslint issues 2021-06-15 19:36:56 +01:00
Andrew Kingston f802cf7217 Fix table z-index 2021-06-14 18:20:25 +01:00
Andrew Kingston 6c960dd9e2 Replace font-weight 500 with 600 as source sans pro does not have a 500 weight, and update autoscreens and templates to use source sans pro 2021-05-25 10:11:41 +01:00
Martin McKeaveney 4091013376 tidy up 2021-05-23 15:52:21 +01:00
Martin McKeaveney 35e361717c make attachments downloadable and images clickable 2021-05-23 15:40:00 +01:00
Keviin Åberg Kultalahti 341b632736 Merge branch 'next' into admin/user-management-ui 2021-05-17 10:11:25 +02:00
Andrew Kingston f82bd4465b Add brief docs to Table component explaining the schema prop 2021-05-14 13:11:23 +01:00
Andrew Kingston 34a2382b88 Fix two-tone spectrum background colours 2021-05-12 14:52:43 +01:00
Andrew Kingston c2cc99ef2c Fix chart placeholder, fix spectrum colours and begin work on pagination component 2021-05-12 14:34:25 +01:00
Keviin Åberg Kultalahti 7e8bee48d8 Merge branch 'next' into admin/user-management-ui 2021-05-11 12:01:31 +02:00
Andrew Kingston 63c22494fd Merge pull request #1472 from Budibase/app-list
App list screen
2021-05-11 08:43:47 +01:00
Andrew Kingston c220853891 Allow tables to render header even when no data exists 2021-05-10 18:01:47 +01:00
mike12345567 0debc239a1 Fixing issue with cell renderer not falling back to string rendering when type unknown. 2021-05-10 17:32:10 +01:00
Keviin Åberg Kultalahti 99fda23771 adds a click dispatch to the Table component 2021-05-07 14:52:46 +02:00
Andrew Kingston 797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Andrew Kingston c010eeb314 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
Keviin Åberg Kultalahti 9ef69b1725 convert ActionButton to new interface 2021-04-27 16:18:52 +02:00
Keviin Åberg Kultalahti e7b8ec4223 update ActionButton interface 2021-04-23 15:45:10 +02:00
Andrew Kingston c33f51600a Add custom scrollbars and fix page heights 2021-04-23 11:39:39 +01:00
Andrew Kingston f859ad5210 Update lots of font sizes, padding and other UI improvements 2021-04-23 10:48:19 +01:00
Andrew Kingston 7af7ff85ad Use new spectrum components to build up Table SelectEditRenderer cell 2021-04-16 11:05:31 +01:00
Andrew Kingston ad6fb672f1 Fix table height when no rows exist and fixed row count specified 2021-04-16 11:03:44 +01:00
Andrew Kingston f241f201b9 Fix table borders and background colours to properly reflect spectrum theme 2021-04-16 09:39:49 +01:00
Andrew Kingston 10fe99346f Improve modal layout, improve modal button spacing, use rollup for building to expose multple BBUI entrypoints 2021-04-15 11:50:56 +01:00
Andrew Kingston a85cada9d8 Fix table spectrum colour definitions 2021-04-13 18:08:01 +01:00
Andrew Kingston 9180312bab Fix z-index on table header 2021-04-13 15:31:38 +01:00
Andrew Kingston 0f56ed3c95 Fix scroll state not resetting 2021-04-13 15:10:27 +01:00
Andrew Kingston 13b7140571 Support non-sortable columns in table and prevent first row rendering flashing 2021-04-13 14:44:30 +01:00
Andrew Kingston e166195a49 Allow table dynamic resizing and scrolling whenever rowCount is not specified 2021-04-13 14:14:14 +01:00
Andrew Kingston 41742e7138 Use BBUI spectrum table in standard components 2021-04-12 16:14:24 +01:00
Andrew Kingston d7cb604151 Improve table cell rendering and pass down table slot 2021-04-12 15:24:33 +01:00
Andrew Kingston 3b2ef3a5e9 Add hover cursor to relationship badges in tables 2021-04-12 15:16:49 +01:00
Andrew Kingston 9e2803cb8d Don't show header in spectrum table unless rows exist 2021-04-12 15:15:35 +01:00
Andrew Kingston f76fb21562 Allow clicking on relationships in spectrum table 2021-04-12 15:12:59 +01:00
Andrew Kingston afca35a229 Improve table props and update table to work with views 2021-04-12 14:45:41 +01:00
Andrew Kingston b8c9cf0898 Add table placeholder 2021-04-09 14:48:26 +01:00
Andrew Kingston b699573941 Add custom renderers to table and improve table sorting 2021-04-09 14:21:27 +01:00
Andrew Kingston 372a8ac944 Fix error when attachment type doesn't exist 2021-04-09 13:36:54 +01:00
Andrew Kingston aa2cd7fbba Lighten table scrollbar colours 2021-04-09 13:08:37 +01:00
Andrew Kingston e7dcb311d3 Fix table border styles in default theme 2021-04-09 13:07:22 +01:00
Andrew Kingston ff174a7a3a Shrink scroll bars slightly 2021-04-09 13:02:55 +01:00
Andrew Kingston 5ef5106f07 Add spectrum table to BBUI and update builder 2021-04-08 15:57:24 +01:00