Commit Graph

13207 Commits

Author SHA1 Message Date
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
Dean 9518680d12 Update the topnav history when navigating to the automation sections on create 2024-07-05 14:33:09 +01:00
deanhannigan f44c401686
Merge branch 'master' into feature/automation-grouping 2024-07-05 11:43:10 +01:00
deanhannigan c4055fabb8
Merge branch 'master' into feature/create-automations-in-data-section 2024-07-05 11:23:44 +01:00
Adria Navarro 4fae45e018 Add tooltip 2024-07-04 16:51:25 +02:00
Dean a764bfb6a5 Tidying up debugging console statements and comments 2024-07-04 14:30:51 +01:00
Dean b1496be3d3 Merge remote-tracking branch 'origin/master' into feature/create-automations-in-data-section 2024-07-04 14:24:29 +01:00
Adria Navarro 6d412cdf32 Ellipsis on long emails 2024-07-04 13:54:08 +02:00
Dean 21b28a3de8 Added new Generate automation button and added it to the table 2024-07-04 12:05:56 +01:00
Adria Navarro 84f1dc2783 Fix builder build 2024-07-04 12:28:49 +02:00
Adria Navarro 8da83dac58 Merge branch 'master' into chore/fix-npm-vulnerabilities 2024-07-04 11:08:51 +02:00
Adria Navarro 6914092ead Update sanitize-html 2024-07-04 10:56:17 +02:00
Dean 6ecaaba146 PR feedback. Fix for the popover menu not sticking to the add fields button 2024-07-03 16:56:37 +01:00
Dean 8f3f03ef7d PR feedback changes 2024-07-03 16:33:01 +01:00
Dean b36311fc2c Added fix for Update step table select. The fix for the oldRow behaviour broke the picker 2024-07-03 10:25:46 +01:00
Dean 3c83940728 Added back in the oldRow functionality to updateRow 2024-07-03 09:04:18 +01:00
Dean 3990387c1d Lint and minor change to trigger name configuration 2024-07-02 11:59:11 +01:00
Dean b6f8649c05 Removed debugging line 2024-07-02 11:36:23 +01:00
Dean 199d597786 Added basic grouping to automations side panel 2024-07-02 11:05:35 +01:00
Dean 52893e4004 Move file type handling to a separate function and remove nested ternary 2024-07-01 21:25:56 +01:00
Dean aae357f50d Refactor RowSelector initialisation into a function 2024-07-01 16:48:25 +01:00
Dean 7582e656ba Use correct width flag for button width 2024-07-01 15:23:02 +01:00
Dean 91df945250 Sort fields by name in the picker 2024-07-01 15:07:30 +01:00
Dean 1e4563f1e0 Added the selected class back in as it was required for the ticks 2024-07-01 14:54:50 +01:00
Dean 1b2414e2c0 Remove disabled state from field picker 2024-07-01 14:42:29 +01:00
Dean c2b54f118f Review fixes. Populated Row fields clearing, test data parsing to ensure tableId is present and correct. Also added some initial JSON test data parsing. 2024-07-01 12:59:43 +01:00
Dean c91767ad1f Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-07-01 09:23:52 +01:00
Conor Webb 323a855d81
Added button options to the prompt user action. (#14031) 2024-07-01 07:29:24 +00:00
Dean 37bfde9c93 Ensure removing a field from the update flow clears any row value. If not cleared, the field will remain in place. 2024-06-28 16:23:00 +01:00
Dean ec9ff57493 Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-06-28 16:09:13 +01:00
mike12345567 7a4336a4a0 Quick fix to allow case sensitive versions of the prohibited columns, this is allowed on the backend and many apps like this exist, there isn't really any reason to disallow this anymore. 2024-06-28 13:19:35 +01:00
Andrew Kingston 06e7517529
Add row conditions 2024-06-28 11:25:00 +01:00
Dean fdbf1b3469 Added back in binding icon positioning override for JSON field 2024-06-28 09:48:33 +01:00
Andrew Kingston cf12c8246b
Merge branch 'master' of github.com:Budibase/budibase into conditional-table-colours 2024-06-28 09:22:56 +01:00
Dean 16061765ee PR Feeback. Remove X icons in form. 2024-06-28 09:12:45 +01:00
Dean 82f50b565d Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-06-28 09:03:02 +01:00
Andrew Kingston 0a2beb6afd
Merge branch 'master' into fix-relationship-filtering 2024-06-28 09:28:19 +02:00
Dean a85fd8c393 Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-06-27 20:18:02 +01:00
Andrew Kingston fbeb8199f1
Merge branch 'table-improvements-2' of github.com:Budibase/budibase into conditional-table-colours 2024-06-27 19:02:05 +01:00
Andrew Kingston b58519d562
Merge branch 'master' of github.com:Budibase/budibase into table-improvements-2 2024-06-27 16:18:00 +01:00
Andrew Kingston c41232bc12
Add proper components for dates and boolean types in grid condition editor and fix highlight showing in sticky column gutter cell 2024-06-27 16:06:47 +01:00
Andrew Kingston 8e83046321
Fix bindings not working with grid conditions 2024-06-27 15:38:22 +01:00
Andrew Kingston 2548cd5ff4
Merge branch 'table-improvements-2' of github.com:Budibase/budibase into conditional-table-colours 2024-06-27 14:37:51 +01:00
Andrew Kingston 99b522b32d
Optimise condition evaluation performance and add support for conditionally setting text color 2024-06-27 14:23:05 +01:00
Dean 933e17e945 Add min height for JSON picker in row steps. Fix for JSON onchange 2024-06-27 12:49:11 +01:00
Andrew Kingston c9bcda0bd5
Update condition evaluation in tables 2024-06-27 12:38:03 +01:00
Andrew Kingston feffd80d11
Standardise cell condition operators 2024-06-27 09:10:25 +01:00
Andrew Kingston b060de98d0
Add UI for configuring conditions on table columns 2024-06-26 16:12:44 +01:00
Andrew Kingston 4042160003
Fix overflow issues in settings popovers 2024-06-26 15:10:20 +01:00
Dean 21c335caab Lint and tidying up 2024-06-26 14:29:42 +01:00
Michael Drury cfeab17ed8
Revert "Revert "Disallow prohibited columns"" 2024-06-26 12:40:16 +01:00
Dean ed0f60d5d7 Added an app trigger update parser that will clean the testdata for the automation on save. Old values were not cleaned out. Added some padding to the PropField labels. General fixes 2024-06-26 11:10:15 +01:00
Dean 1db1b638e6 Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-06-26 09:08:11 +01:00
Andrew Kingston 67a06d3446
Merge branch 'master' into fix-relationship-filtering 2024-06-26 09:54:32 +02:00
Sam Rose 314d62bea0
Revert "Disallow prohibited columns" 2024-06-25 14:29:56 +01:00
Dean 5ff8b03378 Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-06-25 12:05:31 +01:00
Dean e9985adcd4 Updates and refactoring of Automation flows 2024-06-25 11:52:11 +01:00
Peter Clement f3d466f255
fix issue where schema wasn't updating types when a query was run (#14004)
* fix issue where schema wasn't updating types when a query was run

* add tests for schema matching
2024-06-25 08:51:35 +01:00
Andrew Kingston c48079a588
Merge branch 'master' into fix-relationship-filtering 2024-06-24 19:15:37 +02:00
Andrew Kingston 62da97814a
Fix relationship filtering in automations 2024-06-24 16:44:28 +01:00
Andrew Kingston 04a46c43ad
Use common search utils to generate field options for design section filter builder 2024-06-24 16:28:25 +01:00
Sam Rose 2458259093
Respond to PR feedback. 2024-06-24 15:50:09 +01:00
Sam Rose f4378bd561
Merge branch 'master' of github.com:budibase/budibase into budi-8220-support-updating-existing-rows-for-external-databases-using-2 2024-06-21 13:08:39 +01:00
Conor Webb 9a375d6716
Add the option to change the confirm and cancel button texts within the confirmation modals (#13966)
* Add button parameters to actions

* Add button states to confirmation store

* Set text of buttons if values are exist

* Pass stored values through to the modal

* Add missing duplicate text map

* Fix lint issues

---------

Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
2024-06-21 10:57:46 +00:00
mike12345567 b4910043c6 Addressing PR comments. 2024-06-21 11:27:47 +01:00
mike12345567 def3b0260e Disallowing prohibited columns consistently, no matter the case, and backend validation for this as well. 2024-06-20 18:48:22 +01:00
Dean d50a8e0746 Merge remote-tracking branch 'origin/master' into feature/automation-row-ux-update 2024-06-20 10:43:33 +01:00
Sam Rose 602faf1c67
Add test for composite primary keys for external datasource imports. 2024-06-19 17:52:48 +01:00
Peter Clement 2b96cbcad7
Expose old row binding in automations (#13931)
* expose old row through the emitter

* accidentally added oldRow to step

* fix row fetch in external datasources

* add test for new / old row comparison

* add testing for old row update event

* allow function overloading in test files

* update tests per comments

* handle event race condition

* update test data modal to account for old row output

* switch icon positioning
2024-06-18 13:45:58 +01:00
Gerard Burns e88ffea1a4
Modal component (#13848)
* wip

* wip

* wip

* wip

* wip

* add note for illegalChildren reset behavior

* on close working

* wip

* lint

* wip

* Fix potential remounting loop caused by spreading props and unnecessary component keying

* theme

* user prompt

* dotted border for empty

* PR Feedback

* lint

* fix modal background color

* use bbui modal

* lint

* fix indicator and prevent closing modal in builder

* pr feedback

* pr feedback

* fix fullscreen

---------

Co-authored-by: deanhannigan <deanhannigan@gmail.com>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-06-18 11:18:05 +01:00
Gerard Burns 1a6e840593
UX Changes to Component Name Editing Flow (#13921)
* rb

* PR Feedback
2024-06-14 13:28:49 +01:00
mike12345567 42732f1737 Merge branch 'master' of github.com:Budibase/budibase into fix/migration-guide-link 2024-06-14 10:10:57 +01:00
Gerard Burns d47c7d9227
Chart Component and Explanation Modal Fixes and Improvements (#13922)
* wip

* wip refactoring icons and column names

* wip

* wip

* remove automatic chart datetime sorting

* indefinite article, long form text

* lint

* lint
2024-06-14 08:20:56 +01:00
mike12345567 1e34411d66 Adding the correct link for the migration pages. 2024-06-13 17:29:22 +01:00
Dean 3a10c57651 Merge commit 2024-06-13 16:56:25 +01:00
Sam Rose c759d7b63a
Remove more instances of the work lucene. 2024-06-12 15:13:50 +01:00
Sam Rose 6363965a8b
Also rename LuceneUtils -> QueryUtils 2024-06-12 15:04:56 +01:00
Sam Rose bc8791e91e
Remove the word 'lucene' from runLuceneQuery and buildLuceneQuery. 2024-06-12 14:44:20 +01:00
Andrew Kingston 783d21159a Lint 2024-06-11 16:53:17 +01:00
Andrew Kingston 5f8a70d0dd
Merge branch 'master' into cheeks-fixes 2024-06-11 17:20:55 +02:00
Martin McKeaveney 9fcefb18b4
Update packages/builder/src/components/design/settings/controls/DataSourceSelect/DataSourceCategory.svelte
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-06-11 16:09:13 +01:00
Martin McKeaveney f8f05a59d4 small change to ensure that name of datasources is available in dropdown to prevent dupes 2024-06-11 14:57:35 +01:00
Dean 3f35a41046 Fix binding modal z-index and removing double border in automation header 2024-06-11 09:07:55 +01:00
Andrew Kingston 4cfa02f5d2 Fix options not clearing when adding select-type columns 2024-06-10 13:59:35 +01:00
Andrew Kingston 6a859e568b Fix missing on:change event proxy from builder dropzone component 2024-06-10 13:28:04 +01:00
Peter Clement 9a2de11203
Allow users to only specify a binding when adding attachments (#13819)
* add ability for user to toggle bindable input for attachment

* error handling for missing keys

* improve error handling for smtp attachments

* remove log

* add test

* fixing some pr comments

* update test
2024-06-07 08:35:18 +00:00
mike12345567 c57a81c6de Adding a global binding for globalId which is retrieved as part of the self call - making sure this is available as a binding (this is not in the user metadata table, just for bindings). 2024-06-06 11:53:58 +01:00
Conor Webb c9fb6e35c8
Enhancement: add ability to set custom auto-dismissal duration for notifications (#13829)
* Enhancement: add ability to set custom auto-dismissal duration for notifications

* Updated based on feedback.

* Enforce max duration for auto-dismiss to 2 minutes
2024-06-05 12:29:07 +01:00
mike12345567 32e4493a96 Quick fix for using the roles option within the builder - this was broken in JS which was a bit of a pain - this works properly now and allows more compat between HBS and JS. 2024-06-05 11:58:40 +01:00
Adria Navarro 5c3973d7f9
Merge branch 'master' into feat/readonly-columns 2024-06-03 10:06:50 +02:00
melohagan cbb3c9aa93
Allow a user invite to be revoked (#13805)
* Add free_trial to deploy camunda script

* Allow user invites to be deleted

* Refactor to pass invite codes

* lint

* update account-portal

* yarn lock

* users terminology instead of rows and invites
2024-05-31 14:34:08 +00:00
Adria Navarro 9ac462c390 Remove double checks 2024-05-31 12:44:11 +02:00
Adria Navarro 4dbfa28feb Move licence check out of frontend-core 2024-05-30 17:12:46 +02:00
Adria Navarro 8e72f1f0fa Lock readonly 2024-05-30 11:14:12 +02:00
Adria Navarro 896c262c94 Add readonly option in view columns 2024-05-30 11:14:12 +02:00
Andrew Kingston 3acf6f37df
Merge branch 'master' into drawer-eval-improvements 2024-05-30 09:06:36 +01:00
melohagan b4645d8494
If a user starts the onboarding process, make sure they can still accept an invite (#13794)
* Add free_trial to deploy camunda script

* Getting invite details should not require tenancy

* make sure onboarding cookie is complete

* Make sure password is atleast 8 characters

* yarn lock

* update pro and account-portal

* update account-portal
2024-05-29 16:40:53 +01:00
Andrew Kingston 23332756e5 Allow role binding evaluations to be displayed now that they work 2024-05-29 13:58:43 +01:00
Andrew Kingston d533ef70be Enrich all bindings in one go to massively increase performance when opening binding panels 2024-05-29 13:58:29 +01:00
mike12345567 fa140b5f3d Merge branch 'master' of github.com:Budibase/budibase into feature/audit-log-sqs 2024-05-28 17:29:47 +01:00
Andrew Kingston 65340c657e
Merge branch 'master' into fix/button-icons 2024-05-28 08:33:54 +01:00
mike12345567 821708e79a Merge branch 'master' of github.com:Budibase/budibase into feature/audit-log-sqs 2024-05-24 16:32:43 +01:00
mike12345567 7a7f7185c9 Refactor - moving frontend search fields around so accessible from filter builder. 2024-05-24 15:38:54 +01:00
mike12345567 cf89c6fbde Updating filter settings - getting fields correctly. 2024-05-24 14:19:53 +01:00
andz-bb 1f2b3abb46 change "Links" to "Relationships" in table data source selection 2024-05-24 13:46:46 +01:00
mike12345567 b18ca2670a Merge branch 'master' of github.com:Budibase/budibase into feature/audit-log-sqs 2024-05-24 12:22:20 +01:00
Andrew Kingston 679ef559ce
Merge branch 'master' into fix/button-icons 2024-05-24 11:36:54 +01:00
Andrew Kingston 2250f815c6
Merge branch 'master' into grid-ux-improvements 2024-05-24 11:36:01 +01:00
Andrew Kingston 8d1300753b Disable saving options types when an invalid option name exists 2024-05-24 11:23:31 +01:00
deanhannigan bbeb6e88e7
Merge branch 'master' into fix/single-user-support-automations 2024-05-24 11:09:47 +01:00
Andrew Kingston 37b1bc45cf Move stuff around to remove need for code hoisting 2024-05-24 10:34:58 +01:00
Andrew Kingston 62eb1f413e
Merge branch 'master' into grid-ux-improvements 2024-05-24 10:18:48 +01:00
Andrew Kingston 10f3822a36 Remove compact flag on dropzones when editing rows in modals 2024-05-24 10:16:36 +01:00
Dean 5a289bd027 Removed fix for grid keyboard events 2024-05-23 18:06:08 +01:00
Dean 9edc0b7c3c Fix for tooltips in the Component tree in the builder 2024-05-23 17:45:01 +01:00
Dean 0db08498d9 Fix for grid arrow event handling when creating a column 2024-05-23 17:44:23 +01:00
Michael Drury a3d2871330
Merge branch 'master' into feature/audit-log-sqs 2024-05-23 16:52:50 +01:00
Andrew Kingston 12ab081656 Darken icon labels slightly 2024-05-23 16:40:00 +01:00
Andrew Kingston ef7db8b5a7 Fix positioning and sizing of icon select and attempt to make somewhat presentable 2024-05-23 16:36:19 +01:00
Andrew Kingston de78f1a242 Use array.reduce to generate color map 2024-05-23 15:20:16 +01:00
Andrew Kingston 80af9042b0 Rewrite options editor to use svelte store and be much cleaner 2024-05-23 15:16:19 +01:00
Adria Navarro cf43530e1c
Merge branch 'master' into BUDI-8279/time-constrains 2024-05-23 15:33:50 +02:00
Adria Navarro 9b3f467a52 Time-date only on constraint settings 2024-05-23 14:59:51 +02:00
Andrew Kingston 4f0dd189a2 Remove ugly outline from options editor 2024-05-23 13:19:27 +01:00
Andrew Kingston 3e13a06a8f Update option auto naming 2024-05-23 12:10:53 +01:00
Andrew Kingston 8378afb3c2 Merge branch 'master' of github.com:Budibase/budibase into grid-ux-improvements 2024-05-23 11:51:23 +01:00
Adria Navarro 2cc329994a Don't allow chaning time only to datetime 2024-05-23 10:40:33 +02:00
Andrew Kingston 949073594a Using unique naming for options and add validation 2024-05-22 16:24:08 +01:00
mike12345567 ff8684d9b4 Merge branch 'master' of github.com:Budibase/budibase into feature/audit-log-sqs 2024-05-22 15:23:24 +01:00
Andrew Kingston d63352edd9 Merge branch 'master' of github.com:Budibase/budibase into grid-ux-improvements 2024-05-22 13:09:50 +01:00
Andrew Kingston 3cf3dd3afa Small tweak to JS bindings 2024-05-22 10:45:03 +01:00
Andrew Kingston 41ab3685be Remove log 2024-05-22 10:16:19 +01:00
Andrew Kingston 96aa83d454 Change how empty JS values are handled to avoid weird lockup 2024-05-22 10:15:09 +01:00
Andrew Kingston 1a47365d39 Don't save empty JS expressions as JS 2024-05-22 10:04:54 +01:00
Andrew Kingston c726dfbedb Add link in navigation when duplicating screens 2024-05-22 09:22:06 +01:00
mike12345567 429d415cc9 Quick fix to allow data UI to show relational fields. 2024-05-21 18:14:19 +01:00
Andrew Kingston 35c52203ce Add tests for enriching empty card block settings 2024-05-21 17:29:32 +01:00
Dean 789b789c3e Added support for single user column type in automation block 2024-05-21 14:59:27 +01:00
Andrew Kingston a074cb6bef Remove enrichEmptySettings from component patch function as any screen update already invokes empty setting enrichment on every single component 2024-05-21 14:17:35 +01:00
Andrew Kingston 0aedcafdef Improve default option color assignment and selection state 2024-05-21 14:10:38 +01:00
Andrew Kingston d9a00cc6d4 Multiple improvement to option configuration 2024-05-21 13:59:33 +01:00
Andrew Kingston f30142831e Merge branch 'master' of github.com:Budibase/budibase into grid-ux-improvements 2024-05-21 13:28:43 +01:00
Andrew Kingston 16fd09e4c9 Merge branch 'master' of github.com:Budibase/budibase into prefill-cards 2024-05-21 12:03:16 +01:00
deanhannigan 0d09745f9d
Merge branch 'master' into fix/remove-formula-column-subtype-check 2024-05-21 11:01:50 +01:00
Gerard Burns c3948262ba
Make Builder App Section Navigation Tabs Anchors (#13626)
* wip

* linting

* add dedicated anchor handler for safety

* fixes

* fixes

* fix meta key clicks

* lint

* lint
2024-05-21 10:22:57 +01:00
deanhannigan 2494166cbc
Merge branch 'master' into fix/remove-formula-column-subtype-check 2024-05-21 10:16:58 +01:00
Dean 79fa40f08a Removed subtype check as it was causing the builder to crash 2024-05-21 10:02:44 +01:00
Gerard Burns 04cf17cea7 merge master 2024-05-21 09:51:06 +01:00
Andrew Kingston 0c63946df7
Merge branch 'master' into prefill-cards 2024-05-21 09:10:23 +01:00
Andrew Kingston 948a6a078d Assign colours to new options by defaults and use consistent colour set across the board 2024-05-21 09:03:53 +01:00
Conor Webb 3c74d29cf6
Added the ability to disable automations (#13667)
* Added disabling functionality for automations

* Removed external trigger automations that are disabled from selectable bindings

* Added new popover option for disabling automations

* Added toggle UI Inside automation screen

* Added subtle styling to automation list for disabled functionality.

* Fixed linting error

* Removed duplicate bbui import

* Fixed store function spacing

* Fixed linting issues.

* Added the requested changes to how disable is handled.

* Fixed linting issues.

* Minor UI tweaks based on feedback.

* Added logic to prevent crons type automations from running when disabled.

* Removing webhook disable, causes trigger url to be re-generated.

* Add unit test to ensure disabled automations are filtered out of the active queue

* Fixed lint issues

* Reverted disabled unit test

* Added error throw for disabled automations

* Add test for when a disabled automation gets triggered

* Added try, catch for trigger function - error handling

* Fixed linting issues
2024-05-20 15:13:08 +01:00
Andrew Kingston 4ede31acf6 Add double click to edit columns in grids 2024-05-20 15:02:06 +01:00
deanhannigan 8498dd7c3d
Merge branch 'master' into prefill-cards 2024-05-20 14:53:43 +01:00
deanhannigan 8d5d459c13
Merge branch 'master' into prefill-cards 2024-05-20 11:58:34 +01:00
Andrew Kingston 0fbbc3c88a Merge branch 'master' of github.com:Budibase/budibase into feature/signature-field-and-component 2024-05-20 11:08:19 +01:00
deanhannigan f20ed14e61
Merge branch 'master' into feature/signature-field-and-component 2024-05-20 10:30:55 +01:00
Andrew Kingston 8bf9a3884b
Merge branch 'master' into table-width-setting 2024-05-20 10:30:40 +01:00
Andrew Kingston b902e765fd Observe size changes in tabs as a catch-all solution for incorrect underline sizing 2024-05-20 09:37:48 +01:00
Dean 37dd75823f PR feedback, signature to signature single 2024-05-17 17:04:15 +01:00
deanhannigan c45ae63742
Merge branch 'master' into feature/signature-field-and-component 2024-05-17 15:11:57 +01:00
deanhannigan b6ce7eaa38
Merge branch 'master' into table-width-setting 2024-05-17 15:11:40 +01:00
mike12345567 16c69dcc33 Backwards compat. 2024-05-17 14:16:08 +01:00
Andrew Kingston 89aae7a327 Merge branch 'fix/grid-column-reordering' into table-width-setting 2024-05-17 12:18:27 +01:00
Dean 5a5896bd50 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-16 10:58:15 +01:00
Andrew Kingston 5164a0f716
Merge branch 'master' into fix/editing-rows-in-modals 2024-05-15 16:40:20 +01:00
Dean 166206f185 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-15 16:35:31 +01:00
Andrew Kingston 519a3d86a5
Merge branch 'master' into feature/updated-app-metadata-ux 2024-05-15 16:00:57 +01:00
Andrew Kingston 3d5795e934 Fix JSON error when editing rows in modal that contain unset attachments 2024-05-15 15:53:47 +01:00
Martin McKeaveney 756504a8a1
Merge pull request #13696 from Budibase/s3-file-system-fixes
remove file size limit on self host
2024-05-15 15:38:08 +01:00
deanhannigan 5e3e7d4ea5
Merge branch 'master' into feature/updated-app-metadata-ux 2024-05-15 14:56:09 +01:00
Martin McKeaveney d6f9da28aa
Merge branch 'master' into s3-file-system-fixes 2024-05-15 14:46:21 +01:00
Dean e724435a35 UX feedback 2024-05-15 14:43:38 +01:00
Martin McKeaveney fddf82eaa7 updatee test assertion 2024-05-15 14:40:24 +01:00
Martin McKeaveney d9aad4c9a3
Merge branch 'master' into 5459_S3EndpointSupport 2024-05-15 14:33:41 +01:00
Martin McKeaveney d89cd0955e lint 2024-05-15 14:30:34 +01:00
Martin McKeaveney 1b2053633d remove file size limit on self host 2024-05-15 14:23:08 +01:00
Dean bfa66aeb06 Merge remote-tracking branch 'origin/master' into feature/updated-app-metadata-ux 2024-05-15 14:17:31 +01:00
Dean aa6a8b7ba6 Removed dead code from refactor 2024-05-15 13:12:43 +01:00
Dean bb552c1984 Feedback and some fixes. Fix for app list getting squashed when the app metadata was updated. 2024-05-15 12:50:50 +01:00
melohagan a350a715fa
Fix: Only show free trial banner/modal to account owner (#13692)
* Add free_trial to deploy camunda script

* Fix only show trial banner to owner
2024-05-15 10:33:02 +00:00
deanhannigan bd96cd6fbd
Merge branch 'master' into feature/signature-field-and-component 2024-05-15 10:28:17 +01:00
Andrew Kingston 87ab4ad370 Use multi rather than multiple for data type names 2024-05-15 10:09:00 +01:00
Gerard Burns a5da091203 linting 2024-05-14 23:05:04 +01:00
Andrew Kingston bf2b277134 Update naming of some data types and update order 2024-05-14 16:31:21 +01:00
Dean 531281521e Merge remote-tracking branch 'origin/master' into feature/updated-app-metadata-ux 2024-05-14 15:53:18 +01:00
Andrew Kingston 026be0ae8d
Merge branch 'master' into fix/external-tables-with-view-in-name 2024-05-14 15:03:16 +01:00
Dean 55e7ea55f7 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-14 14:48:09 +01:00
Dean 121f0593e6 Lint 2024-05-14 14:05:50 +01:00
Gerard Burns 693e3373a6 merge master 2024-05-14 13:38:28 +01:00
Gerard Burns d02c04ebbe change explanation modal colors 2024-05-14 13:26:04 +01:00
Dean f5b0b81763 Merge remote-tracking branch 'origin/master' into feature/updated-app-metadata-ux 2024-05-14 12:26:57 +01:00
Gerard Burns bb69e0c1c9 linting 2024-05-14 11:24:51 +01:00
Andrew Kingston 29081cea1c Ensure we don't false-positive flag external tables with view_ in their names as views 2024-05-14 10:55:27 +01:00
Dean 1602e97047 Added updated UX for updating app metadata. 2024-05-14 10:48:20 +01:00
Dean fcb5d88eaf Merge remote-tracking branch 'origin/master' into feature/updated-app-metadata-ux 2024-05-14 09:28:27 +01:00
Dean 2529e95ad3 Merge commit 2024-05-14 09:27:26 +01:00
Andrew Kingston 182b6463e0 Merge branch 'master' of github.com:Budibase/budibase into table-width-setting 2024-05-14 09:05:21 +01:00
Gerard Burns 5cee165db0 feedback 2024-05-13 22:35:16 +01:00
Gerard Burns a95941b1e2 add tests and move type support presets to app store 2024-05-13 22:26:43 +01:00
mike12345567 5b5e7e47a2 Fixing some issues with updating rows with attachments, there were some UI bugs that had been raised (undefined being displayed) and the uploading from a URL was not working as expected, due to the stream not matching the expected format of the S3 SDK - this has been fixed by converting the stream to a true readable stream with . 2024-05-13 18:11:40 +01:00
deanhannigan b4af23229a
Merge branch 'master' into feature/signature-field-and-component 2024-05-13 18:05:53 +01:00
Martin McKeaveney de52a8f230
Merge branch 'master' into fix/builder-tabs-underline 2024-05-13 16:53:24 +01:00
Dean 421f70635e Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-13 16:31:46 +01:00
Dean b0a65b4699 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-13 16:22:19 +01:00
Dean 0589a6a730 Refactored signature from previous array implementation to the new single approach. Added support for automations 2024-05-13 16:19:02 +01:00
Andrew Kingston 8960b1b137
Merge branch 'master' into new-table-selected-rows 2024-05-13 16:09:37 +01:00
deanhannigan 698ea861a5
Merge branch 'master' into fix/builder-tabs-underline 2024-05-13 14:47:06 +01:00
deanhannigan e185cf79de
Merge branch 'master' into fix/builder-tabs-underline 2024-05-13 14:04:12 +01:00
Michael Drury ce7fe13ec4
Merge branch 'master' into fix/13660 2024-05-13 14:00:16 +01:00
Michael Drury 24397ee349
Merge branch 'master' into fix/13660 2024-05-13 13:51:02 +01:00
Adria Navarro 42a6b24170
Merge branch 'master' into chore/remove-unused-packages 2024-05-13 14:48:41 +02:00
Gerard Burns 914beb890f add missing data type links, add missing state 2024-05-13 13:44:54 +01:00
Andrew Kingston 3d01bd3f08 Merge branch 'master' of github.com:Budibase/budibase into new-table-selected-rows 2024-05-13 13:44:27 +01:00
Adria Navarro 2c68c3ffb1 Merge branch 'master' into chore/remove-unused-packages 2024-05-13 14:38:46 +02:00
Andrew Kingston 824893cbcd
Merge branch 'master' into feature/changelog-in-builder 2024-05-13 13:37:23 +01:00
Michael Drury 00e7d22c47
Merge branch 'master' into fix/13660 2024-05-13 13:34:38 +01:00
mike12345567 58cda93b08 PR comments. 2024-05-13 13:33:59 +01:00
Andrew Kingston 68148a6d3a
Merge branch 'master' into fix-component-auto-expand 2024-05-13 13:24:07 +01:00
deanhannigan ab3624b3bb
Merge branch 'master' into fix/builder-tabs-underline 2024-05-13 12:58:24 +01:00
mike12345567 92348fb526 Changing the logic of how automation thread timeout gets applied, so that it can be used properly. 2024-05-13 12:53:44 +01:00
Adria Navarro a36c46ea90
Merge branch 'master' into feat/budi-8123-single-user 2024-05-13 13:33:03 +02:00
Adria Navarro e6f90d5a7d Fix binding 2024-05-13 12:35:19 +02:00
Andrew Kingston d39ec25f0c
Merge branch 'master' into prefill-cards 2024-05-13 10:23:07 +01:00
Dean 58987d40e4 Removed unnecessary span tag 2024-05-13 09:56:39 +01:00
Adria Navarro 7d142511a0
Merge branch 'master' into budi-8222/deleting-a-column-on-google-spreadsheet-messes-with-the-data 2024-05-10 16:13:28 +02:00
Adria Navarro d83e5e21f2
Merge branch 'master' into feat/budi-8123-single-user 2024-05-09 18:05:16 +02:00
Adria Navarro 910ec6446b Prevent spamming the column config save button 2024-05-09 18:03:46 +02:00
deanhannigan a3ec428c5e
Merge branch 'master' into fix/builder-tabs-underline 2024-05-09 15:29:38 +01:00
deanhannigan b5bf914cd7
Merge branch 'master' into feature/signature-field-and-component 2024-05-09 14:47:14 +01:00
deanhannigan c1874f3376
Merge branch 'master' into feature/filter-bindings 2024-05-09 14:34:07 +01:00
Peter Clement db273bcd36
Support attachment columns in Automations (#13567)
* base work to support attachments in create / update row

* handle single attachment column

* fix tests

* pro

* fix some types

* handle case where file exists in storage

* improve attacment processing

* refactor slightly and ensure correct url is used for existing attachments

* add test

* Fixing a build issue.

* update tests

* some lint

* remove cursed backend-core test util

* addressing pr comments

* refactoring nasty automationUtils upload code

* remove uneeded check

* use basneeame for fallback filename

* add a test to ensure coverage of single attachment column type

* fail early when fetching object metadata

---------

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2024-05-09 14:30:56 +01:00
Adria Navarro 95faefcb87 DRY 2024-05-09 12:28:44 +02:00
Dean 4c6629d15f Merge remote-tracking branch 'origin/master' into feature/filter-bindings 2024-05-09 11:05:58 +01:00
Dean 3712e290b0 Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-09 09:19:00 +01:00
Martin McKeaveney dacb0d30ce prevent lack of start/end date from causing UI error 2024-05-08 15:55:14 +01:00
melohagan 68cb2636df
Free trial close to expiration message (#13638)
* Add free_trial to deploy camunda script

* Free trial banner

* Don't show upgrade button for enterprise trial

* Add link option to banners

* Show free trial banner in portal

* Only admins should see free trial modal

* Fix days remaining

* Ignore subscription cancelled message for trial

* Remove unused code

---------

Co-authored-by: José Vte. Calderón <jose@budibase.com>
2024-05-08 13:38:50 +01:00
Dean a29301a2fc Merge remote-tracking branch 'origin/master' into feature/signature-field-and-component 2024-05-08 09:43:30 +01:00
deanhannigan 46995a115a
Merge branch 'master' into feature/filter-bindings 2024-05-08 09:37:14 +01:00
Dean 31fccf23a8 Add font load event to allow the header to redraw as the fonts load 2024-05-08 09:23:30 +01:00
melohagan cfc2ea9117
Add free trial modal (#13609)
* Add free_trial to deploy camunda script

* WIP FreeTrial modal

* Handle free trial modal via self endpoint

* Set correct plan title for trial

* Remove catch

* lint

* Refactor

* Remove unnecessary code

* Rename to EnterpriseBasicTrialModal
2024-05-07 12:44:57 +01:00
Gerard Burns 0cda854f1d remove line 2024-05-07 09:18:34 +01:00
Adria Navarro 86e129cae0 Fix 2024-05-06 08:06:44 +02:00
Adria Navarro e39a65cad2 Fix edit old 2024-05-06 08:06:44 +02:00
Adria Navarro 457eebbcb4 Fix types 2024-05-06 08:06:43 +02:00
Adria Navarro 7951aac36b
Merge branch 'master' into chore/remove-unused-packages 2024-05-03 18:58:16 +02:00
Adria Navarro bd86f906b1
Merge branch 'master' into feat/budi-8123-single-user 2024-05-03 17:31:29 +02:00