Commit Graph

12696 Commits

Author SHA1 Message Date
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