Commit Graph

12600 Commits

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