Commit Graph

12499 Commits

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