Commit Graph

1313 Commits

Author SHA1 Message Date
mike12345567 4fe30355f2 Fix frontend build issue. 2024-01-24 17:20:12 +00:00
deanhannigan d246adca9c
Revert "Revert "Global bindings"" 2024-01-22 11:10:03 +00:00
deanhannigan b2c790650b
Revert "Global bindings" 2024-01-22 11:03:05 +00:00
Dean 4ffd0a549e Merge remote-tracking branch 'origin/master' into global-bindings 2024-01-08 16:23:55 +00:00
Adria Navarro 03a933005d Pass isMigrationDone 2024-01-08 13:42:38 +01:00
Adria Navarro 3dcb3dec3f Fix import 2024-01-08 13:35:07 +01:00
Adria Navarro 43aca917d7 Fix import 2024-01-08 13:33:41 +01:00
Adria Navarro 82ce1f2e93 Add link 2024-01-08 13:31:41 +01:00
Adria Navarro f7f51e7909 Change copy 2024-01-08 13:07:33 +01:00
Adria Navarro 13325b63a2 Use seconds instead of ms 2024-01-08 12:56:09 +01:00
Adria Navarro a8019d86cc Move api checks 2024-01-08 12:09:24 +01:00
Adria Navarro a427b322be Move ui to frontend-core 2024-01-08 11:11:46 +01:00
Adria Navarro a472e47b22
Merge branch 'master' into BUDI-7654/app-migration-builder-frontend 2024-01-08 10:13:54 +01:00
Dean 5d6862b399 Merge remote-tracking branch 'origin/master' into global-bindings 2024-01-05 12:10:12 +00:00
Adria Navarro 13f80ad735 Tidy up 2023-12-19 12:29:57 +01:00
Andrew Kingston b5f369d595 Remove leftover debug flag 2023-12-14 15:49:32 +00:00
Andrew Kingston 16f98dd8f7 Merge branch 'master' of github.com:Budibase/budibase into feature/multistep-form-block 2023-12-14 15:48:11 +00:00
Andrew Kingston a244b34e53 Fix multi step settings rendering and improve multi step form block client rendering when inside builder 2023-12-14 14:33:43 +00:00
Adria Navarro 50da799216 Add onMigrationDetected function 2023-12-14 10:07:46 +01:00
Adria Navarro 005dd27663 Use header consts from shared-core 2023-12-14 10:07:46 +01:00
Andrew Kingston 08cd5bbb91 Refactor form block layout and add functional update and view multi step forms 2023-12-13 13:09:57 +00:00
Andrew Kingston 69ea28ad46 Clean up and improve multi step form block 2023-12-12 20:22:48 +00:00
Andrew Kingston 01c8ef9f0f Update multistep button generation to show/hide buttons rather than disabling them 2023-12-11 17:32:51 +00:00
Andrew Kingston 368b227086 Add validation to default form step button actions 2023-12-08 16:52:49 +00:00
Andrew Kingston 223a315801 Update multi step form block to use core button config generation 2023-12-08 14:39:47 +00:00
Andrew Kingston 5a8c12c91b Move multi step button config into frontend core and fix button config setting layout 2023-12-08 14:15:23 +00:00
Michael Drury bc5563d776
Revert "Revert "Add Buttongroup configuration support to Formblock/Tableblock"" 2023-12-07 10:24:46 +00:00
Michael Drury a6fc56c764
Revert "Add Buttongroup configuration support to Formblock/Tableblock" 2023-12-07 10:17:36 +00:00
Dean a84b4e65ed Merge remote-tracking branch 'origin/master' into feature/add-buttongroup-to-formblock 2023-11-30 10:42:38 +00:00
Andrew Kingston b1a218beb0 Merge branch 'master' of github.com:Budibase/budibase into global-bindings 2023-11-28 15:08:12 +00:00
Andrew Kingston c4a3837fc1 Merge branch 'master' of github.com:Budibase/budibase into creator-changes 2023-11-24 15:18:06 +00:00
Gerard Burns 0d0db98484
Grid columns UI (#12209)
* grid columns ui

* linting

* remove comment

* remove property thats not used

* remove cli pacakge change

* PR Feedback

* fixes

* fixes

* wip

* wip

* wip

* wip

* wip

* wip

* about to implement

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* tests

* linting

* remove drag handle file

* fix icons

* remove field config changes

* wip

* wip

* wip

* remove logs

* wip

* linting

* pr feedback

* linting
2023-11-24 11:02:57 +00:00
Andrew Kingston 2cac5c9e8c Remove duplicated constants and add creator option to user import modal 2023-11-23 14:31:27 +00:00
Andrew Kingston fd5dd8dd72 Dedupe and clean up some role logic and constants, and display roles properly in user list 2023-11-23 14:12:10 +00:00
Andrew Kingston 35a35f92e6 Update constants and user invitation API to account for new creator flag 2023-11-23 14:02:29 +00:00
Dean c0012409f7 Added button group support to Formblock and Tableblock components 2023-11-23 10:45:13 +00:00
Adria Navarro 92f411bf77 Prettier 2023-11-20 21:48:49 +01:00
Adria Navarro 4d27ff1dc0 eslint import/no-duplicates 2023-11-20 21:48:49 +01:00
Adria Navarro 90ae387fbd Fix import/export 2023-11-20 21:48:49 +01:00
Andrew Kingston 7806591b82 Merge branch 'master' of github.com:Budibase/budibase into global-bindings 2023-11-20 14:47:37 +00:00
Andrew Kingston 7926490391
Merge branch 'master' into grid-buttons 2023-11-20 08:31:50 +00:00
Adria Navarro ac57cdbf02 Encode view ids on paths 2023-11-10 16:17:58 +01:00
Andrew Kingston 8017dd592b Ensure rows are cleaned before being passed to button actions in grids 2023-11-07 14:12:06 +00:00
Andrew Kingston c25b8a1448 Expose schema context from grid and allow usage in buttons 2023-11-07 14:10:16 +00:00
Andrew Kingston 20f9fd5d1b Merge branch 'master' of github.com:Budibase/budibase into grid-buttons 2023-11-07 11:28:42 +00:00
mike12345567 c43bfda45d Fix for user invitations throwing a 501 error due to the way the search was being performed. 2023-11-06 12:38:10 +00:00
Andrew Kingston b2352157cd Improve grid integration with new datepicker 2023-11-03 20:27:30 +00:00
Mihail Hadzhiev 87b69007f4
Merge branch 'master' into grid-tweaks 2023-11-02 09:52:52 +02:00
Andrew Kingston 2b8bbafcac Add support for buttons inside grids 2023-11-01 16:45:37 +00:00
Michael Drury 9643d9c0e2
Merge branch 'master' into feature/budi-7607-migrate-user-relationship-columns-to-the-new-user-column 2023-10-30 17:41:44 +00:00
Sam Rose ca9491ce67
Surface error message from attachments API to user. 2023-10-30 16:55:57 +00:00
Sam Rose 436d6a1585
Revert frontend changes to filter out file extensions in the upload box. 2023-10-30 14:39:12 +00:00
Sam Rose 6bb6f106d5
Apply valid file types to AttachmentCell. 2023-10-27 16:46:30 +01:00
Sam Rose 45543cbc03
Catch a few more edge cases with column names, add tests for them. 2023-10-27 15:59:31 +01:00
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
mike12345567 31103d6f25 Fixing comment. 2023-09-27 15:51:39 +01:00
mike12345567 bb2892cbc2 Getting client library loading in Webstorm debug, as well as adding accessible roles endpoint. 2023-09-27 14:21:25 +01:00
mike12345567 7bd84bd048 Some typing fixes as well as a fix for the frontend issue of tables not correctly having their schemas updated in the table store when relationships added. 2023-09-26 17:01:30 +01:00
Adria Navarro f4542283f5 Merge branch 'develop' into feature/user-column-type 2023-09-26 11:51:20 +02:00
Adria Navarro 6487d76b1d Merge branch 'develop' into feature/user-column-type 2023-09-25 21:51:43 +02:00
melohagan 9d12fbb3f4 Merge branch 'develop' into budi-6922-the-number-0-cannot-be-displayed-on-input-number-fields-when 2023-09-25 20:01:47 +01:00
Mel O'Hagan 3bae1662ef Null coalesce 2023-09-22 11:35:01 +01:00
Adria Navarro 35f1513e40 Commenting 2023-09-20 12:47:47 +02:00
mike12345567 e8e4dd5c90 Finishing UI - getting API ready. 2023-09-19 13:45:24 +01:00
Adria Navarro a891acc228 Merge pull request #11796 from Budibase/BUDI-7403/data_section_frontend
Data section frontend for the user column
2023-09-19 14:16:52 +02:00
Adria Navarro 752ae0ac2b Handle internal types frontend 2023-09-19 10:06:16 +02:00
Adria Navarro a561e3f4f8 Commenting 2023-09-19 10:04:28 +02:00
Andrew Kingston 3ae5216fd5 Make update forms work with view V2s 2023-09-18 19:07:19 +01:00
Adria Navarro 1c76a77682 Fix relationship cell 2023-09-18 15:23:05 +02:00
Adria Navarro 98a46fa155 Display 2023-09-18 12:22:48 +02:00
Adria Navarro e06d3296b0 Fix deletion 2023-09-18 12:22:48 +02:00
Adria Navarro 79e179d726 Implement search and push 2023-09-18 12:22:48 +02:00
Adria Navarro 45a474f7ea Fix refs 2023-09-18 12:22:48 +02:00
Adria Navarro ae237d3714 Reference cell 2023-09-18 12:22:48 +02:00
Adria Navarro 43bbf8d093 Display icon in column 2023-09-18 12:22:48 +02:00
Andrew Kingston 2f786aa29a Merge branch 'develop' of github.com:Budibase/budibase into global-bindings 2023-09-15 08:11:28 +01:00
Andrew Kingston bd5c6056d8 Update dayjs dependencies to same version and fix import syntax in DateCell 2023-09-15 08:04:17 +01:00
Andrew Kingston 46a9f98fe5 Lint 2023-09-15 08:02:14 +01:00
Adria Navarro 29b2e3b8f1 Handle internal types frontend 2023-09-14 16:06:02 +02:00
Martin McKeaveney 52d1b4d4ff bumping to master version 2023-09-13 13:10:33 +01:00
Martin McKeaveney 9cb35a45eb Merge pull request #11635 from Budibase/fix/daysjs-export-err
Fix daysjs import error
2023-09-12 16:39:01 +01:00
Peter Clement 491d5b2de7 Remove missed reference to developer in user import modal 2023-09-11 16:01:47 +01:00
Andrew Kingston dc70df3a2c Merge branch 'develop' into duplicate-column 2023-09-06 17:00:05 +01:00
Andrew Kingston 32108abbc0 Remove logs 2023-09-06 16:59:30 +01:00
Andrew Kingston 0bda4a1952 Add option to duplicate columns 2023-09-06 16:56:27 +01:00
melohagan 3f1ec54fe9 Relationship picker searching enhancement (#11639)
* Search for initially set value and add to options

* Only append option if needed

* Handle change

* Open dropdown on search

* Avoid duplicates

* Add client side search

* lint

* Offset popover

* refactor

* Refactor

* refactor
2023-09-06 16:38:11 +01:00
José Vte. Calderón b3e2c6334c Merge branch 'develop' into fix/daysjs-export-err 2023-09-06 08:01:43 +02:00
Peter Clement ff8ee8d987 Merge remote-tracking branch 'origin/develop' into fix/per-app-fixes 2023-09-05 10:37:57 +01:00
Peter Clement c16fd53b0a add developer label back and improve invite flow 2023-09-05 09:58:05 +01:00
Peter Clement 6d3a7727eb fixes for perr app builder and refactoring based on comments 2023-09-05 09:25:06 +01:00
Peter Clement 24abd91600 Fix issue around adding of admin users 2023-09-04 09:37:10 +01:00
Adria Navarro a1da8e495c Merge branch 'develop' into BUDI-7393/display_inheritance_permission 2023-09-04 09:53:34 +02:00
Adria Navarro 3e3b965bb3 Rename 2023-09-01 17:03:40 +02:00
Adria Navarro 0dc03abe5f Display dependant info 2023-09-01 17:03:33 +02:00
Rory Powell fc5c63df55 Revert "Fix: Remove unused usage of `@budibase/types` in frontend-core" 2023-08-31 14:49:08 +01:00
jvcalderon 9fb2d89a33 Fix daysjs import error 2023-08-31 15:11:39 +02:00
José Vte. Calderón 67a47bb2f3 Merge branch 'develop' into fix/remove-unused-budibase-types-usage 2023-08-31 13:16:21 +02:00
Rory Powell 1210af3563 Fix: Remove unused usage of `@budibase/types` in frontend-core 2023-08-31 11:12:19 +01:00
Peter Clement 2360e5d8a5 Merge remote-tracking branch 'origin/develop' into feat/per-app-builder-fe 2023-08-31 11:07:39 +01:00
Peter Clement 61e2aad44b remove more reference of developer 2023-08-31 10:59:50 +01:00
Peter Clement ddf9e734f4 pr comments and bug fixes 2023-08-31 10:36:27 +01:00
Adria Navarro 566f9ecd22 Create remove permission js api 2023-08-31 10:53:25 +02:00
Peter Clement 7c8914207b fix invite user flow 2023-08-30 16:43:24 +01:00
Andrew Kingston 63f7fd3bf2 Remove duplicate code for deleting viewId from rows before deletion 2023-08-30 15:50:57 +01:00
Andrew Kingston 230138d540 Fix wrong comment 2023-08-30 15:47:29 +01:00
Peter Clement 2aff73ac25 Update user pages to account for creator role 2023-08-30 10:50:19 +01:00
Peter Clement 6bf343078c update role label to member 2023-08-30 09:05:58 +01:00
Peter Clement ac2389c445 update api to take a per app builder 2023-08-29 14:40:56 +01:00
Adria Navarro ce11a5a852 Lock feature based on ff 2023-08-29 12:47:15 +02:00
Peter Clement d2284c2f0a fix sorting of users and groups 2023-08-25 09:44:29 +01:00
Andrew Kingston c78fcb2ba6 Ensure 'table' type settings are migrated and handled properly. Allow deleting rows from views 2023-08-24 15:50:57 +01:00
Peter Clement d5aa975593 add per app builder support when adding groups 2023-08-24 15:42:32 +01:00
Andrew Kingston 50e3a66f92 Fix notifications in grid block in client apps 2023-08-24 12:26:46 +01:00
Peter Clement 8d5f6cf7af add api for per app builder and help function 2023-08-24 11:38:12 +01:00
Andrew Kingston 4192618bdf Handle missing required columns in views by showing errors 2023-08-23 18:56:04 +01:00
Andrew Kingston e77644ce11 Lint 2023-08-22 11:48:06 +01:00
Andrew Kingston c936304410 Fix grid config store so that schema overrides work 2023-08-22 11:31:25 +01:00
Andrew Kingston c7d1010ce3 Fix resetting sort column when sort column doesn't exist in schema whenever schema is yet to be loaded 2023-08-21 17:49:54 +01:00
Andrew Kingston 59559ee93c Remove log and account for onEmptyFilter in grid button 2023-08-21 16:53:09 +01:00
Andrew Kingston 77f6a6d6c1 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-21 16:38:00 +01:00
Andrew Kingston 5abab4cb62 Update grids to allow filtering and sorting in client lib with V2 views 2023-08-21 16:11:37 +01:00
Andrew Kingston 0566644508 Allow view searching and sorting. Refactor grid logic to fix multiple issuies 2023-08-21 11:56:58 +01:00
Peter Clement d8c95fce19 remove log 2023-08-18 09:54:24 +01:00
Andrew Kingston b5546f8d9b Update server and builder to properly sync changes with tables and views across all users 2023-08-17 16:04:56 +01:00
Andrew Kingston 733a638a99 Remove unnecessary save on first keypress in grids 2023-08-17 12:08:50 +01:00
Andrew Kingston abc072cbbe Fix access control on view searching and handle errors when fetching view definitions 2023-08-16 11:00:14 +01:00
Andrew Kingston c115a87cd6 Add dedicated endpoint for fetching view definitions 2023-08-15 17:07:14 +01:00
Andrew Kingston a6da5fd2bb Update grid socket middleware to support V2 views 2023-08-15 16:55:05 +01:00
Andrew Kingston b53f61228c Throw error when attempting to fetch an individual row from a view 2023-08-15 15:47:26 +01:00
Peter Clement 9ac5f60338 fix column alignment for first column in table 2023-08-15 11:55:33 +01:00
Andrew Kingston 123be842fb Update deleting rows from views 2023-08-14 16:20:16 +01:00
Andrew Kingston 4bfa0d8cb0 Don't throw an error when atempting to update a view that includes non UI metadata overrides 2023-08-14 16:17:30 +01:00
Andrew Kingston 6a7e0d2d31 Refresh view data when showing hidden columns in order to populate new cells 2023-08-14 15:58:14 +01:00
Andrew Kingston d1b3d033dd Fix table resetting state more often than desired 2023-08-14 11:50:30 +01:00
mike12345567 584784edca Lint. 2023-08-11 14:58:09 +01:00
Andrew Kingston a671a85c46 Add WIP updates for view endpoint updates 2023-08-11 13:17:10 +01:00
Andrew Kingston 06810d43d9 Add support for viewV2 datasources in client library 2023-08-09 15:09:53 +01:00
Andrew Kingston 4db33b9d75 Enable pagination on views 2023-08-08 13:13:27 +01:00
Andrew Kingston a72c94426f Hydrate view filters and allow filter changes to be saved to views 2023-08-08 09:29:05 +01:00
Adria Navarro b7dd40eb6a Update view search to be called as a post 2023-08-07 17:21:36 +03:00
Andrew Kingston d5cfc5f53a Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-07 12:52:43 +01:00
Andrew Kingston 9652356ee0 Improve sanity checking of valid datasources to prevent erroneous API calls 2023-08-04 15:26:06 +01:00
Andrew Kingston cd2231630f Improve updating of viewV2 state and restore grid<>builder sync for datasource definitions 2023-08-04 14:54:45 +01:00
melohagan ece1c421fa Fix/formula as display (#11439)
* Allow formulas to be display columns in the grid

* Ensure SQL Server always has a sort order
2023-08-04 13:53:30 +01:00
Andrew Kingston 46f16764db Fix initial sorting state for tables and memoize sorting store to avoid loops 2023-08-04 11:47:06 +01:00
Andrew Kingston f5e5a883cf Enable renaming views and lint 2023-08-03 13:31:44 +01:00
Andrew Kingston 3eeb945934 Split out logic for getting rows from datasources 2023-08-03 13:22:49 +01:00
Andrew Kingston d443bf3616 Split out more datasource specific logic 2023-08-03 13:18:58 +01:00
Andrew Kingston b00f3d2418 Remove log 2023-08-03 11:28:02 +01:00
Andrew Kingston 3e97e299bf Fix sorting for tables 2023-08-03 11:27:33 +01:00
Andrew Kingston e3cf0667be Refactor grid to split up stores and provide better separation of datasource-specific logic 2023-08-03 11:18:19 +01:00
Andrew Kingston 3482ec3d9e Add feature flags to view V2 fetch 2023-08-01 15:34:02 +01:00
Andrew Kingston 1d21b4260a Enable deleting rows through views 2023-08-01 11:21:22 +01:00
Andrew Kingston 9d2b31af54 Enable creating and updating rows through views 2023-08-01 11:16:10 +01:00
Andrew Kingston a8c2cf8c08 Disable collab for views 2023-08-01 10:54:01 +01:00
Andrew Kingston 76eba52999 Animate popovers for header cells and adding columns 2023-08-01 09:25:06 +01:00
Andrew Kingston 0d65d34456 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-01 09:10:31 +01:00
Peter Clement 2ee7cb008b Reworked Column Configuration in the data section (#11379)
* base work for using popover to create and edit columns

* more work to enable editing column in popover

* update styling of column type configs

* add new option picker component

* some updates to how the popover is opened and the new picker

* more updates to support the popover handling correctly

* update the popover to support a custom z index

* some styling around the colour picker

* update naming

* fix lint errors

* fix lint

* update filename

* incremental column numbers based on existing schema

* move func declaration

* add option color object to schema not constraints

* ux / pr comment updates

* undefined var

* fix issue with deleting option

* change background color

* update popove z-index
2023-07-31 14:28:11 +00:00
Andrew Kingston fdfedfdd92 Fix websocket error 2023-07-31 11:21:11 +01:00
Andrew Kingston 8204935dfa Add ability to update views, create views with existing filters and sorting applied 2023-07-30 12:49:07 +01:00
Andrew Kingston c7c9bd6563 Fix row deletion and fetching for tables 2023-07-28 16:01:18 +01:00
Andrew Kingston d83820b583 Fix adding rows 2023-07-28 15:57:35 +01:00
Andrew Kingston 9665ec34dd Adjust grid props and config 2023-07-27 15:53:50 +01:00
Andrew Kingston 24182b3f1b Fix refreshing table definition 2023-07-27 14:22:13 +01:00
Andrew Kingston deb4092cd3 Refactor grid stores and how config is handled 2023-07-27 14:17:26 +01:00
Andrew Kingston 2d3da0dfcf Fix null issues in view fetch, fix edit view popover, improve handling of nullish view params 2023-07-26 14:26:34 +01:00
Andrew Kingston 352b7ebe1c Add dedicated route for routes v1, improve view creation modal, fix selection state 2023-07-26 14:07:07 +01:00
Andrew Kingston 150961fcf2 WIP: split views into separate stores, fix datasource list, use unique data table for views V2 2023-07-26 13:23:31 +01:00
Adria Navarro 25d993cb95 Fix 2023-07-25 15:54:10 +02:00
Adria Navarro 54c3791b25 Use table endpoint for view schema 2023-07-25 15:54:10 +02:00
Adria Navarro 4c3bfdd8b2 Map datasource 2023-07-25 15:54:10 +02:00
Adria Navarro 3a58aa624f Use new schema endpoint 2023-07-25 15:54:10 +02:00
Adria Navarro 0b17d6026a Fix delete 2023-07-25 15:54:10 +02:00
Adria Navarro 48e966d5d6 Fix fetch 2023-07-25 15:54:10 +02:00
Adria Navarro 2c1aae9705 Use full id 2023-07-25 15:54:10 +02:00
Adria Navarro a602dcc5ec Refactor after merge 2023-07-25 15:54:10 +02:00
Adria Navarro 1e9ce06504 Allow deleting views 2 2023-07-25 15:54:10 +02:00
Adria Navarro a9cb838847 Fetch viewV2 2023-07-25 15:54:10 +02:00
Adria Navarro 701772ebd5 Setup api 2023-07-25 15:54:10 +02:00
Adria Navarro 82ea9a7cc1 Setup datasource type 2023-07-25 15:54:10 +02:00
Adria Navarro 95faeea286 datasourceType setup 2023-07-25 15:54:10 +02:00
Rory Powell 5ac024a655 Merge branch 'develop' into feature/offline-license 2023-07-20 12:27:04 +01:00
Martin McKeaveney 8c5177facb Merge pull request #10858 from Budibase/labday/debug-panel
Labday/debug panel
2023-07-18 12:25:37 +01:00
Andrew Kingston d3ab2a31d0 Merge pull request #11186 from Budibase/app-list-improvements
Show all users editing an app in the app list
2023-07-18 08:12:50 +01:00
Andrew Kingston 0ca1850e4a Merge pull request #11176 from Budibase/cheeks-fixes
Grid + collab + tooltip improvements + preview in new tab
2023-07-17 10:17:31 +01:00
Rory Powell 4a38d55ce8 Lint 2023-07-14 16:55:48 +01:00
Adria Navarro 0b5717cde5 Renamings 2023-07-11 10:44:10 +02:00
Adria Navarro 8c8317253a Renames 2023-07-11 10:44:10 +02:00
Adria Navarro d3536e0222 Renames 2023-07-11 10:44:10 +02:00
Adria Navarro fd0018c1bc Download logs section 2023-07-11 10:44:10 +02:00
Adria Navarro bb28d09eab Add logs endpoint 2023-07-11 10:44:09 +02:00
Andrew Kingston b335e492d7 Show all users editing an app in the app list 2023-07-10 17:42:27 +01:00
Andrew Kingston 52cd16f42d Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-07-10 13:05:09 +01:00
Andrew Kingston ca375b7c39 Lint 2023-07-10 11:51:07 +01:00
Andrew Kingston fb35d52ac9 Add temporary tooltip to help creating the first row in grids 2023-07-10 11:23:29 +01:00
Rory Powell 974b7d8514 Integrate UI with identifier API 2023-07-08 13:08:51 +01:00
Andrew Kingston 06876b0ea2 Improve tooltips more by ensuring they follow the target smoothly 2023-07-07 16:03:25 +01:00
Andrew Kingston 62e452dfe7 Update user avatars and selection state for collaboration 2023-07-07 15:45:18 +01:00
melohagan 7a06fcee0f Add BigInt type support (#11145)
* Add BigInt type

* Allow BigInt columns to be added

* Sort fixes

* Add BigInt field
2023-07-07 15:11:41 +01:00
Andrew Kingston 99ef4f2992 Add new temporary tooltip component. Improve tooltips and user avatars 2023-07-07 14:46:41 +01:00
Andrew Kingston 35150af784 Update multiple usages of tooltips to use new tooltip 2023-07-07 12:09:23 +01:00
Andrew Kingston 6aef0f2134 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-07-07 11:33:18 +01:00
Rory Powell bdd431c7e8 Update request body for offline license activation 2023-07-06 22:00:13 +01:00
Martin McKeaveney abce52d846 merge 2023-07-06 21:58:19 +01:00
Rory Powell 1ba3665ed4 Updates to upgrade page to change config based on offlineMode value 2023-07-06 20:47:12 +01:00
Martin McKeaveney f13b5df9f4 code review, moving endpoint 2023-07-06 16:41:45 +01:00
Gerard Burns 808e0d1ef2 Linting improvements (#11119) 2023-07-05 18:00:50 +01:00
Andrew Kingston 75c4b92766 Add new tooltip which is far better 2023-07-05 15:46:07 +01:00
Andrew Kingston 638b537792 Prevent adding rows when no non-autocolumn columns exist 2023-07-05 14:37:43 +01:00
Andrew Kingston 57242840b7 Update tooltips to transition and to use friendly names when possible 2023-07-05 09:10:03 +01:00
Andrew Kingston f3ecbca6b4 Merge branch 'develop' of github.com:Budibase/budibase into design-collab 2023-07-04 10:17:51 +01:00
Andrew Kingston 434585a92d Merge pull request #11123 from Budibase/fix/row-height-setting
Fix grid block row height not working
2023-07-04 09:57:38 +01:00
Andrew Kingston e0e0fcabad Fix grid block row height not working. Change initialRowHeight setting to fixedRowHeight 2023-07-04 09:41:10 +01:00
Peter Clement c504ceca9d solely use notifications store for error message without rowId 2023-07-03 13:29:28 +01:00
Peter Clement 46244b72ac Handle errors in grid when no validation structure in response 2023-07-03 11:50:57 +01:00
Andrew Kingston 4725faf8b5 Update websocket user metadata structures 2023-07-03 11:23:08 +01:00
Andrew Kingston a1a8e74f43 Merge pull request #11049 from Budibase/grid-block-notifications
Grid fixes
2023-06-30 11:30:34 +01:00
mike12345567 d8fae3a348 Adding SQL export functionality and settings tab for SQL databases. 2023-06-28 16:52:45 +01:00
Andrew Kingston 9e089192ef Lint 2023-06-28 09:40:06 +01:00
Andrew Kingston ce004d39d1 Fix grid keybind for submitting new rows not working 2023-06-28 09:26:45 +01:00
Andrew Kingston c7122448e1 Fix notifications not working in grid blocks in client apps 2023-06-28 09:18:01 +01:00
Andrew Kingston 0d8d3a4851 Handle showing errors inside grids 2023-06-27 11:58:10 +01:00
Dean b6caebe431 Merge remote-tracking branch 'origin/develop' into feature/app-settings-section 2023-06-26 15:51:31 +01:00
Andrew Kingston aebc3b2bb8 Merge branch 'develop' of github.com:Budibase/budibase into grid-block 2023-06-26 09:05:06 +01:00
mike12345567 3d3efadb37 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-06-23 15:19:49 +01:00
Andrew Kingston 007b6d605b Merge pull request #10917 from Budibase/fix/datasource-409
Fix datasource conflicts
2023-06-23 11:54:15 +01:00
Andrew Kingston 6d08cedc86 Adjust position of new row FAB when there is no sticky column to look better 2023-06-22 09:26:14 +01:00
Andrew Kingston 194a135183 Reset rows and tick before updating schema when swapping table ID in grids 2023-06-22 09:23:34 +01:00
Andrew Kingston 05bba92b94 Fix not being able to add rows when only a sticky column exists 2023-06-22 09:22:39 +01:00
Andrew Kingston 6d0271ae97 Prevent adding rows when no columns are rendered 2023-06-22 08:26:14 +01:00
Andrew Kingston 50c807e60c Lint 2023-06-22 08:17:28 +01:00
Andrew Kingston bcbeae2279 Rework grid buttons, removing add row and add column buttons, and compression height and width into new size button 2023-06-22 08:16:59 +01:00
Andrew Kingston 0a3dd1a1b4 Remove expand icons from grids 2023-06-21 11:51:23 +01:00
Andrew Kingston 3f20a3a439 Enable collaboration for public users and fix collaboration for non-devs 2023-06-21 08:33:58 +01:00
Andrew Kingston 9d6fbf067f Restore pointer events for unfocused cells 2023-06-20 11:10:23 +01:00
Andrew Kingston c1f7774602 Lint 2023-06-20 09:34:56 +01:00
Andrew Kingston 2df810c59b Update grid context menu position determination to work regardless of page scroll offsets 2023-06-20 09:34:27 +01:00
Andrew Kingston 7486d3dde0 Close context menu when using mouse wheel or menu touching scrollbars 2023-06-20 08:01:41 +01:00
Andrew Kingston 901ba53630 Respect the allowExpandRows flag in when considering if rows can be edited in modals 2023-06-20 07:55:46 +01:00
Andrew Kingston 164bacf783 Lint 2023-06-20 07:42:26 +01:00
Andrew Kingston 757d2d11ef Add functionality to suppress errors to avoid spam in grids in client apps 2023-06-19 18:21:14 +01:00
Andrew Kingston 9942956a06 Invert relationship cells properly when required 2023-06-19 17:57:58 +01:00
Andrew Kingston dda4987848 Improve grid row inversion index calculation 2023-06-19 17:54:06 +01:00
Andrew Kingston 030b767d1b Revert grid row height to default when unsetting prop 2023-06-19 17:42:33 +01:00
Andrew Kingston c03e64699d Only apply row height prop if defined 2023-06-19 17:40:57 +01:00
Andrew Kingston 9d8b5e99af Add column setting to grid 2023-06-19 17:38:44 +01:00
Andrew Kingston d77b2c6ab1 Refactor how grid settings are used and add option for row height 2023-06-19 17:24:40 +01:00
Andrew Kingston 3f3e9fca56 Respect users chosen accent colour in grids 2023-06-19 11:41:09 +01:00
Andrew Kingston f3de39b0c5 Update relationship cell height to be smart and maximise space 2023-06-19 09:54:40 +01:00
Andrew Kingston 68f21274ed Add settings to grid block for filtering and sorting, and refactor grid logic to allow external control of these stores 2023-06-19 09:54:24 +01:00
Andrew Kingston 8fc29cb6dc Add slight border radius to cells which were missing it 2023-06-16 14:54:50 +01:00