Commit Graph

1205 Commits

Author SHA1 Message Date
Andrew Kingston 549ea44245 Improve handling of file uploads 2023-10-05 19:17:13 +01:00
Andrew Kingston 5990f43f3f Fix issues with fetching features and bindings in custom datasources 2023-10-05 18:30:40 +01:00
Andrew Kingston 9667c954ef Enable uploading a CSV file as a datasource and fix edge cases 2023-10-05 17:55:57 +01:00
Andrew Kingston 43c30d877b Add new custom datasource type 2023-10-05 14:42:26 +01:00
Adria Navarro f215f69067 Lint 2023-10-04 17:56:04 +02:00
Adria Navarro 2d0ac5ffba Fix filtering 2023-10-04 17:55:23 +02:00
Adria Navarro 39b5a2b539 Allow filtering 2023-10-04 17:55:23 +02:00
Martin McKeaveney d86c251699 Merge branch 'develop' into grid-clipboard 2023-10-04 11:57:45 +01:00
Adria Navarro e7b47d08bb Do not sanitize on operator change 2023-10-03 18:39:52 +02:00
mike12345567 5eacc9d93e Lint fix. 2023-10-03 17:34:20 +01:00
mike12345567 2c20d0b738 Spelling fix. 2023-10-03 17:33:58 +01:00
Adria Navarro 02bfaa4378 Clean multiple user checks to simplify 2023-10-03 18:29:35 +02:00
Adria Navarro 2c49638766 Lint 2023-10-03 17:37:14 +02:00
Adria Navarro 3f37416016 Sanitise field 2023-10-03 17:35:40 +02:00
Adria Navarro 0da029c896 Sanitise field 2023-10-03 17:35:36 +02:00
Adria Navarro 83790bc324 Lint 2023-10-03 17:14:33 +02:00
Adria Navarro da95c32a0c Simplify code 2023-10-03 17:06:17 +02:00
Adria Navarro 0053103974 Fix external 2023-10-03 15:41:00 +02:00
Adria Navarro c84d2449f2 Smarter getValidOperatorsForType 2023-10-03 14:26:12 +02:00
Adria Navarro b2429e1fe0 Allow selecting many for many-to-many 2023-10-03 14:05:25 +02:00
Adria Navarro 614bbb0412 Handle has any 2023-10-03 13:51:06 +02:00
Adria Navarro 0834d33f9a Remove none array operators 2023-10-03 13:43:42 +02:00
Adria Navarro 2367ceeb87 Disable when noValue 2023-10-03 13:25:56 +02:00
Adria Navarro f7e92992a8 Fix error 2023-10-03 13:12:50 +02:00
Adria Navarro 0702bc6c33 Sanity filter on change 2023-10-03 13:10:53 +02:00
Adria Navarro 9b14f50e8f Apply filter 2023-10-03 12:59:15 +02:00
Adria Navarro 3b93748376 Filter user (single) UI 2023-10-03 12:46:06 +02:00
Andrew Kingston 97c08c5327 Copy to clipboard while copying inside grids 2023-09-29 08:50:58 +01:00
Samuel Martineau 08bbfa09c2 Merge branch 'Budibase:develop' into allow-plugins-contribute-datasourceplus 2023-09-26 21:28:26 -04:00
Samuel-Martineau 2aac1c992a Correct bugs with Datasource+ plugins 2023-09-26 21:26:40 -04:00
Gerard Burns 62acbc43fd Query UI improvements (#11881)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* linting

* sidebar close icon, fix overflow issue with sidebar

* better schema auto populating behavior

* rename newqueryviewer

* remove external datasource table

* linting

* wip

* align header

* fix needing to press the validate button twice

* table min width

* wip

* remove loading

* remove disabled

* remove validation

* lint

* wip

* fix json panel
2023-09-26 12:27:27 +01:00
Adria Navarro b3405b7aaa Design forms 2023-09-26 11:44:37 +02:00
Adria Navarro b9dc60dc07 Display side panel form selector 2023-09-26 11:27:17 +02:00
melohagan acb53c075a Scroll to first invalid field (#11824)
* Final actions

* Add vertical options to ScrollTo

* Remove nearest option

* Scroll to form field when invalid

* Backwards compatibility for ScrollTo action

* Revert "Final actions"

This reverts commit 910e9e6d396aa8531c9662181ebccc77b90ed0ae.

* Scroll to form field when invalid

* Remove createAutomations function

* Refactor

* Refactor

* lint

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2023-09-20 14:30:35 +01:00
Andrew Kingston 0d0d96f5da Remove last usage of legacy context util and update data providers to be able to use any data providers on the screen 2023-09-15 08:46:35 +01:00
Andrew Kingston b36b061bb2 Update duplicate row action to use new context structure 2023-09-15 08:40:22 +01:00
Andrew Kingston b24c47d53d Update save row action to account for new context structure 2023-09-15 08:35:30 +01:00
Andrew Kingston 2f786aa29a Merge branch 'develop' of github.com:Budibase/budibase into global-bindings 2023-09-15 08:11:28 +01:00
Andrew Kingston 1995a2860f Merge branch 'develop' of github.com:Budibase/budibase into global-bindings 2023-09-12 11:35:54 +01:00
Mel O'Hagan 1f4c608882 S3 upload field is now simple input 2023-09-08 23:59:25 +01:00
Dean 4a1e969b7c PR Feedback and fixes for the edit field popover 2023-09-06 09:09:43 +01:00
Dean c6bd81ba21 Fix for datasource reset on formblock. Added 'resetOn' to the manifest to trigger a clear when the configured field is cleared 2023-09-05 11:40:52 +01:00
Andrew Kingston 401c12732f Fix datasource definitions to ensure they work with both tables and views, for both type datasource and type table, and fix bindings 2023-09-04 08:37:24 +01:00
Andrew Kingston bc8ebc42f9 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2023-08-31 11:29:54 +01:00
Andrew Kingston 8c889b873c Filter out invalid fields from fieldconfiguration (we don't allow formula and nested JSON fields in forms) 2023-08-31 08:50:36 +01:00
Andrew Kingston 471a5838a3 Ensure null IDs are pruned from draggable list to avoid crashing 2023-08-31 08:50:06 +01:00
Andrew Kingston 37158ea387 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-30 08:06:19 +01:00
Dean 3bdb1ea877 PR Feedback updates 2023-08-29 17:11:25 +01:00
Andrew Kingston 02d2f9d875 Remove more usage of accumulators because they're evil 2023-08-25 16:53:45 +01:00
Dean ef6f8e2abf Lint fixes 2023-08-25 15:14:49 +01:00
Dean 13f6fed101 UX Enhancements and custom positioning behaviour for the popover 2023-08-25 11:19:28 +01:00
Andrew Kingston d109411ed8 Update fetch row action to support views 2023-08-24 16:16:28 +01:00
Andrew Kingston 5763a9843c Update duplicate rows action to support views V2 2023-08-24 16:14:37 +01:00
Andrew Kingston fd71ad57da Add better support for generic DS+ into databindings and update save row to work with view V2s 2023-08-24 16:12:12 +01:00
Andrew Kingston c78fcb2ba6 Ensure 'table' type settings are migrated and handled properly. Allow deleting rows from views 2023-08-24 15:50:57 +01:00
Dean 32f8638ffd Removed comment 2023-08-24 15:40:03 +01:00
Dean 38e46dfa15 Added fix for ComponentSettingSection component location 2023-08-24 15:26:00 +01:00
Andrew Kingston b6e675e3ff Migrate DS+ settings without keys 2023-08-24 15:15:15 +01:00
Dean dc500ba290 Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-24 14:43:50 +01:00
Dean 1ec2faf74d List refinement, Form Block UX updates for action type. Bug fixes for FormBlock bindings. TableBlock UX updates and Component Setting updates 2023-08-24 14:39:53 +01:00
Andrew Kingston a22fc8d208 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-24 12:07:23 +01:00
Andrew Kingston 07e5f04b6a Merge 2023-08-23 16:36:12 +01:00
Andrew Kingston f0e7f481de Merge branch 'design-section-feature-branch' of github.com:Budibase/budibase into screen-theme-rightpanel 2023-08-23 16:20:55 +01:00
Andrew Kingston 9869b0cbc8 Lint 2023-08-23 15:50:00 +01:00
Andrew Kingston a352f8ee0a Merge branch 'design-section-feature-branch' of github.com:Budibase/budibase into new-left-panel 2023-08-23 14:46:30 +01:00
Andrew Kingston 5d4124be4a Merge branch 'develop' of github.com:Budibase/budibase into design-section-feature-branch 2023-08-23 14:46:08 +01:00
Andrew Kingston 38e8ff879a Make new screen a dedicated route and remove duplication. Fix some issues when deleting selected screens 2023-08-23 11:14:04 +01:00
Andrew Kingston 607a36e2e4 Improve route handling when creating new components and screens 2023-08-23 11:03:00 +01:00
Andrew Kingston 0ea81f98d6 Update panel headings to match new designs 2023-08-22 16:29:40 +01:00
Dean 4c822663e8 Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-21 12:50:26 +01:00
Andrew Kingston 6d46fb2963 Merge branch 'develop' of github.com:Budibase/budibase into views-v2-frontend 2023-08-21 11:57:28 +01:00
Gerard Burns e5f818a0ce Reuse Component Panel 2023-08-20 14:59:22 +01:00
mike12345567 7110351bdc Revert "revert develop into master"
This reverts commit fd099658a0.
2023-08-18 14:33:21 +01:00
Gerard Burns 6886a312c5 New Left Panel for Design 2023-08-18 12:46:41 +01:00
Gerard Burns e3cfdd537a New Nav component (#11266) 2023-08-18 12:46:06 +01:00
mike12345567 e174211440 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-08-17 17:34:44 +01:00
melohagan b57a8c1130 Move when filter empty option into filter drawer (#11262)
* Add when filter empty dropdown

* Add unit tests

* "fix" typescript issue

* Add empty filter check for external

* Add unit test

* Hide empty filter option for custom query

* Make onEmptyFilter optional

* Fix unit tests

* Remove onEmptyFilter automation input

* Remove unused var

* Refactor

* Fix path

* Fix type issue

* Fix types
2023-08-17 13:31:52 +01:00
Martin McKeaveney fd099658a0 revert develop into master 2023-08-17 10:28:15 +01:00
Dean 29c8dbd94a Merge remote-tracking branch 'origin/develop' into feature/form-block-ux-updates 2023-08-11 14:20:25 +01:00
mike12345567 a24e1809b6 Merge branch 'views-v2-frontend' of github.com:Budibase/budibase into views-v2-frontend 2023-08-11 13:16:56 +01:00
Mel O'Hagan 1730b26489 Merge branch 'develop' into budi-6298-change-form-step-should-support-bindings 2023-08-11 07:43:40 +01:00
Michael Drury 08e663a8d3 Merge branch 'master' into budi-7350-filter-equal-for-numbers-not-working-in-data-providers 2023-08-10 16:28:59 +01:00
Andrew Kingston 08b348c1d4 Allow selecting viewV2s for grid blocks and form blocks 2023-08-09 16:22:12 +01:00
Andrew Kingston 06810d43d9 Add support for viewV2 datasources in client library 2023-08-09 15:09:53 +01:00
Mel O'Hagan 22b456da5e Allow form step to be bindable 2023-08-08 17:13:40 +01:00
Andrew Kingston 9ddb8f4c5f Merge branch 'develop' of github.com:Budibase/budibase into global-bindings 2023-08-07 13:04:34 +01:00
Mel O'Hagan 057761fdd9 Update filters types with schemaFields 2023-08-03 18:13:51 +01:00
Dean cb2a19620b Initial commit 2023-08-03 09:29:12 +01:00
Adria Navarro de0f3f7463 Merge branch 'develop' into backmerge-master-20230726 2023-07-26 12:50:52 +01:00
Dean a5b81558b9 Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-25 15:42:01 +01:00
Andrew Kingston b8bc25a39a Merge branch 'develop' of github.com:Budibase/budibase into global-bindings 2023-07-25 09:43:58 +01:00
Dean d97c44725f Stopped query binding value from being cleared. Shifted the bound value updated to an onChange handler 2023-07-24 17:45:41 +01:00
Dean d94fe7c2eb Moved screen settings/theme into the new rightpanel structure. Refactord the color picker to help with positioning. Removed dead home link 2023-07-20 11:32:48 +01:00
Gerard Burns 1d0ab398cd New Design Section Nav Component 2023-07-18 15:55:06 +01:00
Andrew Kingston ae8ed1a1e5 Add filtering to relationship picker 2023-07-18 09:36:20 +01:00
Andrew Kingston 7c7d909d81 Update validation editor setting to be full width and have descriptive text 2023-07-18 08:56:16 +01:00
Dean a481eee39e Binding selection fixes, delete controller refactor and some fixes 2023-07-14 09:11:34 +01:00
Dean ccb82e5575 Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-13 09:11:16 +01:00
Adria Navarro c7f6f6b73c Merge branch 'develop' into backmerge-20230711 2023-07-11 15:34:58 +01:00
melohagan 89c0d3b389 Add BigInt type support (#11145) (#11195)
* Add BigInt type

* Allow BigInt columns to be added

* Sort fixes

* Add BigInt field
2023-07-11 14:01:55 +01:00
Andrew Kingston 85e1073dec Merge pull request #11109 from Budibase/new-design-empty-state
New Empty State for Design Section
2023-07-11 13:55:08 +01:00
Andrew Kingston 05e5e58073 Merge pull request #11193 from Budibase/action-setting-update
Settings updates
2023-07-11 13:15:41 +01:00
Dean d99ef7277a Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-11 12:51:31 +01:00
Dean 94fc6d8b0f Merge commit 2023-07-11 12:47:17 +01:00
Andrew Kingston a2d4a8afd8 Merge pull request #11162 from Budibase/fix/duplicate-bindings-when-editing-button-actions
Filter duplicate state bindings when editing Update State button action.
2023-07-11 12:12:52 +01:00
Andrew Kingston 83f7b28fdd Update field configuration setting to be full width and show number of fields 2023-07-11 11:17:11 +01:00
Andrew Kingston 50451c8c43 Update columns setting to show the number of columns 2023-07-11 11:14:02 +01:00
Andrew Kingston f084a36fe7 Update action setting to be full width 2023-07-11 11:11:25 +01:00
melohagan 0ccfaf03af Fixing problems when switching between match any and match all (#11179)
* Make sure displayed filter count is correct

* Fix for false boolean filter
2023-07-11 10:06:19 +01:00
melohagan 7a06fcee0f Add BigInt type support (#11145)
* Add BigInt type

* Allow BigInt columns to be added

* Sort fixes

* Add BigInt field
2023-07-07 15:11:41 +01:00
Gerard Burns 808e0d1ef2 Linting improvements (#11119) 2023-07-05 18:00:50 +01:00
Dean 3ae4493903 Filter out old or unused bindings when editing update state button actions 2023-07-05 17:35:20 +01:00
Gerard Burns 64129fa6b9 Replace screen creation modal with page 2023-07-04 12:01:03 +01:00
melohagan 74b3b3dcc3 Add section setting to field group (#11110)
* Add section setting to field group

* Left aligned fix for oneColumn only

* Only use section for above label position
2023-07-04 10:46:53 +01:00
melohagan c9589c1edc Apply column order for Grid block (#11099)
* Apply column order for Grid block

* Refactor

* Do not allow column reorder for Grid block

* Refactor
2023-07-04 08:34:59 +01:00
Dean 22ae329a2a Fix to ensure screens are listed in the navigateTo button action and that any URL configured there is trimmed 2023-07-03 14:48:36 +01:00
Gerard Burns 1274bc32c3 New Design Empty State 2023-07-03 14:12:01 +01:00
Peter Clement 61853e447f remove log 2023-06-28 16:37:17 +01:00
Peter Clement 8c7657a1b6 css tidy 2023-06-28 16:35:40 +01:00
Peter Clement 847684daf1 update sync automation css 2023-06-28 15:59:04 +01:00
Peter Clement c5df68973e update Trigger Automation button action to be more intuitive 2023-06-28 15:05:46 +01:00
Andrew Kingston aebc3b2bb8 Merge branch 'develop' of github.com:Budibase/budibase into grid-block 2023-06-26 09:05:06 +01:00
melohagan a97518ff39 Scroll to field button action (#10901)
* Scroll To Field WIP

* Scroll to the label
2023-06-23 11:51:49 +01:00
Andrew Kingston 9fd04cc2c7 Update multiple settings components to enable more generic usage of column selectors and remove some bespoke copy from generic components. Enable display names for grid columns 2023-06-19 18:49:57 +01:00
Andrew Kingston 7b75d7f13d Update column editor and filter editor to make action buttons full width 2023-06-19 18:32:03 +01:00
Jonny McCullagh 757ca6a166 Merge master develop (#10897)
* Binding drawer fixes

* Added missing headless flag for the bindable combobox

* Fix for QueryEditor width

* Fix svelte transitions in grid new row component breaking routify

* Bump version to 2.7.7

* fix REST connector failure to save

* Bump version to 2.7.8

* Bump version to 2.7.9

* Unexpected token when export data (#10721)

* Tidy ID string for JSON parse

* Display error for composite keys

* Unit test WIP

* directly assign the mock function on the datasource

* Unit tests for exportRows ID handling

---------

Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>

* Return all rows if oneOf value is falsey (#10638)

* Bump version to 2.7.10

* Make sure divider fields are left-most (#10627)

* Make sure divider fields are left most

* Refactor

* Bump version to 2.7.11

* Temporarily remove the focus store update as it triggers a full redraw of the component settings

* Linting

* Removed commented out code

* Bump version to 2.7.12

* Bump version to 2.7.13

* Do not show Business tag for Email action (#10867)

* Bump version to 2.7.14

* new deploy trigger (#10892)

* point the deploys at the new env

* Bump version to 2.7.15

---------

Co-authored-by: Dean <deanhannigan@gmail.com>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
Co-authored-by: Budibase Staging Release Bot <>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
Co-authored-by: Martin McKeaveney <martin@budibase.com>
Co-authored-by: melohagan <101575380+melohagan@users.noreply.github.com>
Co-authored-by: Adria Navarro <adria@budibase.com>
2023-06-14 16:18:09 +01:00
Dean cd95df629e Merge remote-tracking branch 'origin/develop' into feature/binding-v2-updates 2023-05-31 11:07:47 +01:00
Martin McKeaveney 0c5681d3a1 Merge pull request #10635 from GitStartHQ/BUDIOSS-20
Automation panel does not scroll
2023-05-30 22:03:51 +01:00
Dean e8c6185add Refactoring and some styling updates 2023-05-29 21:19:44 +01:00
Dean 0730c15b14 Merge remote-tracking branch 'origin/develop' into feature/binding-v2-updates 2023-05-28 22:29:47 +01:00
Peter Clement 221d03c153 fix reactivity bug with synchronous param 2023-05-26 13:18:08 +01:00
Dean 56bac67d49 Merge commit 2023-05-26 10:11:51 +01:00
Peter Clement f91b599b72 fix import 2023-05-24 14:56:37 +01:00
gitstart b2f3455b19 update fix: automation panel does not scroll
Co-authored-by: jaysoni-ash42 <jsoni775566666@gmail.com>
2023-05-18 11:48:57 +00:00
Peter Clement 27e78206c4 remove logs and copy changes 2023-05-15 14:49:05 +01:00
Peter Clement dcfb65b92d sync / async automations go through one endpoint 2023-05-12 15:56:24 +01:00
Peter Clement 1539bf234b add ability to trigger synchronous automation from button action 2023-05-09 12:10:20 +01:00
Andrew Kingston d03f96ceb8 Make all blindings global and improve client component performance 2023-04-28 09:03:09 +01:00
Gerard Burns 0c38124f6a Form Block Improvements (#10404)
* Form Block Improvements

* PR Fixes

* PR feedback
2023-04-25 09:57:21 +01:00
Andrew Kingston 9025e18f15 Misc fixes (#10345)
* Fix some issues with component and screen settings layout

* Fix issue with component setting labels when multi-line

* Remove early termination of form validation when encountering an errored field

* Update free logo badge to be a sticky footer

* Close side panels when clicking on links
2023-04-19 14:21:11 +01:00
melohagan 6ca999722c Add file/upload size validation option (#10262)
* Add file/upload size validation option

* Max upload size handler

* Update max total upload label
2023-04-12 11:51:18 +01:00
Rory Powell d6992bbf94 Merge branch 'master' into merge-master-develop 2023-03-29 11:52:09 +01:00
Andrew Kingston f2b12bcf45 Component error state improvements (#10136)
* Tidy logic for creating initial component instances

* Add initial implementation of enriching empty settings

* Fix regression that prevented custom placeholders from working (#9994)

* Tidy up

* Add automatic naming of form fields when added

* Update missing required setting placeholder

* Improve error states and add ability to automatically wrap a component in a required parent type

* Fix crash in column editor and rename component placeholder to error state

* Select the parent component after adding it when wrapping a component with a missing ancestor

* Fix blocks and make fields require forms

* Improve empty component placeholder

* Lint
2023-03-28 21:11:33 +01:00
Andrew Kingston 8d79a23700 Fix component settings which have no labels appearing as undefined in the conditional UI drawer 2023-03-16 08:30:16 +00:00
Andrew Kingston 1508d4aea3 Update all setting labels to be correctly cased and sized to fit new layout 2023-03-09 08:47:32 +00:00
Andrew Kingston db7f267887 Update component settings to be left aligned and update long component settings labels to be shorter 2023-03-08 19:22:19 +00:00
deanhannigan d5f7a27d07 Component settings section tabs (#9895)
* Added tabs to the component settings section in the builder

* Review updates

* Update setting tab buttons to be size M and use a lighter font color when selected

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2023-03-08 14:40:13 +00:00
melohagan 09cf4f8bbc Dynamic filter: Enrich columns (#9877)
* WIP

* Allow related fields in Dynamic Filter

* REST URL check https first

* Only allow related fields in dynamic filter column editor
2023-03-07 10:32:52 +00:00
Martin McKeaveney f7d6c37fc7 merge 2023-03-03 16:49:04 +00:00
melohagan 6a6bbb38c4 Support navigate to link in new tab (#9800)
* Support navigate to link in new tab

* Add dropdown for Navigate To type

* lint

* Remove labels
2023-03-01 17:41:50 +00:00
Andrew Kingston 8cd7ba1fdf Undo/Redo for Design and Automate sections + automations refactor (#9714)
* Add full undo/redo support for screens

* Add loading states to disable spamming undo/redo

* Add keyboard shortcuts for undo and redo

* Fix modals not closing in design section when escape is pressed

* Remove log

* Add smart metadata saving to undo/redo

* Add error handling to undo/redo

* Add active state to hoverable icons

* Fix screen deletion

* Always attempt to get latest doc version before deleting in case rev has changed

* Move undo listener top level, hide controls when on certain tabs, and improve selection state

* Add tooltips to undo/redo control

* Update automation section nav to match other sections

* Fix automation list padding

* Fix some styles in create automation modal

* Improve automation section styles and add undo/redo

* Update styles in add action modal

* Fix button size when creating admin user

* Fix styles in add automation step modal

* Fix issue selecting disabled automation steps

* Reset automation history store when changing app

* Reduce spammy unnecessary API calls when editing cron trigger

* WIP automation refactor

* Rewrite most automation state

* Rewrite most of the rest of automation state

* Finish refactor of automation state

* Fix selection state when selecting new doc after history recreates it

* Prune nullish or empty block inputs from automations and avoid sending API requests when no changes have been made

* Fix animation issues with automations

* Sort automations and refetch list when adding or deleting

* Fix formatting

* Add back in ability to swap between values and bindings for block inputs

* Lint

* Format

* Fix potential issue in design section when selected screen is unset

* Fix automation arrow directions everywhere, tidy up logic and fix crash when using invalid looping

* Lint

* Fix more cases of automation errors

* Fix implicity any TS error

* Respect _id specified when creating automations

* Fix crash in history store when reverting a change on a doc whose ID has changed

* Lint

* Ensure cloneDeep helper doesn't crash when a nullish value is passed in

* Remove deprecated frontend automation test

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-23 13:55:18 +00:00
Andrew Kingston 8047a0fc4c Fix error being thrown when attempting to change query parameters (#9782) 2023-02-23 08:09:18 +00:00
mike12345567 f7f9e63fe8 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-21 16:53:28 +00:00
melohagan 53f6b2b6e6 Null safety (#9746) 2023-02-20 11:03:37 +00:00
Gerard Burns 8289da3f19 Add Fetch Row Button Action (#9653)
* Add Fetch Row Button Action

* PR feedback
2023-02-17 14:49:35 +00:00
Rory Powell bb1faac62a Merge master into develop 2023-02-15 15:10:02 +00:00
melohagan fb74956c93 Date filter freeze fix (#9635)
* Filter with enrichedSchemaFields

* Handle empty object values in date range
2023-02-15 09:27:44 +00:00
melohagan ee054adf39 Longform fields support for JSON string (#9666) 2023-02-13 11:06:33 +00:00
Martin McKeaveney d4a0e44b31 merge 2023-02-05 22:11:37 +00:00
Dean 8e78b075fd Feedback updates. Backed out parsing and simply renamed the field config property 2023-02-03 10:22:36 +00:00
Dean 90be29452b Removed extra forward slash in qr reader field type. 2023-02-02 17:58:35 +00:00
Dean 73f3fc41cb Bug fixes for logo and binding validation. Random fix for a button actions issue found while testing 2023-02-02 12:49:26 +00:00
Andrew Kingston 91a3707527 Generate bindings for unsaved "Update State" actions (#9508)
* Ensure update state actions have a binding for their own key

* Make own binding generation more futureproof

* Refactor array.find to array.some

* Move state binding generation up a level to account for all actions needing to be able to reference newly created state bindings
2023-02-01 17:53:50 +00:00
Andrew Kingston 6e12c3fa3c Remove most traces of data-cy attributes 2023-02-01 08:20:46 +00:00
melohagan 919323b500 Fix/automation update deletes relationship (#9468)
* Add padding to text field input

* Apply padding to modal binding input

* Support relationships in automation bindings

* Trim automation field keys

* Trim automation field name

* Empty string check

* Add checkbox for clearing relationships update row

* Added state for automation field metadata

* clearRelationships updateRow check

* Padding tweak
2023-01-31 10:11:56 +00:00
Andrew Kingston a3e555c85e Misc fixes (#9383)
* Shrink cloud upgrade button to proper size

* Add brackets to fix operator precedence when ejecting blocks to prevent undefined custom CSS

* Prevent relationship fields in forms from being used as datasources

* Remove extraneous navigation when adding a component which caused next navigation to fail

* Improve form logic concerning when to fully remount itself to fix issues with stale schema being passed in
2023-01-19 09:47:10 +00:00
Andrew Kingston b06c6852a3 Optimise client library performance with skeleton loaders (#9256)
* Treat empty string default values as nullish when considering whether field default values should be applied to the real field value

* Add flag to allow not loading data immediately upon creation of a data fetch object

* Use loading context inside forms to avoid wasted renders while form schema are loading

* Wait for parent data providers to finish loading before loading their own data

* Optimise data provider to reduce updates as much as possible

* Allow forms to render content immediately again, but use the loading context to inform data providers to wait for them

* Remove fetchOnCreation flag for data fetches as now redundant

* Fix issue with deleting the selected button action when the next action has no parameters

* Lint
2023-01-11 08:01:41 +00:00
melohagan 88bda769a4 Merge pull request #8911 from Budibase/bug/sev2/custom-sql-query-bindings
Update custom sql query in design when changed in the data section
2023-01-10 16:51:27 +00:00
Andrew Kingston 3b1819952d Builder data section routing refactor (#8996)
* Improve theming with spectrum badges and dedupe spectrum label usage

* Update data section nav to match designs and use panel component

* Fix main content layout in data section

* Update data section routing for tables

* Improve data section routing for tables to account for edge cases

* Update internal and sample datasource routing

* Update external datasource routing

* Update routing for queries and make a top level concept like everything else

* Update routing for views

* Fix undefined reference when deleting datasource

* Reduce network calls and fix issues with stale datasourcenavigator state

* Update routing for REST queries and unify routes for normal queries and REST queries

* Lint

* Fix links for queries from datasource details page

* Remove redundant API calls and improve table deletion logic

* Improve data entity deletion logic and redirection and fix query details keying

* Improve determination of selected item in datasource tree

* Lint

* Fix BBUI import

* Fix datasource navigator selected state not working for internal DB or sample data
2022-12-17 14:13:06 +00:00
FlaminWrap a1ee10c1c6 Button action for user prompt (#8676)
* Commit for enhancement #7762

Added Question option for buttons which acts as a dialog prompting the user to confirm or cancel before continuing.

* Fixes

* Made changes to allow custom modal title

Changed Question to User Prompt
Allows custom title

* Revert "Made changes to allow custom modal title"

This reverts commit 42a43bef4914cd52b07a2b6964bf78aa50eb2707.

* Revert "Fixes"

This reverts commit 915a8718e5ac6dd32a6c3d377d5edb02fc8a3138.

* Adds custom title

Adds custom title

* Wrong version of buttonActions was commited

* Delete index.js

* refactor

* lint

Co-authored-by: Mel O'Hagan <mel@budibase.com>
2022-12-15 16:21:24 +00:00
Andrew Kingston 090ae5df49 Master => Develop (#9049)
* v2.1.46

* Update pro version to 2.1.46

* v2.2.0

* Update pro version to 2.2.0

* Fix for budibase plugin skeleton, which utilises the old import style.

* Fix side nav styles

* v2.2.1

* Update pro version to 2.2.1

* using dist folder to allow importing constants for openAPI specs

* v2.2.2

* Update pro version to 2.2.2

* Fix for user enrichment call (updating to @budibase/nano fork) (#9038)

* Fix for #9029 - this should fix the issue users have been experiencing with user enrichment calls in apps, essentially it utilises a fork of the nano library we use to interact with CouchDB, which has been updated to use a POST request rather than a GET request as it supports a larger set of data being sent as query parameters.

* Incrementing Nano version to attempt to fix yarn registry issues.

* v2.2.3

* Update pro version to 2.2.3

* Fix SQL table `_id` filtering (#9030)

* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field

* Remove like operator from internal tables and only allow basic operators on SQL table _id column

* Update data section filtering to respect new rules

* Update automation section filtering to respect new rules

* Update dynamic filter component to respect new rules

Co-authored-by: Martin McKeaveney <martin@budibase.com>
Co-authored-by: Budibase Release Bot <>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-12-15 12:13:42 +00:00
Andrew Kingston c3b6afbb6f Fix SQL table `_id` filtering (#9030)
* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field

* Remove like operator from internal tables and only allow basic operators on SQL table _id column

* Update data section filtering to respect new rules

* Update automation section filtering to respect new rules

* Update dynamic filter component to respect new rules
2022-12-15 09:22:28 +00:00
Andrew Kingston e26d5096ae Merge branch 'cheeks-fixes' of github.com:Budibase/budibase into cheeks-fixes 2022-12-07 09:54:47 +00:00
Andrew Kingston 608576ff3b Remove console log 2022-12-07 09:02:31 +00:00
Andrew Kingston d4a7412163 Update filter labels to reflect that more than and less than also include equal to 2022-12-07 09:00:29 +00:00
Andrew Kingston 0e9477b982 Fix filter drawer and filtering in general across data, design and automate and update to support keyed fields and 'match any' 2022-12-07 08:57:17 +00:00
Andrew Kingston 783e95b688 Merge pull request #8667 from FlaminWrap/Flaminwrap-Enhancement-7604
Allow user to disable hard coded notifications for button actions #7604
2022-12-05 09:36:31 +00:00
Mel O'Hagan 32285a2a1f Update value with new query 2022-12-02 15:10:43 +00:00
Rory Powell 7a7bbd1857 Merge branch 'master' into develop 2022-12-01 14:39:05 +00:00
Mel O'Hagan 2e5744eedd Remove _id from filter field list in external dbs 2022-11-29 11:00:54 +00:00
Mel O'Hagan 57f695ac3c Don't add numbering to primary key 2022-11-24 18:24:38 +00:00
Andrew Kingston c01b9af1f0 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-22 16:52:09 +00:00
deanhannigan c5df700d82 Merge pull request #8672 from Budibase/feature/default-internal-datasource
Default Datasource and sample row data
2022-11-22 10:32:12 +00:00
Mel O'Hagan f385d7a6a9 Refactor 2022-11-21 16:24:24 +00:00
Mel O'Hagan f1c6d15999 Merge branch 'develop' into feature/dynamic-filter-custom-labels 2022-11-21 16:20:05 +00:00
Dean 64e7239d42 Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-21 15:40:11 +00:00
Mel O'Hagan 8fae013203 Add subject prop 2022-11-21 15:11:21 +00:00
Mel O'Hagan e7becbf849 Remove duplication 2022-11-21 14:48:26 +00:00
Mel O'Hagan 79dc972c56 Don't allow cell edit for dynamic filter col conf 2022-11-18 16:19:49 +00:00
Andrew Kingston e8b993b14c Add working side panels to table blocks 2022-11-17 10:16:45 +00:00
Dean f73b4f8b01 Review updates 2022-11-15 17:03:35 +00:00
Andrew Kingston fa3de9f0ac Lint 2022-11-15 13:04:09 +00:00
Andrew Kingston e7061647da Ensure action parameters can never be null and fix display of close screen modal action 2022-11-15 12:52:06 +00:00
Andrew Kingston e37027f808 Use explicit actions for opening and closing side panels, and automatically close side panels when using form blocks 2022-11-15 11:54:20 +00:00
Andrew Kingston aa81e0451a Add button action for showing/hiding side panels 2022-11-14 15:02:57 +00:00
Dean ff7a3b8cef Default Datasource and sample row data 2022-11-13 21:37:50 +00:00
FlaminWrap 0859691afe Ran yarn lint:fix
Ran yarn lint:fix as I forgot to do that
2022-11-13 17:25:48 +00:00
FlaminWrap e190f932d8 Commit for enhancement #7604
Added a checkbox to allow the user to disable the default notifications to the following button actions:
* Save row
* Duplicate row
* Trigger automation
* Execute query
* Delete row
Also adjusted buttonActions.js to reflect the behaviour of that checkbox being ticked.
2022-11-13 17:08:23 +00:00
Martin McKeaveney 87717ebdf5 merge with master 2022-10-31 13:44:23 +00:00
Andrew Kingston 603c8744a5 Merge branch 'master' into master-develop 2022-10-25 12:03:33 +01:00