Commit Graph

3287 Commits

Author SHA1 Message Date
Andrew Kingston 1509d7d650
Use single number formatter for more performant locale string conversions 2024-10-18 10:44:36 +01:00
Andrew Kingston 18a207f87a
Merge branch 'v3-ui' of github.com:Budibase/budibase into view-calculation-ui 2024-10-18 10:00:49 +01:00
Andrew Kingston 1109e27b04
Display numbers using the locale format in tables 2024-10-18 09:56:35 +01:00
Dean d9deba6337 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-16 15:51:24 +01:00
Andrew Kingston f7f300b251
Merge branch 'feature/role-multi-inheritance' of github.com:Budibase/budibase into new-rbac-ui 2024-10-15 13:43:56 +01:00
Andrew Kingston 9b009f9728
Merge branch 'master' into v3-ui 2024-10-15 11:58:20 +01:00
Andrew Kingston 06413fda58
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-15 11:47:06 +01:00
Martin McKeaveney 109c586b84 remove log 2024-10-15 10:11:46 +01:00
Martin McKeaveney 1d2d096ab0 PR comments 2024-10-15 10:05:03 +01:00
Martin McKeaveney 97a7649930 merging with v3-ui branch 2024-10-14 18:47:13 +01:00
Martin McKeaveney 30215ea9be tests, pr comments 2024-10-14 18:38:34 +01:00
Dean bde3852de2 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-14 14:33:32 +01:00
Andrew Kingston 2b9ca50923
Merge pull request #14790 from Budibase/fix-view-join-parser
Fix view join parser for non-array values any "many" types
2024-10-14 14:31:20 +01:00
Sam Rose da12da6fe1
Merge branch 'master' into update-docker-compose-for-sqs 2024-10-14 14:28:52 +01:00
Andrew Kingston 0ba7f7eeca
Merge pull request #14792 from Budibase/fix-view-queryui-transform
Prevent view queryUI transforms mutating state
2024-10-14 13:15:35 +01:00
Andrew Kingston 4d460c2a46
Don't mutate views when transforming queryUI to make API happy 2024-10-14 12:58:15 +01:00
Andrew Kingston 37e601254c
Fix crash when many-type related column value is non-array 2024-10-14 12:20:53 +01:00
Martin McKeaveney cf8f7db36d PR comments 2024-10-14 11:22:15 +01:00
Dean 3eb604f928 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-14 09:17:39 +01:00
Dean 0624a0b220 Removed unused function reference 2024-10-14 09:17:16 +01:00
Dean 9cfc3d499d Refactored the selectedAutomation derived store to include tree metadata and moved the core doc to a new data attribute. All refs to selectedAutomation updated. Moved the id migration into the selectedAutomation store. Remove bindings from AutomationSetupBlock, moved to StepNode 2024-10-13 22:34:17 +01:00
Andrew Kingston 838f9e9c56
Improve sorting logic 2024-10-11 16:43:24 +01:00
Andrew Kingston 865eb3169f
Allow sorting by calculation columns 2024-10-11 16:38:35 +01:00
Andrew Kingston 516f45e8ad
Re-add deleted code 2024-10-11 16:37:25 +01:00
Andrew Kingston d50e9b83f5
Merge branch 'v3-ui' of github.com:Budibase/budibase into view-calculation-ui 2024-10-11 16:33:58 +01:00
Andrew Kingston bae5640e90
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-10-11 16:33:42 +01:00
Dean 9382ca4c0b Branching UX updates, fix for looping results and general failure results for automations. Added fix for stacking currentItem loop bindings 2024-10-11 16:20:26 +01:00
Adria Navarro b61cdd957e
Merge branch 'master' into remove-related-field-popover 2024-10-11 13:25:48 +02:00
Andrew Kingston 029d0d25e9
Merge branch 'v3-ui' of github.com:Budibase/budibase into view-calculation-ui 2024-10-11 11:11:43 +01:00
Andrew Kingston ba6def8f73
Prevent filtering on calculation fields 2024-10-11 09:28:48 +01:00
Andrew Kingston 8be7f82ccb
Improve view calculation config 2024-10-11 09:27:04 +01:00
Adria Navarro cb31bb7d96 Merge branch 'master' into v3-ui 2024-10-11 10:26:24 +02:00
Adria Navarro 56aaacb437 Lint 2024-10-10 17:12:53 +02:00
Adria Navarro 40966731c9 Remove related fields popover 2024-10-10 16:56:52 +02:00
Adria Navarro ca7f3369af Fix user icons on picker 2024-10-10 16:51:08 +02:00
Adria Navarro 41cd0d96d6 Fix multiple user column icon 2024-10-10 16:43:08 +02:00
Andrew Kingston 1cbae36683
Don't bother fetching data if no calculations defined 2024-10-10 14:52:13 +01:00
Andrew Kingston bd635454ed
Merge branch 'v3-ui' of github.com:Budibase/budibase into view-calculation-ui 2024-10-09 18:53:48 +01:00
Andrew Kingston f4e149fd92
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-09 18:50:28 +01:00
Andrew Kingston 6916269cbb
Fix duplicate API call spam due to incorrect comparison of view filters 2024-10-09 09:59:05 +01:00
Andrew Kingston 0c53272187
Allow empty queries when searching tables 2024-10-09 08:22:54 +01:00
Martin McKeaveney 7b683cfc50 merge and typing 2024-10-08 17:38:23 +01:00
Andrew Kingston d35fce699a
Fix config store 2024-10-08 15:59:21 +01:00
Andrew Kingston 6e0b5341b1
Handle lack of IDs from calculation views 2024-10-08 15:54:42 +01:00
Andrew Kingston 3e86e02656
Add support for creating and displaying calculation views 2024-10-08 14:27:44 +01:00
Martin McKeaveney d5324388d6 allow regeneration of AI columns from context menu 2024-10-04 17:20:30 +01:00
Andrew Kingston 0f95c8a1c9
Merge branch 'v3-ui' of github.com:Budibase/budibase into view-calculation-ui 2024-10-04 09:27:36 +01:00
Andrew Kingston e4900e27bb
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-03 15:50:22 +01:00
Michael Drury 97b799f9db
Merge pull request #14694 from Budibase/view-merge-v3-ui
View changes - merge to V3 UI branch
2024-10-03 15:09:33 +01:00
Andrew Kingston f7318b15d4
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-03 11:23:02 +01:00
Andrew Kingston ade2ed5a05
Merge pull request #14635 from Budibase/default-values-options
Default values for options and array types (frontend)
2024-10-03 10:26:42 +01:00
Martin McKeaveney 2dff149aa9 lint 2024-10-02 22:36:36 +01:00
mike12345567 932413c4c1 Getting re-loading of view queries working again. 2024-10-02 18:57:40 +01:00
mike12345567 2fed6008fa Updating view stores. 2024-10-02 18:41:27 +01:00
Martin McKeaveney 2b322f6f1d merge from v3 2024-10-02 17:01:07 +01:00
Martin McKeaveney c70bd87ac2 merge with master 2024-10-02 16:52:00 +01:00
Martin McKeaveney c1a86433c1 don't backfill old rows on AI column creation 2024-10-02 16:49:04 +01:00
Martin McKeaveney 2c5fe77740 don't run over all historical cells 2024-10-02 16:11:52 +01:00
Andrew Kingston 66f6e91245
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-10-02 16:08:54 +01:00
Andrew Kingston ce07aa98d2
Make collapsed buttons in grids CTAs 2024-10-02 11:11:47 +01:00
Andrew Kingston f6d937fda5
Merge branch 'v3-ui' of github.com:Budibase/budibase into default-values-options 2024-10-02 10:19:37 +01:00
Dean 2884ac4638 Merge remote-tracking branch 'origin/master' into v3-ui 2024-10-02 09:21:00 +01:00
Martin McKeaveney c4a6a92bdb PR comments 2024-10-01 17:03:06 +01:00
Martin McKeaveney b3afbd57be longform text 2024-10-01 16:55:20 +01:00
Martin McKeaveney 2d21afbe10 rough v1 2024-10-01 12:52:11 +01:00
Andrew Kingston 930dd812cc
Add uiMetadata to viewv2 2024-10-01 10:59:48 +01:00
Martin McKeaveney e281250569 ai cron helper E2E 2024-09-30 14:00:12 +01:00
Andrew Kingston adfe467329
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-09-30 08:21:36 +01:00
Andrew Kingston d09cbc4029
Merge branch 'master' of github.com:Budibase/budibase into v3-ui 2024-09-30 08:19:19 +01:00
Adria Navarro fdfa451124 More verbose reduce params 2024-09-27 11:23:50 +02:00
Adria Navarro f73cf5983a Hide column 2024-09-27 11:14:32 +02:00
Adria Navarro 64f4497c76 Prevent flashed while sorting 2024-09-27 11:02:00 +02:00
Adria Navarro 3e294c3cb9 Don't allow related fields in sort button 2024-09-26 21:15:14 +02:00
Adria Navarro aa044b94cf Don't allow sort columns as display or sorting 2024-09-26 21:09:47 +02:00
Adria Navarro d7715e4f5c Don't allow related columns as display or sorting 2024-09-26 17:00:44 +02:00
Adria Navarro ee962380b3 Handle undefined properly 2024-09-26 16:19:38 +02:00
Adria Navarro f53664a694 Fix null references 2024-09-26 14:15:08 +02:00
Adria Navarro 031bdcfeb5 Display signatures 2024-09-26 13:41:54 +02:00
Adria Navarro 0c44f58466 Fix attachment undefined references 2024-09-26 13:33:14 +02:00
Adria Navarro 680cf5803d Fix formattings 2024-09-25 18:17:55 +02:00
Adria Navarro 7f5f4d9ecb Handle unique values 2024-09-25 18:10:23 +02:00
mike12345567 5b11aa6ff6 Merge branch 'master' of github.com:Budibase/budibase into update-docker-compose-for-sqs 2024-09-25 16:57:08 +01:00
Adria Navarro d68a2ac41e Display signatures 2024-09-25 17:48:33 +02:00
Adria Navarro cbd82bcf6a Format strings 2024-09-25 17:42:21 +02:00
Adria Navarro 58a51207f3 Display multi boolean 2024-09-25 17:31:16 +02:00
Adria Navarro 863ff4d9f9 Format dates 2024-09-25 17:29:44 +02:00
Adria Navarro 337ac90906 Move and unify code 2024-09-25 16:39:13 +02:00
Adria Navarro 33f42e10bd Typings 2024-09-25 14:20:52 +02:00
Adria Navarro c351a9bced Fix icons 2024-09-25 13:11:25 +02:00
Adria Navarro 7dc54b3f26 Simplify parsing 2024-09-25 12:49:51 +02:00
Adria Navarro b9c3838312 Handle single 2024-09-25 12:49:51 +02:00
Adria Navarro a998e46014 Remove duplicates 2024-09-25 12:49:51 +02:00
Adria Navarro 33a5075f10 Map values 2024-09-25 12:49:51 +02:00
Adria Navarro 7f6236852e Clean deprecated code 2024-09-25 12:49:51 +02:00
Adria Navarro 6096f106b3 Handle resize all 2024-09-25 12:49:51 +02:00
Adria Navarro b7b932788b Handle reordering 2024-09-25 12:49:51 +02:00
Adria Navarro d4555c00d4 Fix resize 2024-09-25 12:49:51 +02:00
Adria Navarro 48f4dceddc Link 2024-09-25 12:49:51 +02:00
Adria Navarro 4e83daf5d9 Allow selecting columns in design 2024-09-25 12:49:51 +02:00
Adria Navarro 083e6ae15b Enrich at schema level 2024-09-25 12:49:51 +02:00
Adria Navarro 6d8505cee6 Add tablecolumns 2024-09-25 12:49:51 +02:00
Adria Navarro eed82075fd Enrich visible columns 2024-09-25 12:49:51 +02:00
Adria Navarro 488165d859 Lint 2024-09-25 12:49:51 +02:00
Adria Navarro e9db3d64e7 Extra enrichement 2024-09-25 12:49:51 +02:00
Adria Navarro 4aa9e08ec5 Don't show non visible even if previously configured 2024-09-25 12:49:51 +02:00
Adria Navarro d799bfacb6 Readonly 2024-09-25 12:49:51 +02:00
Adria Navarro 8ee6e52f08 Use types 2024-09-25 12:49:51 +02:00
Adria Navarro 5519088376 Display related 2024-09-25 12:49:51 +02:00
Adria Navarro 77587c8686 Add related columns 2024-09-25 12:49:51 +02:00
Andrew Kingston f493025d94
Ensure schema is sanitised when updating primary display column 2024-09-24 14:47:53 +01:00
Andrew Kingston 376ac1c04b
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-09-23 11:45:21 +01:00
Andrew Kingston 2d1662c0c7
Allow views to refresh individual rows after executing row actions 2024-09-20 15:50:08 +01:00
Andrew Kingston e621cfca71
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-09-20 15:04:22 +01:00
Andrew Kingston f34261a9b7
Lint 2024-09-20 14:05:03 +01:00
Andrew Kingston 72c8ff9fa7
Update view handling of filters 2024-09-20 13:59:50 +01:00
Andrew Kingston 4bd4cb57f8
Undo accidental UI change 2024-09-17 16:34:47 +01:00
Andrew Kingston fd3c8c4a11
Make view readonly columns available for free 2024-09-17 16:34:00 +01:00
Dean 7f3d88265e Allow passing no query to the search API. 2024-09-17 11:18:32 +01:00
Dean 7e37420c97 Lint 🫠 2024-09-16 15:48:55 +01:00
Dean 6b610bd982 Change query defaulting behaviour 2024-09-16 15:28:49 +01:00
Dean e0d2c70611 PR feedback 2024-09-16 12:46:21 +01:00
Andrew Kingston 2849a7a4ff
Add uiMetdata prefix to roles everywhere 2024-09-13 14:03:21 +01:00
Dean 627e7fc799 Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-13 12:06:54 +01:00
Andrew Kingston 46c83353d9
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-09-13 10:42:07 +01:00
Andrew Kingston ab018ced1f
Merge branch 'v3-ui' of github.com:Budibase/budibase into v3-ui 2024-09-13 10:39:33 +01:00
Andrew Kingston e47d25cb48
Fix role updating and add custom role type to grid 2024-09-11 16:20:23 +01:00
Andrew Kingston a81d9c6dd1
Add display name, color and descriptions to roles. Allow row CRUD via new UI 2024-09-11 15:42:05 +01:00
Dean ae8bd22253 Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-11 12:46:47 +01:00
Conor Webb 793f8a7ca7
Merge branch 'master' into Fix-user-access-roles-from-displaying-business 2024-09-11 09:59:55 +01:00
Andrew Kingston c6e4c782b9
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-data-ui 2024-09-11 08:57:52 +01:00
Dean fac39b2ede Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-10 11:07:02 +01:00
Dean e389bd8121 Fix for resetting the default config when the groups are cleared 2024-09-10 09:51:34 +01:00
Dean 162d0d0c7e Clean up dead code and improve behaviour when emptying filter config 2024-09-10 09:08:43 +01:00
Dean 1d3130f8cc Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-09 16:51:00 +01:00
Dean ca5891b88b Lint 2024-09-09 16:48:32 +01:00
Dean 11b146fcbf Updates to filter UI and API requests across budibase 2024-09-09 16:36:31 +01:00
Adria Navarro d4b866b9bc
Merge branch 'master' into BUDI-8565/enrich-views 2024-09-09 16:30:05 +02:00
Adria Navarro 26db79d421 Remove cache dependency 2024-09-09 16:24:20 +02:00
Adria Navarro 5b85b77a29
Merge branch 'master' into BUDI-8560/fix-relationships-with-many-columns 2024-09-09 16:09:15 +02:00
Adria Navarro 725aa18060 Fix long popover for relationship column pickers 2024-09-09 16:05:09 +02:00
Adria Navarro bb3dd6e27a Fix relationship popover click behaviour 2024-09-09 15:23:06 +02:00
Andrew Kingston df54d5dd2b
Lint 2024-09-09 12:21:52 +01:00
melohagan 2f13773240
Add old roles (#14538) 2024-09-09 10:46:08 +00:00
Andrew Kingston 028dc40a0d
Update form block autoscreens to render buttons at bottom and include quiet row action buttons 2024-09-09 11:35:43 +01:00
Andrew Kingston 61b82b8817
Add quiet reverse button variant for collapsed button groups in grids 2024-09-06 09:20:00 +01:00
Andrew Kingston da6ce2256a
Fix issue with button column width and allow collapsed button groups to use a secondary variant 2024-09-05 16:46:55 +01:00
Andrew Kingston 238b1cecf1
Highlight row action row rather than select 2024-09-04 11:28:49 +01:00
Andrew Kingston 07df8157b3
Update data section background colours for a better loading experience 2024-09-04 11:20:31 +01:00
Andrew Kingston 409580c787
Fix issue preventing initial click of deleting relationship from working when relationship popover is open 2024-09-04 09:49:34 +01:00
Andrew Kingston 54e09267f1
Only show hover state in relationship badges when fields are available to show 2024-09-04 09:35:56 +01:00
Andrew Kingston b067b8ad54
Update relationship popover styles and position 2024-09-04 09:19:51 +01:00
Andrew Kingston ea7d9d722d
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-04 08:55:15 +01:00
Andrew Kingston 53ff7e1167
Add new builder store for row action CRUD, ensuring consistent state everywhere 2024-09-03 18:58:22 +01:00
Dean 0f3e39dcfc Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-03 17:19:33 +01:00
Dean 7703da159d Merge commit 2024-09-03 17:16:49 +01:00
Andrew Kingston 0e6d903c74
Select row when opening row actions popover 2024-09-03 15:14:40 +01:00
Andrew Kingston 789df301cb
Enable renaming row actions and improve row actions in grids 2024-09-03 15:05:13 +01:00
Adria Navarro 773b4f1050
Merge pull request #14482 from Budibase/BUDI-8561/display-relationship-fields
Display relationship fields
2024-09-03 14:05:27 +02:00
Adria Navarro 00f8f386d3 PR comments 2024-09-03 11:15:47 +02:00
Andrew Kingston 232a2829d2
Add UI for controlling row actions on views, and add support for view row actions in button actions 2024-09-03 10:09:07 +01:00
Andrew Kingston b37a4cb0c9
Lint 2024-09-03 08:49:49 +01:00
Adria Navarro 156b70f9ef Use "filter: brightness" instead of "::before" 2024-09-02 16:02:14 +02:00
Adria Navarro d1c1e467a7 line-clamp 2024-09-02 15:55:58 +02:00
Adria Navarro 86ea50a8d6 Add minwidth 2024-09-02 15:49:27 +02:00
Adria Navarro 0da0145dba Formatting 2024-09-02 15:48:36 +02:00
Adria Navarro 42a2eec439 Display relationship fields on relationship focus only 2024-09-02 15:40:58 +02:00
Andrew Kingston 51cbced119
Add common collapsed button group and use it for row actions and client button groups. Add collapsed settings to grids and form blocks 2024-09-02 11:44:49 +01:00
Andrew Kingston d8b6d10dce
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-02 10:17:56 +01:00
Adria Navarro 9dc9224b65 Add hover effect 2024-09-02 11:14:13 +02:00
Adria Navarro c70f2c2fe2 Use reactivity 2024-09-02 10:37:46 +02:00
Andrew Kingston fae897f468
Allow button groups to be collapsed 2024-09-02 09:31:19 +01:00
Dean 8eb5734102 Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-02 09:02:41 +01:00
Dean df038417b5 Merge commit 2024-09-02 09:02:28 +01:00
Andrew Kingston 2d52eff96f
Update button column to account for ability to add rows 2024-09-02 08:47:15 +01:00
Andrew Kingston c5e27b860f
Add row actions to tables in data section 2024-09-02 08:45:49 +01:00
Adria Navarro 3d1c861222
Merge branch 'master' into feat/pick-relationship-fields 2024-08-31 20:24:00 +02:00
melohagan 3f357561d0
The UI should indicate who the account holder is (#14470)
* Get tenantInfo in user fetch

* Add account holder label in users table

* Don't allow account holder to be selected in users table

* Sort account holder to top of list

* Only use account holder role in users table

* lint

* Remove joi validation from tenant-info endpoint

* Remove dayPasses

* Catch CouchDB 404 and return undefined

* Don't allow account holder role to be changed UI

* Don't offer delete option for tenant owner

* Backend validation to ensure account holder role cannot be updated

* Don't allow account holder role to be changed UI

* Get tenantOwner in separate call

* Pass data into SelectEditRenderer

* Rename var to __selectable

* setEnrichedUsers

* Update pro reference

* Only load tenantOwner once
2024-08-30 16:29:38 +00:00
Adria Navarro 31388aec91 Change paddings 2024-08-30 14:25:32 +02:00
Adria Navarro e9940ce43e Hide undefineds 2024-08-30 14:21:14 +02:00
Adria Navarro d8744e1b72 Change padding 2024-08-30 14:02:47 +02:00
Adria Navarro 9f414c5148 Honor relationship columns 2024-08-30 14:00:34 +02:00
Adria Navarro f1fdbe3908 Don't show popover when focused 2024-08-30 13:44:59 +02:00
Adria Navarro 00f6f84b35 Display popover 2024-08-30 13:38:36 +02:00
Adria Navarro de29d31c35 Enrich configuration only for views 2024-08-29 13:16:27 +02:00
Adria Navarro 8a2bc639ea Flag checks on frontend 2024-08-27 16:21:32 +02:00
Adria Navarro ca0ea3faf8 Don't show primary display 2024-08-27 15:07:09 +02:00
Adria Navarro 76ae3a1331 Display relationship header 2024-08-27 15:07:09 +02:00
Adria Navarro 1bf0f933f0 Split between addSchemaMutation and addSubSchemaMutation 2024-08-27 15:07:08 +02:00
Adria Navarro 6301b9de4c Tidy 2024-08-27 15:07:08 +02:00
Adria Navarro a63d193a3c Fix flashes 2024-08-27 15:07:08 +02:00
Adria Navarro cdead18402 Get isDisplay and field type from table 2024-08-27 15:07:08 +02:00
Adria Navarro 2ee356692e Don't show chevron for hidden fields 2024-08-27 15:07:08 +02:00
Adria Navarro 6c70d09fc2 Mutate properly 2024-08-27 15:07:08 +02:00
Adria Navarro 82c0f6f076 Use data from the backend 2024-08-27 15:07:08 +02:00
Adria Navarro 81d89cf4ef Handle onclose 2024-08-27 15:07:08 +02:00
Adria Navarro 11ffff377b Don't show hidden fields 2024-08-27 15:07:08 +02:00
Adria Navarro 643210f3aa Update/fetch nested settings 2024-08-27 15:07:07 +02:00
Adria Navarro 97a44a8162 Persist nested mutation 2024-08-27 15:07:07 +02:00
Adria Navarro 9d139e0ff4 Tooltips 2024-08-27 15:07:07 +02:00
Adria Navarro 6413d89cf1 Tooltips & disableds 2024-08-27 15:07:07 +02:00