Commit Graph

56 Commits

Author SHA1 Message Date
Andrew Kingston ee07aaa01d Don't set explicit height of tables when total row count is equal or less than the desired rows, to avoid tiny overflow due to horizontal scrollbars 2022-03-02 09:06:31 +00:00
Andrew Kingston 508cc02fb4 Fix selecting all rows and fix table click events clashing with row selection 2022-02-24 09:14:16 +00:00
Andrew Kingston 8f93227dad Merge branch 'table-cell-config' of github.com:Budibase/budibase into feature/table-row-selection 2022-02-23 12:10:03 +00:00
Peter Clement 8531b9fd40 simplify add all method 2022-02-22 15:56:11 +00:00
Peter Clement dffdcd882f add ability to select rows from different tables and provide bindings 2022-02-22 15:18:08 +00:00
Andrew Kingston 8b08ef428d Update documentation of table cell schema options 2022-02-21 16:06:38 +00:00
Andrew Kingston 2bc3e96ec7 Update table hover to use a pseudo element to support hover color with customised cell backgrounds 2022-02-18 20:28:59 +00:00
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 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
Andrew Kingston 7b20aa31d1 Flatten JSON schema in apps to allow filtering and display of nested values 2021-12-06 12:37:50 +00: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
Andrew Kingston f802cf7217 Fix table z-index 2021-06-14 18:20:25 +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 c220853891 Allow tables to render header even when no data exists 2021-05-10 18:01:47 +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
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 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 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