Commit Graph

13152 Commits

Author SHA1 Message Date
Andrew Kingston bb0fad8c9a
Use 'app users' for users table title in new view nav bar 2024-09-18 11:48:50 +01:00
Martin McKeaveney 2cf07a40f6 fix for setting default configs 2024-09-18 09:44:33 +01:00
Andrew Kingston ba1cb32745
Merge branch 'v3-ui' of github.com:Budibase/budibase into v3-ui 2024-09-17 16:38:49 +01:00
Andrew Kingston c2116e3721
Remove deprecated view access feature from builder store 2024-09-17 16:38:34 +01:00
Andrew Kingston fd3c8c4a11
Make view readonly columns available for free 2024-09-17 16:34:00 +01:00
Dean d792adbaba Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-17 12:42:59 +01:00
Dean 77b282ab77 Merge remote-tracking branch 'origin/master' into v3-ui 2024-09-17 09:41:17 +01:00
Andrew Kingston 93751f3915
Lint 2024-09-16 15:09:15 +01:00
Andrew Kingston 7406812b18
Lint 2024-09-16 15:01:08 +01:00
Andrew Kingston 3e2fdee186
Remove logs 2024-09-16 14:59:33 +01:00
Andrew Kingston c9c6d410c7
Wait for server changes before updating state 2024-09-16 14:55:40 +01:00
Andrew Kingston 1eee556bee
Fix issues with multi selectioni 2024-09-16 13:51:29 +01:00
Andrew Kingston 518f29030f
Fix edge issue 2024-09-16 13:47:57 +01:00
Andrew Kingston e7916c55f7
Some style updates 2024-09-16 13:42:47 +01:00
Andrew Kingston d61594d74e
Refactor RBAC flow and use selected states more 2024-09-16 13:31:36 +01:00
Dean e0d2c70611 PR feedback 2024-09-16 12:46:21 +01:00
Andrew Kingston d23d4156c3
Lint 2024-09-16 12:17:12 +01:00
Andrew Kingston c634cfdeac
Simplify and rewrite some flow logic 2024-09-16 12:15:17 +01:00
Andrew Kingston a120a9c97a
Add multi user sync for roles 2024-09-16 09:40:52 +01:00
Andrew Kingston bf10b4cd9d
Lint 2024-09-16 09:26:31 +01:00
Peter Clement 70b9d08516 lint 2024-09-13 16:10:38 +01:00
Peter Clement 59549b74b5 js scripting edge case 2024-09-13 16:04:13 +01:00
Peter Clement 04daa423cf small fix for edge case 2024-09-13 16:03:37 +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
Peter Clement c980742081 Merge remote-tracking branch 'origin/master' into feat/automation-step-naming-updates 2024-09-13 12:04:48 +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
Peter Clement 7d6cce20e9 fix getAvailableBindings again, aka my personal hell 2024-09-12 21:02:50 +01:00
Andrew Kingston 63dd73f7b6
Update RBAC editor edges to explain what action the delete icon will take 2024-09-12 16:56:25 +01:00
Andrew Kingston dded09ca97
Update RBAC editor to use a grid and make all dimensions consistent with grid 2024-09-12 16:51:36 +01:00
Andrew Kingston 87206b1c43
Update node spacing 2024-09-12 16:11:37 +01:00
Andrew Kingston d4451a487c
Increase max auto zoom and add more constants 2024-09-12 16:09:37 +01:00
Andrew Kingston d80d38196f
Update styles of handles and edges 2024-09-12 15:53:25 +01:00
Dean 46cc9a074b Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-12 15:02:07 +01:00
Dean 1454e52509 Merge remote-tracking branch 'origin/master' into v3-ui 2024-09-12 15:01:23 +01:00
Andrew Kingston 6f9175168b
Add custom RBAC edges with inline deletion icon 2024-09-12 12:23:27 +01:00
Conor Webb 423f76950f
Merge branch 'master' into Fix-user-access-roles-from-displaying-business 2024-09-12 11:10:57 +01:00
Andrew Kingston 35bdc998ca
Fix roles store update 2024-09-12 10:33:30 +01:00
Andrew Kingston 0a627e6cf5
Add validation to editing roles 2024-09-11 19:24:22 +01:00
Andrew Kingston f6852d5331
Update some other portal components to use new role metadata 2024-09-11 17:00:41 +01:00
Andrew Kingston 8a7af78c48
Remove legacy stuff 2024-09-11 16:52:20 +01:00
Andrew Kingston 6419829484
Update other usages of roles to use new metadata 2024-09-11 16:51:36 +01:00
Andrew Kingston dc0f93e314
Update design section to use new role metadata 2024-09-11 16:36:03 +01:00
Andrew Kingston aa75fca377
Update user side panel to account for new role metadata 2024-09-11 16:33:19 +01:00
Andrew Kingston 7e6f1407fe
Ensure roles always have new metadta and update access popover 2024-09-11 16:30:17 +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 0fd38927e2
Remove log 2024-09-11 15:56:04 +01:00
Andrew Kingston de7604f8fd
Fix role CRUD 2024-09-11 15:55:48 +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
Peter Clement a68552f038
Merge branch 'master' into feat/automation-step-naming-updates 2024-09-11 15:07:09 +01:00
Martin McKeaveney 2e83b9a34d add import 2024-09-11 14:53:51 +01:00
Andrew Kingston a5520a973c
Use display names and allow descriptions to be edited 2024-09-11 13:11:41 +01:00
Andrew Kingston 9f0c160bfa
Add deleted permissions file, update auto layout 2024-09-11 13:06:07 +01:00
Dean ae8bd22253 Merge remote-tracking branch 'origin/v3-ui' into feature/builder-filtering-update 2024-09-11 12:46:47 +01:00
mike12345567 c0b38b74e0 Merge branch 'master' of github.com:Budibase/budibase into feature/builder-filtering-update 2024-09-11 12:23:06 +01:00
Conor Webb 4804c55313
Merge branch 'master' into Fix-user-access-roles-from-displaying-business 2024-09-11 11:54:53 +01:00
Peter Clement 27b65e22ef fix error with updating existinh name count 2024-09-11 11:54:42 +01:00
Andrew Kingston 87dca3d11d
Merge branch 'master' into v3-ui 2024-09-11 11:50:41 +01:00
Peter Clement ce08ce29b7
Merge branch 'master' into feat/automation-step-naming-updates 2024-09-11 11:36:00 +01:00
Peter Clement bf98d61ea6 add tests for new binding update code 2024-09-11 11:35:46 +01:00
Conor Webb 8a5d0560eb Fixed PlanType typo 2024-09-11 10:01:20 +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 f1aca4c7df
Merge branch 'v3-ui' of github.com:Budibase/budibase into new-rbac-ui 2024-09-11 09:45:39 +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
Andrew Kingston 2d23eaee5e
Remove empty file 2024-09-11 08:52:51 +01:00
Andrew Kingston 5be3fe2722
Remove screens and automations button from users table 2024-09-11 08:45:07 +01:00
Andrew Kingston 3295d90b0f
Update mapping of roles to new flow structure 2024-09-11 08:43:19 +01:00
Peter Clement abaa40a272 automation steps using names 2024-09-10 17:09:42 +01:00
Andrew Kingston d8dc8744a9
Add ability to update roles 2024-09-10 16:44:50 +01:00
Martin McKeaveney c6907eb09e fix types 2024-09-10 16:41:44 +01:00
Andrew Kingston dd98364a5d
Improve RBAC flow chart 2024-09-10 16:26:32 +01:00
Martin McKeaveney 2eb53c018a sort settings pages 2024-09-10 15:19:41 +01:00
Martin McKeaveney 44a76d6730 add anthropic baseURL 2024-09-10 15:12:15 +01:00
Martin McKeaveney 933ca952d2 lint 2024-09-10 14:50:17 +01:00
Andrew Kingston 3c158c5357
Add initial version of new RBAC editor 2024-09-10 13:30:49 +01:00
Dean 5cc8433773 Builder test fixes 2024-09-10 11:05:49 +01:00
Martin McKeaveney 0cf626be91 Merge 2024-09-10 11:00:33 +01:00
Martin McKeaveney 4fed5787ac review comments 2024-09-10 10:54:50 +01:00
Andrew Kingston 9da84b19f9
Add scaffolding for new role editor modal 2024-09-10 09:11:52 +01:00
Andrew Kingston 608bc97cdd
Update access button 2024-09-10 08:46:26 +01:00
Martin McKeaveney 8b26ab422f remove conditional chain 2024-09-09 18:19:10 +01:00
Martin McKeaveney 96fbc8fff0 feature flag support 2024-09-09 18:07:47 +01:00
Andrew Kingston 4fd74c3a19
Add new access selection UI for tables and views 2024-09-09 17:04:02 +01:00
Martin McKeaveney b4a4f81308 linting 2024-09-09 16:52:56 +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
Martin McKeaveney 57698170a8 lint 2024-09-09 13:55:26 +01:00
Andrew Kingston 714d05a9d2
Request new name for row actions rather than autonaming 2024-09-09 12:36:03 +01:00
Andrew Kingston df54d5dd2b
Lint 2024-09-09 12:21:52 +01:00
Andrew Kingston 624e13a49c
Add row action buttons to table autoscreens 2024-09-09 12:15:25 +01: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 902112d5a7
Update form screen templates to include row actions and use a form block instead of multi step form block 2024-09-07 19:02:36 +01:00
Andrew Kingston 6172fddc40
Improve button action templates and remove broken focus functionality 2024-09-06 16:19:08 +01:00
Martin McKeaveney 891f736815 unit tests for secrets mapping 2024-09-06 15:37:09 +01:00
Martin McKeaveney cdb0e2509c testing configuration, unit tests for AI config 2024-09-06 14:53:26 +01:00
Dean b84c2e2adb Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-06 12:12:59 +01:00
Andrew Kingston 5de81c624f
Expose refresh datasource action from form blocks and add row action button templates 2024-09-06 11:16:27 +01:00
melohagan 528a21643c
Fix: unable to upgrade plan (#14527)
* Don't allow admin users to select themselves

* Disable upgrade button for non account holders
2024-09-06 08:01:05 +00:00
Andrew Kingston 5b6809b913
Fix tests 2024-09-04 15:41:10 +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 db9822fa64
Lint 2024-09-04 09:51:26 +01:00
Andrew Kingston 857122f99e
Remove unnecessary API calls when showing or hiding columns 2024-09-04 09:32:14 +01:00
Andrew Kingston c8660da7d0
Update relationship column popover chevron to show active state when open 2024-09-04 09:22:06 +01:00
Martin McKeaveney 9f75f2a9fc account for setting a default config and unset the rest 2024-09-04 09:22:00 +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 6ce481c08f
Fix issue triggering row actions from data UI 2024-09-04 08:40:37 +01:00
Andrew Kingston 26b5784345
Fix navigation to new row actions not working 2024-09-03 20:10:46 +01:00
Andrew Kingston 7db263dd3b
Go to newly created row actions 2024-09-03 20:05:14 +01:00
Andrew Kingston e0c4273acf
Don't wait for things we don't care about 2024-09-03 19:56:32 +01:00
Martin McKeaveney 4d873ae75e cleaner select options for managing models 2024-09-03 19:51:53 +01:00
Martin McKeaveney d3b90a0253 initial impl of default Budibase AI config through env vars 2024-09-03 19:47:36 +01:00
Andrew Kingston 872446e524
Replace other usages of manual row actions API calls with store usage 2024-09-03 19:47:12 +01:00
Martin McKeaveney be4b6aaceb adding config for azure openai and more customisation for custom ai models 2024-09-03 19:19:33 +01:00
Martin McKeaveney 0d5e776424 preserve apikeys on save 2024-09-03 19:12:13 +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
Martin McKeaveney 378ccb6e70 switch name and description 2024-09-03 18:52:33 +01:00
Martin McKeaveney 50d64de72a styling updates 2024-09-03 18:51:45 +01:00
Dean 0f3e39dcfc Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-03 17:19:33 +01:00
Martin McKeaveney 43135e4274 AI Config CRUD complete 2024-09-03 17:18:46 +01:00
Martin McKeaveney ca4b17bc9b icons, styling of AI configs and further simplification 2024-09-03 15:11:52 +01:00
Andrew Kingston 789df301cb
Enable renaming row actions and improve row actions in grids 2024-09-03 15:05:13 +01:00
Andrew Kingston 7d5e884a8f
Fix row action count for views 2024-09-03 11:50:20 +01:00
Andrew Kingston 2a02298ac2
Auto select first available row action 2024-09-03 10:56:38 +01: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 4b367bf505
Add row action button actions 2024-09-03 09:06:12 +01:00
Dean 7dbc45ec82 Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-03 09:04:35 +01:00
Andrew Kingston fcfcc503e0
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-03 08:50:04 +01:00
Andrew Kingston b37a4cb0c9
Lint 2024-09-03 08:49:49 +01:00
Martin McKeaveney f328ae4bf9 account for arrays 2024-09-02 20:45:32 +01:00
Martin McKeaveney 67d5219f75 basic crud working 2024-09-02 20:20:58 +01:00
Martin McKeaveney 99035ad8ae rough pass on AI platform CRUD 2024-09-02 20:16:58 +01:00
Andrew Kingston 3b827c35a2
Add collapsed button option to multistep form block 2024-09-02 16:30:14 +01:00
Martin McKeaveney 1a57e37d38 initial framework for platform AI 2024-09-02 15:22:33 +01:00
Adria Navarro fc3684c73c
Merge branch 'master' into feat/pick-relationship-fields 2024-09-02 16:05:17 +02:00
mikesealey ee50012775 tweaks z-index to show preview above bindings drawer 2024-09-02 13:37:36 +01: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
Sam Rose 3a516e8356
Merge branch 'master' into budi-8435-remove-auto-columns-for-created-by-and-created-at 2024-09-02 11:13:11 +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
Andrew Kingston fae897f468
Allow button groups to be collapsed 2024-09-02 09:31:19 +01:00
Martin McKeaveney f7b2c77be4
Merge branch 'master' into poc-authenticated-iframe 2024-09-02 09:08:20 +01:00
Dean 8eb5734102 Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-02 09:02:41 +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 fc367476c1
Make sure setEnrichedUsers is called when tenantOwnerLoaded (#14491) 2024-08-30 17:40:43 +00:00
Martin McKeaveney d5f58fc6c8 merge 2024-08-30 18:08:40 +01:00
Sam Rose 955a3a6883
Merge branch 'master' into budi-8435-remove-auto-columns-for-created-by-and-created-at 2024-08-30 17:47:36 +01: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
Sam Rose 7cbfd7be84
Disable creation of createdAt and createdBy auto columns when default values is enabled. 2024-08-30 15:58:11 +01:00
Adria Navarro 64c2a18934
Merge branch 'master' into feat/pick-relationship-fields 2024-08-30 14:45:01 +02:00
melohagan 4d9f87e4c4
Set password to 12 characters (#14478) 2024-08-30 09:16:16 +00:00
Adria Navarro de29d31c35 Enrich configuration only for views 2024-08-29 13:16:27 +02:00
Martin McKeaveney 8e40e98b6a merge 2024-08-28 16:54:51 +01:00
Martin McKeaveney b3f51e2766 PR comments 2024-08-28 16:49:00 +01:00
Adria Navarro c531084921 Lint 2024-08-27 16:27:50 +02:00
Adria Navarro 8a2bc639ea Flag checks on frontend 2024-08-27 16:21:32 +02:00
Adria Navarro b92adecb53 Display chevron 2024-08-27 15:07:06 +02:00
Dean e3db876ab7 Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-08-27 09:02:45 +01:00
Andrew Kingston 9fc837b04a
Reduce spacing in new screen modal 2024-08-23 15:11:25 +01:00
Andrew Kingston a11e2082f9
Lint 2024-08-23 14:39:00 +01:00
Andrew Kingston c694b07ff4
Standardise hover and selected states between action buttons and icons in view nav bar 2024-08-23 14:38:08 +01:00
Andrew Kingston f8e68a54cf
Merge branch 'new-data-ui' of github.com:Budibase/budibase into new-data-ui 2024-08-23 14:30:32 +01:00
Andrew Kingston 304c6fb58a
Lint 2024-08-23 14:30:22 +01:00
Andrew Kingston f8b7bcb802
Merge branch 'master' into new-data-ui 2024-08-23 14:27:45 +01:00
Andrew Kingston 57da6d8cac
Update create view button to be a popover instead of modal 2024-08-23 14:10:23 +01:00
Andrew Kingston 8d87395a98
Fix a few edge cases with v1 views 2024-08-23 13:41:35 +01:00
Andrew Kingston 0dd432f286
Add support for old views in new view nav bar 2024-08-23 13:34:36 +01:00
Andrew Kingston 51decfa58d
Update wording 2024-08-23 13:00:12 +01:00
Dean 3c2cb3dda1 Simplify the approach to leave change behaviour as it is and leave persistence to the close behaviour 2024-08-23 12:24:22 +01:00
Andrew Kingston bf998f6e6c
Add complete generation popover with both automation and screen generation 2024-08-23 12:00:19 +01:00
Andrew Kingston 495c01c1a2
Allow generating screens from the data section 2024-08-23 11:19:56 +01:00
Dean b9c685b83b Changed the CodeEditorModal to trigger a change when closing. This will accommodate any state updates to the editor 2024-08-23 10:15:46 +01:00
Dean f44d09b344 Switched the CodeEditor update event from change to blur. 2024-08-23 09:27:46 +01:00
Andrew Kingston 1adddba3c3
Prevent disabling row actions 2024-08-22 18:40:29 +01:00
Andrew Kingston cc20e7dd52
Fix icon colours in automation list 2024-08-22 17:09:37 +01:00
Andrew Kingston 2a67c0e09e
Allow deleting row actions from automations 2024-08-22 16:58:12 +01:00
Andrew Kingston c7a4fddd11
Update automation grouping to group by datasource first 2024-08-22 16:44:57 +01:00
Andrew Kingston c810f023de
Improve styles of automation group headers 2024-08-22 14:43:39 +01:00
Andrew Kingston dc5c669271
Add multi coloured generate icon 2024-08-22 14:39:54 +01:00
Andrew Kingston 5153b684fa
Standardise grid button suffixes 2024-08-22 12:10:47 +01:00
Andrew Kingston bd4a804a96
Add accent colors to all buttons 2024-08-22 12:07:12 +01:00
Andrew Kingston 8805b7f67f
Update row actions button 2024-08-22 11:36:29 +01:00
Dean f6723cf77b Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-08-22 09:26:28 +01:00
Dean 49628e6235 Merge commit 2024-08-22 09:26:08 +01:00
Andrew Kingston 787d93e317
Make role options reactive 2024-08-22 08:45:21 +01:00
Andrew Kingston 8a84a79651
Add role editing to access popover 2024-08-22 08:38:15 +01:00
Andrew Kingston acb3893730
Fix styles in generate button and hide generate button for users table 2024-08-22 08:06:38 +01:00
Andrew Kingston 7431d1c8da
Make detail popover icon function 2024-08-22 08:06:24 +01:00
Andrew Kingston 1e4fb27d7c
Ensure autoscreens use a specific component order to look better on older client versions 2024-08-21 16:39:54 +01:00
Andrew Kingston c7c6597424
Add majority of frontend implementation of row actions 2024-08-21 16:33:51 +01:00
Andrew Kingston 1991610b47
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-08-21 10:11:41 +01:00
Andrew Kingston 4be3f0a320
Fix issue where we were saving the entire datasource definition into every datasource setting 2024-08-21 09:55:30 +01:00
Andrew Kingston 3aca23e198
Add initial work on screens button 2024-08-21 09:47:52 +01:00
Andrew Kingston 1f7b10cfd1
Update style of generate automation button 2024-08-21 09:04:49 +01:00
Andrew Kingston f54d1985b4
Add new detail popover and update manage access button to use it 2024-08-21 07:46:15 +01:00
Andrew Kingston f662916978
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-08-20 15:27:16 +01:00
Andrew Kingston 2d45f192f6
Lint 2024-08-20 15:07:23 +01:00
Andrew Kingston 7e5f43dd6d
Update table autoscreens to use grid layout 2024-08-20 14:58:07 +01:00
Andrew Kingston 346f55691b
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-20 10:26:39 +01:00
Andrew Kingston 54f9507e53
Update buttons for views 2024-08-20 08:24:23 +01:00
Martin McKeaveney a21e8123c6
Merge branch 'master' into poc-authenticated-iframe 2024-08-19 18:19:03 +01:00
Martin McKeaveney 89051da102 use postMessage instead of window object 2024-08-19 18:01:56 +01:00
Andrew Kingston 38bd64cebd
Fix imports 2024-08-19 15:36:57 +01:00
Andrew Kingston d316ba71e1
Update buttons for legacy views 2024-08-19 15:30:21 +01:00
Andrew Kingston b76a0b6e89
Move all grid buttons to builder codebase, update table grids 2024-08-19 15:00:15 +01:00
Andrew Kingston a322f56efd
Remove selection option in nested nav bar 2024-08-19 14:35:43 +01:00
Gerard Burns 205a50156b
[BUDI-8460] Add New Step to Table Screen Template (#14203)
* [BUDI-8460] Add New Step to Table Screen Template Flow

* fix tests

* PR Feedback

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-08-19 10:44:09 +00:00
Martin McKeaveney 8ee64c00fe merge 2024-08-19 11:24:45 +01:00
Andrew Kingston d377186f0d
Add double layer context menu for overflow views 2024-08-16 18:43:48 +01:00
Andrew Kingston 40e7f58131
Add automatic overflow menu popover for views that don't fit 2024-08-15 19:49:30 +01:00
Andrew Kingston d313968eaa
Add view CRUD and table editing via new UI 2024-08-15 16:33:39 +01:00
Andrew Kingston fa80d99139
Add initial new UI for views 2024-08-15 16:14:00 +01:00
Andrew Kingston 0252b02406
Update containers to use grid layout by default and ensure autoscreens use new layout prop 2024-08-15 11:36:02 +01:00
Sam Rose 4a1fd6481f
Remove old, unused feature flags. 2024-08-15 10:53:43 +01:00
Andrew Kingston a022e02643
Update blank screens to use grid layout by default 2024-08-15 10:44:42 +01:00
Andrew Kingston 6783f9b4ee
Reset grid position metadata when copying and pasting between screens 2024-08-15 09:54:47 +01:00
Andrew Kingston fa12abf126
Merge branch 'master' into grid-layout-expansion 2024-08-14 11:29:11 +01:00
Andrew Kingston a755fe7630
Allow quick duplicating via ctrl/cmd + drag 2024-08-14 11:21:59 +01:00
Dean e2c491ef96 Backed out reactivity for Binding panel per discussion. Pending some UX discussion 2024-08-13 16:40:48 +01:00
Conor Webb 7456596c7a Refactor based on feedback 2024-08-13 16:36:42 +01:00
Andrew Kingston b321eabb50
Merge branch 'master' into dean-fixes 2024-08-13 15:43:58 +01:00
Andrew Kingston 5d6d75d672
Merge branch 'cheeks-fixes' of github.com:Budibase/budibase into cheeks-fixes 2024-08-13 14:33:25 +01:00
Andrew Kingston 6db20a241b
PR feedback 2024-08-13 14:33:07 +01:00
Conor Webb 9a6a1abb84 Fix logic, enterprise is the only tier that can use this 2024-08-13 12:39:56 +01:00
deanhannigan 424124f5c8
Merge branch 'master' into cheeks-fixes 2024-08-13 12:35:28 +01:00
Dean 3d6acb5efd Removed erroneous param 2024-08-13 12:09:01 +01:00
Conor Webb bd5789f59c Changed label to enterprise. 2024-08-13 11:36:15 +01:00
Conor Webb 8cbb003d44
Merge branch 'master' into Fix-user-access-roles-from-displaying-business 2024-08-13 11:30:56 +01:00
Conor Webb 7b3e02506d Changed from Business to premium 2024-08-13 11:28:12 +01:00
Dean 8a31cc2ff7 Bug fixes for bindings panel and code editor 2024-08-13 11:07:00 +01:00
Andrew Kingston 17c8f8e5d9
Merge branch 'master' into grid-layout-expansion 2024-08-13 09:18:28 +01:00
Dean 8e301902a3 Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-13 09:06:02 +01:00
melohagan 151fff51c5
Make generated passwords longer (#14362)
* Make generated passwords longer

* Use crypto for generating passwords

* Remove comments

* Generate password with length 12
2024-08-12 20:37:59 +00:00
Sam Rose 700356a1ef
Factor out default value check to shared-core. 2024-08-12 11:08:58 +01:00
Sam Rose 1b556f29fe
Rebase on posthog-feature-flags 2024-08-09 14:00:16 +01:00
Sam Rose aaaf173295
Initial UI. 2024-08-09 13:59:00 +01:00
Dean 849f5f21f9 Fix for environment bindings race condition. 2024-08-09 12:44:10 +01:00
Andrew Kingston 2b32db4286
Merge branch 'master' into grid-layout-improved 2024-08-09 10:02:02 +01:00
deanhannigan 3c563c382d
Merge branch 'master' into dean-fixes 2024-08-09 09:02:54 +01:00
melohagan c86b1d7ca5
Auto login the user after password is set (#14344)
* login after creating super admin user

* Allow keyboard enter key in create account from invite

* Allow enter key to submit password reset

* Min length for password validation should be 12

* Default PASSWORD_MIN_LENGTH to 12

* fix unit tests

* Fix unit tests

* Add passwordMinLength to admin store
2024-08-08 17:45:04 +01:00
Dean 1d8235a1cc PR feedback. Ensure fieldValue reacts to schema changes 2024-08-08 16:51:33 +01:00
Andrew Kingston 91120c673c
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-improved 2024-08-08 16:07:23 +01:00
Andrew Kingston 013f13315c
Update how available actions on the screen are found so that they understand global bindings properly and respect local scope 2024-08-08 15:17:55 +01:00
Dean bd2664218c PR feedback. Switch single user init back to expect an array and take the result 2024-08-08 12:29:39 +01:00
Andrew Kingston fc21c80d64
Use setting default value in conditional UI drawer 2024-08-08 11:58:19 +01:00
deanhannigan c830cde105
Merge branch 'master' into dean-fixes 2024-08-07 10:20:17 +01:00
Martin McKeaveney ac62a9a5a8 authenticated iframe PoC 2024-08-06 18:46:23 +01:00
Dean 853e891664 Fixes for Single select and Single user pickers. Now displaying binding status correctly 2024-08-06 11:58:12 +01:00
Andrew Kingston 8e04e85df2
Lint 2024-08-06 11:48:47 +01:00
Andrew Kingston df77aa3f83
Update when grid lines are shown, show sibling borders, add component padding, remove row and column settings 2024-08-06 11:07:20 +01:00
Andrew Kingston e58f34ef8c
Merge branch 'master' into grid-layout-improved 2024-08-05 19:34:01 +01:00
Sam Rose da74441c1c
Merge branch 'master' of github.com:budibase/budibase into budi-8483-consolidate-feature-flags-into-a-single-endpoint 2024-08-05 17:11:23 +01:00
Dean e3f021aea1 Added single user validation config so user fields display as set when bindings are used. 2024-08-05 17:05:09 +01:00
Andrew Kingston 22cda514b4
Update component settings bar to respect dependsOn metadata 2024-08-05 16:53:10 +01:00
Dean 2b9298963f Assorted builder fixes and a fix for Google sheets filtering 2024-08-05 09:57:27 +01:00
Andrew Kingston 1ff0c99764
Fix component preview border in tablet and mobile when on small screens 2024-08-03 11:21:56 +01:00
Andrew Kingston 0ba00a5117
Move most grid specific logic into a dedicated file to avoid polluting rest of the codebase 2024-08-02 16:13:49 +01:00
Andrew Kingston 2bc4d3a6da
Improve more component compatibility with grid layouts 2024-08-02 10:00:49 +01:00
Andrew Kingston 3630c73837
Fix flashing of missing component settings panel when deleting components 2024-08-02 09:40:12 +01:00
Andrew Kingston 1219463162
Update grid rows and columns settings and add them to screen settings 2024-08-01 11:58:06 +01:00
Andrew Kingston 8879188595
Update how screen layout param is handled 2024-08-01 11:40:16 +01:00
Adria Navarro bf1566ebb2
Merge branch 'master' into fix/dont-allow-protected-column-names-on-import 2024-08-01 11:04:14 +02:00
Adria Navarro f4bd303572 Handle frontend 2024-08-01 11:02:21 +02:00
Andrew Kingston 391294f7a1
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-improved 2024-07-31 16:45:13 +01:00
Andrew Kingston f6f0b575d6
Add top level screen layout setting 2024-07-31 16:44:46 +01:00
Adria Navarro 38da9012ea Display error 2024-07-31 16:56:14 +02:00
Andrew Kingston 940e2b5a94
Improve client loading states, skeleton and underlay 2024-07-31 15:53:40 +01:00
Andrew Kingston 8540f4020b
Improve client preview styles to work with increase client padding 2024-07-31 15:34:15 +01:00
Adria Navarro 2b22abe0bd
Merge branch 'master' into chore/unify-row-format-values 2024-07-31 12:25:55 +02:00
Adria Navarro 0202db3efe Unify enums 2024-07-31 12:20:45 +02:00
Adria Navarro 780f672100 Handle state issues 2024-07-31 11:44:39 +02:00
Andrew Kingston cb3c667859
Large refactor of grid css variable handling to simplify everything 2024-07-31 10:35:57 +01:00
mike12345567 8f7a88ce86 Moving logic to frontend - definitions are returned unless they are deprecated, frontend decides which it can use to create. 2024-07-30 16:04:33 +01:00
Andrew Kingston 29ddeab0d4
Update grid layout to include nested flex wrappers for more layout control 2024-07-30 15:20:59 +01:00
Michael Drury 2486497a6c
Merge branch 'master' into fix/hide-row-actions 2024-07-30 15:20:21 +01:00
mike12345567 76652ddab5 Fixes some issues with row actions which were allowing them to be added from the automation section (which is not allowed) as well as breaking app access once they were added - this hides them properly so they can't be added as well as fixing the issue when they exist. 2024-07-30 15:07:34 +01:00
Andrew Kingston 32ba04c83d
Merge branch 'master' into dean-fixes 2024-07-30 15:03:54 +01:00
Dean 5269258532 Ensure the builder is functional if an app automation does not contain a trigger 2024-07-30 11:37:47 +01:00
Dean cad066c668 Reduced the number of unnecessary calls to update the automation store or fetch automations. The contant updates appeared to cause issues with routify 2024-07-30 10:03:24 +01:00
melohagan 60f7c03e17
Fix/verify sso bug (#14253)
* Delete associated SSO user

* Update reset password screen

* Partial type removed

* lint

* Split getFirstPlatformUser from getPlatformUsers

* lint

* Use correct method

* Code review comments

* lint
2024-07-29 13:25:46 +01:00
Gerard Burns cf31c7ba3f
Form Screen Templates Generate Relevant Row Ids, Permission Roles are Automatically Generated (#14192)
* url params

* wip

* wip

* wip

* wip

* permissions now

* change table/screen deletion

* form screen refactor

* refactor grid templates

* wip

* wip permissions

* wip

* wip

* lint

* lint

* wip

* before lint

* lint

* wip

* rename some stuff

* Dean PR Feedback

* remove unneeded awaits
2024-07-29 11:59:24 +00:00
Adria Navarro 8421a75328
Merge branch 'master' into BUDI-8441/row-action-run-api 2024-07-26 15:16:21 +02:00
Adria Navarro f9bfe51c81 Rename external 2024-07-26 14:37:47 +02:00
Adria Navarro 3a095c5071 Renames 2024-07-26 14:35:36 +02:00
Adria Navarro b12641e467
Merge branch 'master' into BUDI-8441/row-action-run-api 2024-07-25 16:09:23 +02:00
Adria Navarro 22f86be34d
Merge branch 'master' into feat/row-actions 2024-07-25 15:26:50 +02:00
Andrew Kingston 7e11b57e87
Merge branch 'master' into remove-selected-rows-datasource 2024-07-25 11:17:20 +01:00
Adria Navarro aafe7a2831
Merge branch 'master' into feat/row-actions 2024-07-25 11:13:18 +02:00
Peter Clement 5ab81543e3
Fix issue with trigger filters not saving (#14231)
* Fix issue with trigger filters not saving

* use enum instead of nasty string

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2024-07-25 09:30:38 +01:00
Adria Navarro 4743cc3ae5 Free plan banner only for free users 2024-07-25 08:38:11 +02:00
Sam Rose 46cd06bacf
Merge branch 'master' of github.com:budibase/budibase into budi-8483-consolidate-feature-flags-into-a-single-endpoint 2024-07-24 16:10:45 +01:00
Andrew Kingston 1e70e3e443
Don't show datasource options for array bindings that lack table IDs 2024-07-24 09:04:05 +01:00
Adria Navarro 2d9da6b7d9
Merge branch 'master' into feat/row-actions 2024-07-24 09:51:47 +02:00
Dean 18777b6fb2 Removed explicit bindings prop from draggable list as it was overriding bindings added via the listTypeProps. Updated grid config to use listTypeProps instead 2024-07-23 14:55:38 +01:00
Adria Navarro af0b69e8b6 Reuse 2024-07-23 12:09:53 +02:00
Adria Navarro d601400871 Don't allow edit or delete actions for row actions 2024-07-23 10:21:09 +02:00
Adria Navarro 9428172482 Prevent duplicate 2024-07-23 10:16:02 +02:00
Adria Navarro 1081d415fa Refetch builder data 2024-07-23 10:15:25 +02:00
Adria Navarro d01bd54fd1 Use name (not display name) on saving 2024-07-23 10:15:25 +02:00
Adria Navarro b7fc1cddb7 Merge branch 'master' into feat/row-actions 2024-07-23 10:03:41 +02:00
Sam Rose f3c73fe4a8
Support primitives in feature flags, make flag types flow, remove some obsolete feature flag systems. 2024-07-22 17:43:53 +01:00
Andrew Kingston 3650041856
Merge branch 'master' into conditional-table-colours 2024-07-22 14:30:54 +01:00
Adria Navarro 3bb3376a82 Format on frontend 2024-07-22 14:31:59 +02:00
Adria Navarro b7a969280f Display data 2024-07-22 14:31:42 +02:00
Adria Navarro 6221b9320e Enrich 2024-07-22 14:31:00 +02:00
Adria Navarro 1b2182a690 Run without required 2024-07-22 14:30:38 +02:00
Adria Navarro e0d3855945 Display row action trigger info 2024-07-22 14:30:38 +02:00
Adria Navarro b9443906dc Fix 2024-07-22 14:23:18 +02:00
Adria Navarro b75c8b32e3 Field readonly 2024-07-22 14:23:17 +02:00
Dean 75217efee4 Fix to switch internal source check from table.sql to table.sourceType === DB_TYPE_INTERNAL. After the SQS changes table.sql becomes true for internal types 2024-07-22 12:37:40 +01:00
Andrew Kingston dbe321155f
Use multiselect for options fields in conditions using the 'in' operator 2024-07-22 11:55:03 +01:00
Andrew Kingston 98d55db959
Update tests 2024-07-22 11:30:06 +01:00
Andrew Kingston a14a737921
Merge branch 'master' of github.com:Budibase/budibase into conditional-table-colours 2024-07-22 11:02:02 +01:00
Andrew Kingston 27e4b4e3b4
Merge branch 'master' into dean-fixes 2024-07-22 10:17:50 +01:00
Andrew Kingston 6fd265776d
Add bespoke component for selecting users in table conditions 2024-07-22 09:58:59 +01:00
Gerard Burns f1a56b3831
Fix Automations Breaking When Their Datasource is Deleted (#14195) 2024-07-22 08:56:04 +00:00
Andrew Kingston e4cd71feab
Add options picker for multiselect columns 2024-07-22 09:38:43 +01:00
Andrew Kingston 26a552ac5c
Add options picker for values when configuring conditions on options columns 2024-07-22 09:35:36 +01:00
Gerard Burns 9d8e470aa6
Fix Screen History Issue (#14207) 2024-07-22 09:33:27 +01:00
Gerard Burns 7548b48f9e
Allow Opening Certain Context Menus With Right Click (#14169)
* Allow Opening NavItem Context Menus With Right Click

* dean pr feedback

* PR Feedback 1

* Fix pasting into a component issue

* Remove animation

* Move ContextMenu Into Routify Router Scope
2024-07-22 09:27:44 +01:00
Andrew Kingston d774e30a0a
Improve table condition editor handling of value types and missing values 2024-07-22 09:21:46 +01:00
Andrew Kingston 27789a59d1
Hide table conditions for invalid column types 2024-07-22 09:13:13 +01:00
Andrew Kingston 8abf97e8bb
Merge branch 'table-improvements-2' of github.com:Budibase/budibase into conditional-table-colours 2024-07-22 08:01:36 +01:00
Andrew Kingston c2c799e473
Merge branch 'master' into table-improvements-2 2024-07-22 08:00:36 +01:00
Adria Navarro bb4fd4c14c Fix possible undefined reference 2024-07-18 17:19:34 +02:00
Adria Navarro 19d614b329 Remove save button on add action step 2024-07-18 17:17:27 +02:00
Gerard Burns 3b0e2ba0e5
Fix Bug Preventing Deleting Multiple Apps in a Row (#14196) 2024-07-18 14:40:00 +01:00
Dean 31df2bbb5f Merge remote-tracking branch 'origin/master' into dean-fixes 2024-07-18 14:06:16 +01:00
Peter Clement 7fd55fe27d
Automation trigger filtering (#14123)
* backend for triggering automation based on filters

* frontend for handling triggering automations on filter / old row

* lint and bug fix

* fix issue with test header

* make test data optional

* improve safety on trigger gate

* add support for running trigger with filter if no change happened but filter matches

* update var naming to actually make sense

* tests

* fix lint

* improve gating for shouldTrigger check

* remove unecessary cast

* unecessary tableId check

* frontend text updates

* resolving comments

* pro

* Update packages/types/src/documents/app/automation.ts

Co-authored-by: Sam Rose <hello@samwho.dev>

* link out to docs for trigger filtering

* fix pro

* more pr comments

* use getAppId

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-07-18 10:38:15 +01:00
Dean 94c7f50f6e Merge remote-tracking branch 'origin/master' into dean-fixes 2024-07-18 10:11:02 +01:00
Andrew Kingston 7faa6188c4
Improve support for formula columns when using table conditional colouring 2024-07-17 12:33:05 +01:00
Andrew Kingston 62d43bc183
Merge branch 'table-improvements-2' of github.com:Budibase/budibase into conditional-table-colours 2024-07-17 08:06:03 +01:00
Andrew Kingston ee984b6a19
Update table conditions to apply both row and cell conditions via same configuration 2024-07-16 14:01:50 +01:00
deanhannigan 17026d888e
Merge branch 'master' into table-improvements-2 2024-07-16 09:04:39 +01:00
Conor Webb ab679ac85d
Add the option to use bindable inputs in your confirmations (#14138)
Co-authored-by: deanhannigan <deanhannigan@gmail.com>
2024-07-15 13:01:08 +00:00
Andrew Kingston c1f7bbcf9f
Merge branch 'master' of github.com:Budibase/budibase into conditional-table-colours 2024-07-15 13:58:39 +01:00
deanhannigan bc40d20206
Merge branch 'master' into fix/app-title-alignment 2024-07-15 12:21:01 +01:00
Andrew Kingston 1a434e82db
Merge branch 'master' into table-improvements-2 2024-07-15 12:08:52 +01:00
Dean 0a50ab284f Title text alignment was not being saved to the app metadata. 2024-07-15 11:12:26 +01:00
Dean ae4279bc58 Remove Attachment and Signature from filters. Add _id support for DynamicFilter. Removed _rev from filters 2024-07-11 16:39:49 +01:00
Dean 8e0f422ffe PR feedback 2024-07-11 09:34:11 +01:00
deanhannigan de76c61db2
Merge branch 'master' into feature/automation-grouping 2024-07-11 09:06:32 +01:00
deanhannigan 3a1b374f32
Merge branch 'master' into feature/automation-grouping 2024-07-10 09:04:27 +01:00
deanhannigan 7e7447e180
Merge branch 'master' into fix/automations-ux 2024-07-10 09:04:16 +01:00
mike12345567 63bd83457e Always allow creating views - don't limit it causing confusion. 2024-07-09 11:26:54 +01:00
Conor Webb d1f0454831
Switch the notification messages around as it was stating it was enable/disabled at the wrong times. (#14124) 2024-07-09 08:55:19 +00:00
deanhannigan 0574fc74ef
Merge branch 'master' into fix/automations-ux 2024-07-05 16:07:27 +01:00
Dean c12a8f03e9 Removed placeholder from row data picker, fix for stuck row selector in testmodal and old field test config fixes 2024-07-05 15:33:08 +01:00
Dean 4d11f62e00 Lint 2024-07-05 14:36:20 +01:00