Commit Graph

1009 Commits

Author SHA1 Message Date
Andrew Kingston 69cffd0f09 Clean up 2023-10-26 19:14:36 +01:00
Andrew Kingston fd15f771ef Refactor how relationship cells fetch and cache primary display columns to fix issues with store stale data 2023-10-26 19:03:04 +01:00
Andrew Kingston 23cdac5906 Update grids to support pagination with REST queries and to simplify some logic 2023-10-26 17:37:59 +01:00
Andrew Kingston 0535bae0f5 Merge branch 'master' of github.com:Budibase/budibase into global-bindings 2023-10-26 10:14:05 +01:00
Andrew Kingston 230dc169fa Revert previous fix for relationship column dragging 2023-10-26 10:11:34 +01:00
Sam Rose 26100ffd8b
Merge branch 'feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column' into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column-4 2023-10-26 09:57:11 +01:00
Sam Rose e03b1be9d1
Make sure new column name cannot be the same as an existing column name. 2023-10-25 16:41:37 +01:00
Sam Rose c5097487e2
Use FieldType constant instead of raw string. 2023-10-25 16:38:55 +01:00
Sam Rose ef84e96f98
Use RelationshipType enum instead of raw string. 2023-10-25 16:38:14 +01:00
Sam Rose 2c5dd99da2
Use FieldSubtype enum instead of raw strings. 2023-10-25 16:37:15 +01:00
Sam Rose 7acce7b7c0
Remove unused dispatch import. 2023-10-25 16:01:08 +01:00
Sam Rose c9e3b7a348
Remove the previous attempt at syncing grid state, it is no longer needed. 2023-10-25 16:00:14 +01:00
Sam Rose 402a53cacb
User constant for user table ID. 2023-10-25 15:33:12 +01:00
Sam Rose 5779e97e6e
Add column name input validation. 2023-10-25 15:29:56 +01:00
Sam Rose fbf60ece4f
Merge base branch. 2023-10-25 14:58:37 +01:00
Andrew Kingston 4fb18baf17 Merge branch 'grid-inline-searching' of github.com:Budibase/budibase into refactor-grid-columns 2023-10-25 08:48:21 +01:00
Sam Rose f4c6ab7f48
Make sure the user cannot enter the same column name as the old column for the migrated column. 2023-10-24 17:33:49 +01:00
Sam Rose d3670ddf21
Add an input to allow the user to choose the new column name. 2023-10-24 17:22:49 +01:00
Sam Rose 2f0a40e9bb
Introduce modal to show warning to users, and toast to show success. 2023-10-24 15:18:46 +01:00
Andrew Kingston c5537dd58c Prettier 2023-10-24 08:46:55 +01:00
Andrew Kingston f355933bf3 Add grid support for old views with groupBy specified, and any other datasource that has a custom means of determining a datasource schema 2023-10-24 08:26:57 +01:00
Sam Rose a701933f48
Frontend changes for the user column migration work. 2023-10-23 17:57:25 +01:00
Andrew Kingston 9a72c418c9 Remove duplicate comment 2023-10-20 14:13:30 +01:00
Andrew Kingston 3bfa6e9d60
Merge branch 'master' into grid-inline-searching 2023-10-20 12:32:07 +01:00
Andrew Kingston 452dc92356 Merge branch 'master' of github.com:Budibase/budibase into grid-all-datasources 2023-10-20 10:41:08 +01:00
Andrew Kingston 9d62affe07 Merge branch 'grid-inline-searching' of github.com:Budibase/budibase into refactor-grid-columns 2023-10-18 16:00:59 +01:00
Andrew Kingston 16a361b366 Merge branch 'grid-all-datasources' of github.com:Budibase/budibase into grid-inline-searching 2023-10-18 16:00:31 +01:00
Andrew Kingston 41e72a28c9
Merge branch 'master' into grid-all-datasources 2023-10-18 15:59:12 +01:00
Andrew Kingston 05133d7e69 Ensure data section grid sort column options are properly filtered down 2023-10-18 15:44:27 +01:00
Andrew Kingston fb69c3a0da Add new shared core util for determining whether columns can be sort columns or not 2023-10-18 15:38:37 +01:00
mike12345567 13dadbcc7d Merge branch 'master' of github.com:Budibase/budibase into fix/internal-db-enrich-perf 2023-10-18 15:22:00 +01:00
Andrew Kingston 93d717d2e9 Fix add new row setting not being enough to edit new rows with also enabling edit rows flag 2023-10-18 14:25:59 +01:00
Andrew Kingston dadb368279 Lint and add hover styles for deleting prompts 2023-10-18 08:31:29 +01:00
Andrew Kingston c37538d611 Use CSS content-visibility to improve rendering performance by hiding offscreen grid cells 2023-10-18 08:17:18 +01:00
Andrew Kingston 4e703fdfcc Remove concept of rendered columns from grid and instead render all columns 2023-10-18 08:17:03 +01:00
Michael Drury ee0da189d2
Merge branch 'master' into global-bindings 2023-10-17 14:13:04 +01:00
mike12345567 fefd5fa0dc Quick fix for drag and drop behaviour of relationship cells, appears empty cells were causing things to break in the re-render. 2023-10-16 17:41:20 +01:00
Andrew Kingston 74cab11191 Improve grid sorting labels to account for date types and provide better labels 2023-10-16 17:17:14 +01:00
Andrew Kingston a857eb266c Ensure keyboard events while inline searching are not captured by the main grid keyboard manager 2023-10-16 17:12:25 +01:00
Andrew Kingston 7f33b28294 Merge branch 'grid-all-datasources' of github.com:Budibase/budibase into grid-inline-searching 2023-10-16 16:49:01 +01:00
Andrew Kingston e0b748a7bc Merge branch 'master' of github.com:Budibase/budibase into grid-all-datasources 2023-10-16 15:29:46 +01:00
Martin McKeaveney 2ef9871fda merge with master 2023-10-16 14:42:50 +01:00
Michael Drury 5e00a0d0dd Merge branch 'master' into fix/internal-db-enrich-perf 2023-10-16 13:54:10 +01:00
Andrew Kingston 27373a9648 Ensure header cells properly update when reordered while a search value is applied 2023-10-13 19:17:49 +01:00
Andrew Kingston e3d6a68ea1 Refactor inline searching to be a separate concept from normal filters, and optimise API usage across all datasources 2023-10-13 19:06:53 +01:00
mike12345567 03371005c1 PR comments - addressing API.searchUser updates. 2023-10-13 12:23:28 +01:00
Andrew Kingston 804aab3e43 Refactor to use types for fields and add support for searching bigint columns 2023-10-13 09:36:50 +01:00
mike12345567 16d551542e Frontend component of updating the API and accounting for default value not being in the paginated results of the relationship picker. 2023-10-12 19:00:53 +01:00
mike12345567 6bbce23910 Updating user fetch functionality to send up lucene syntax for searching to global user endpoint. 2023-10-12 16:31:32 +01:00
Andrew Kingston 6dfe2c22af Fix issue with multiple filters at the same time and remove unused variable 2023-10-12 15:46:18 +01:00
Andrew Kingston c906efb972 Fix text colour for inline searching in grid block 2023-10-12 14:37:13 +01:00
Andrew Kingston 6c3fe00b13 Merge branch 'develop' of github.com:Budibase/budibase into grid-inline-searching 2023-10-12 14:34:03 +01:00
Andrew Kingston cfdaa3564c Improve options inline searching 2023-10-12 14:30:41 +01:00
Andrew Kingston 2ef2d07cab Add inline searching for formula and longform columns, and improve searching operators where possible 2023-10-12 14:28:05 +01:00
Andrew Kingston 789bb528f4 Add basic inline searching and fix create first row popup 2023-10-12 11:58:25 +01:00
Andrew Kingston 99f72ffd28 Merge branch 'grid-all-datasources' of github.com:Budibase/budibase into grid-all-datasources 2023-10-12 09:26:49 +01:00
Andrew Kingston b51950a43a Undo bump comment change 2023-10-12 08:31:46 +01:00
Andrew Kingston 4ed3767324 Merge branch 'develop' into grid-all-datasources 2023-10-12 08:31:09 +01:00
mike12345567 f1b73058c2 Merge branch 'fix/update-vm2' of github.com:Budibase/budibase into backmerge-20231011 2023-10-11 18:49:39 +01:00
mike12345567 09ce950e64 Merge branch 'master' of github.com:Budibase/budibase into fix/internal-db-enrich-perf 2023-10-11 17:24:08 +01:00
Andrew Kingston aa0dc7dd37 Bump 2023-10-11 10:24:49 +01:00
Andrew Kingston a31186ee56 Improve custom data fetch parsing to better support csv-like strings 2023-10-10 15:42:09 +01:00
Adria Navarro 36909ff7f6 Export bannedDisplayColumnTypes 2023-10-10 15:50:12 +02:00
Andrew Kingston 08331c3632 Fix bug that was causing an empty grid when adding a new column 2023-10-10 11:59:24 +01:00
Adria Navarro 6f77be622f Simplify 2023-10-09 15:36:17 +02:00
Adria Navarro 065e633742 Don't allow users column as primary display 2023-10-09 15:30:07 +02:00
Andrew Kingston a781860b1c Improve grid handling of non datasource plus and fix focused cell issue with row click actions 2023-10-09 09:36:01 +01:00
Andrew Kingston c48eca4a0f Update if logic to avoid redundant check 2023-10-09 08:33:28 +01:00
Andrew Kingston e415c516e9 Merge branch 'develop' of github.com:Budibase/budibase into grid-all-datasources 2023-10-09 08:31:50 +01:00
Andrew Kingston 71a8d5695b Merge branch 'develop' of github.com:Budibase/budibase into grid-all-datasources 2023-10-09 08:24:06 +01:00
Andrew Kingston 8ce001cd4a Merge branch 'develop' into grid-mobile-scrolling 2023-10-09 08:23:43 +01:00
Andrew Kingston 2171b14f50 Merge branch 'develop' into grid-clipboard 2023-10-09 08:06:18 +01:00
Andrew Kingston 0303027754 Merge branch 'develop' into grid-mobile-scrolling 2023-10-09 08:06:04 +01:00
Andrew Kingston c2acac36a8 Improve retention of grid metadata when updating datasources to avoid resetting state 2023-10-06 12:02:30 +01:00
Andrew Kingston 3564fd5621 Improve handling of JSON objects in custom datasources 2023-10-05 19:30:00 +01:00
Andrew Kingston ecd2ed3d07 Improve custom datasource schema generation and error resistance 2023-10-05 19:00:11 +01:00
Andrew Kingston 0e394f0259 Lint 2023-10-05 18:31:43 +01:00
Andrew Kingston 5990f43f3f Fix issues with fetching features and bindings in custom datasources 2023-10-05 18:30:40 +01:00
mike12345567 3e2f9dfc4e Further enhancement, client library sends up the column it wants enriched and then we can ignore everything else, makes a big difference for enriching users (with a lot of relationships). 2023-10-05 18:23:18 +01:00
Andrew Kingston 9667c954ef Enable uploading a CSV file as a datasource and fix edge cases 2023-10-05 17:55:57 +01:00
Andrew Kingston 43c30d877b Add new custom datasource type 2023-10-05 14:42:26 +01:00
Andrew Kingston b75c78dae5 Remove log 2023-10-05 08:24:30 +01:00
Andrew Kingston 922a851710 Merge branch 'develop' of github.com:Budibase/budibase into grid-all-datasources 2023-10-05 08:23:26 +01:00
Andrew Kingston 88c4d0cd20 Update grids to work with all datasources 2023-10-05 08:23:01 +01:00
Adria Navarro 753cb442c2 Allow edit 2023-10-04 17:55:23 +02:00
Adria Navarro 6d5e95af6e Add icons 2023-10-04 17:55:23 +02:00
Martin McKeaveney d86c251699 Merge branch 'develop' into grid-clipboard 2023-10-04 11:57:45 +01:00
Andrew Kingston 77f87af87f Improve grid handling of invalid datasources and fix potential error when encoutering invalid datasources 2023-10-04 09:36:42 +01:00
Andrew Kingston c4a516ccb3 Ensure grid schema structure is predictable and prevent copying IDs for query datasources 2023-10-04 09:25:35 +01:00
Andrew Kingston d03fdb6df9 Add initial support for query datasources in grids 2023-10-03 17:35:00 +01:00
Martin McKeaveney 1e5be5bb96 Merge branch 'develop' into grid-row-click-events 2023-10-02 17:35:38 +01:00
Adria Navarro 53236e1039 Add comment 2023-10-02 13:41:07 +02:00
Adria Navarro ce90109422 Fixing filtering on user column 2023-10-02 13:37:06 +02:00
Andrew Kingston 0506adee50 Update row click event name to match best practices 2023-10-02 09:18:25 +01:00
Andrew Kingston 68215684e1 Prevent row selection, deletion and expansion from triggering on click events in grids 2023-10-02 09:13:23 +01:00
Andrew Kingston eb934adc33 Add row click events to grid 2023-09-29 16:47:53 +01:00
Andrew Kingston 0a1070a4f2 Update grid to support dragging to scroll via touch events 2023-09-29 16:10:16 +01:00
Andrew Kingston 647becd52c Add support for dragging scollbars in grids on mobile 2023-09-29 09:15:58 +01:00
Andrew Kingston 97c08c5327 Copy to clipboard while copying inside grids 2023-09-29 08:50:58 +01:00
mike12345567 4bfda10fbb Merge branch 'develop' of github.com:Budibase/budibase into fix/BUDI-7236 2023-09-27 15:51:49 +01:00