Commit Graph

1098 Commits

Author SHA1 Message Date
Dean 52bfaa820c Merge remote-tracking branch 'origin/develop' into feature/app-user-onboarding-ux 2023-02-27 09:12:07 +00:00
Dean 83a764b76e Merge commit 2023-02-27 09:11:32 +00:00
Andrew Kingston f3a28e556b
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 71aa70e9d0
Attempt to fix flakey 409s when deleting screens that are linked in the nav (#9700) 2023-02-16 13:33:53 +00:00
Andrew Kingston 6946647f98
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
deanhannigan 7a1464bb9d
Merge pull request #9409 from Budibase/feature/user-onboarding-overlays
Feature/user onboarding overlays
2023-01-31 16:37:18 +00:00
Rory Powell be5b8347ef Merge branch 'develop' into feature/environment-variables 2023-01-27 11:27:11 +00:00
Peter Clement ce555a3c8e fix license check 2023-01-26 16:16:56 +00:00
Peter Clement 0d57384642 gate env vars in binding drawers behind license 2023-01-26 15:09:20 +00:00
Peter Clement 4e9186d58e add envrionment bindings to automations 2023-01-26 14:59:29 +00:00
Peter Clement 3c1d17bb47 add environment bindings to rest query binding drawer 2023-01-25 11:39:13 +00:00
Dean 103bdeaf53 Merge remote-tracking branch 'origin/develop' into feature/user-onboarding-overlays 2023-01-23 09:34:20 +00:00
Dean 37a454a7d3 Added new onboarding tour flow for builder 2023-01-23 00:32:01 +00:00
Andrew Kingston edb05e1e71
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 e9f7fc9714 Merge branch 'cheeks-fixes' of github.com:Budibase/budibase into cheeks-fixes 2022-12-07 09:54:47 +00:00
Andrew Kingston c6172ccd2d Fix issue with not being able to update component names 2022-12-06 15:32:50 +00:00
Gerard Burns a64436c9c8
Multifield Input Autoselect All Fields (#8884)
* Multifield Input Autoselect All Fields

* PR Feedback

* PR Feedback

* Linting
2022-12-05 12:09:27 +00:00
Andrew Kingston 02ef58c7fc Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-29 12:22:56 +00:00
Michael Drury 1f0570907a Merge branch 'master' of github.com:Budibase/budibase into develop 2022-11-29 11:13:54 +00:00
Andrew Kingston 6521587db3 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-28 09:57:12 +00:00
Mel O'Hagan 7deef86cb2 Only uncheck other homescreens if homescreen set 2022-11-24 13:24:09 +00:00
Dean 13616e5966 Review updates 2022-11-23 17:12:23 +00:00
Andrew Kingston d0dc9adcca Update auto screens to only generate a single list screen using new side panels 2022-11-23 15:04:51 +00:00
Andrew Kingston 2f129e94fc Remove log 2022-11-23 12:33:14 +00:00
Dean da089a5b7b Review updates 2022-11-21 17:07:00 +00:00
Andrew Kingston a83ce95f8e Improve makeComponentUniqueUtil and improve ejected table block structure 2022-11-17 14:49:13 +00:00
Andrew Kingston bc6a0b2f22 Add working side panels to table blocks 2022-11-17 10:16:45 +00:00
Dean b616378519 Ensure 'table' type sources are updated with a default datasource. Search visible settings sections for other elements IF a source is not already set. 2022-11-16 15:03:45 +00:00
Dean c41a0f8d78 Default datasource behaviour with order of preference: DefaultDB, Internal then External 2022-11-15 14:29:58 +00:00
Andrew Kingston 7d97ef1ff5 Add button action for showing/hiding side panels 2022-11-14 15:02:57 +00:00
Dean f3f5400626 Temporarily disable screen component validation 2022-11-03 14:27:47 +00:00
Andrew Kingston 6e0e89bbf7 Improve performance by fixing multiple instances of redundant client app initialisations 2022-10-21 16:54:01 +01:00
Andrew Kingston 1f1a48b666 Ensure allowed component list is actually accurate and prevent any way around illegal component nesting 2022-10-20 19:49:14 +01:00
Andrew Kingston fb84674e24 Add proper validation for nesting illegal combinations of components 2022-10-20 16:03:53 +01:00
Andrew Kingston 0c2e286ca7 Use a container as the DND placeholder and use approx size when dragging into grids 2022-10-19 14:39:28 +01:00
Andrew Kingston 465d10a8be Allow grid DND without selecting components 2022-10-18 18:29:21 +01:00
Andrew Kingston c21a7b3e89 Merge branch 'dnd-improvements' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-10-18 08:12:11 +01:00
Andrew Kingston 7bf5cad453 Fix selected rows bindings for table blocks not having a category 2022-10-15 13:06:34 +01:00
Andrew Kingston b638324ce2 Prevent crash when determining datasource schema for non string type values 2022-10-15 12:58:32 +01:00
Andrew Kingston d166cbb466 Lint and prevent scrolling to selected component when starting dragging 2022-10-14 19:45:47 +01:00
Andrew Kingston d997afffc0 Add ability to drag new components into the preview 2022-10-14 13:37:14 +01:00
Dean 2c2a98c163 Merge remote-tracking branch 'origin/develop' into feature/blocks-in-auto-screens 2022-10-13 16:54:55 +01:00
Dean f5089e52c6 Initial commit, refactoring of autoscreens to incorporate blocks 2022-10-11 17:05:19 +01:00
Dean 91e63ca2c9 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-10 09:08:48 +01:00
Andrew Kingston a13c309759 Merge branch 'develop' of github.com:Budibase/budibase into form-block 2022-10-07 12:45:53 +01:00
Andrew Kingston e41078f265 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-10-07 11:31:32 +01:00
Dean ad13bbb25c Renamed the 'Scanned Code' field type to 'Barcode/QR'. The component is also now listed as 'Barcode/QR Scanner'. Minor fix to include longform text columns in the table csv import list 2022-10-07 11:00:25 +01:00
Dean 4b5fa6a093 Review feedback changes. Changed 'Code' labelling to 'Scanned Code' 2022-10-06 13:02:17 +01:00
Dean 450e3174b0 Removed filter excluding links from user bindings. 2022-10-05 12:40:53 +01:00
Dean 5836c2b3c4 Initial commit of QR Reader field 2022-10-05 09:28:07 +01:00