Commit Graph

74 Commits

Author SHA1 Message Date
Andrew Kingston e3f73473c3 Update only user check to account for 0 users 2023-07-07 09:13:26 +01:00
Andrew Kingston aedd04b98a Fix issue with location of socket metadata 2023-07-05 09:02:10 +01:00
Andrew Kingston 99bf0ca03b Sync publish and unpublish events between all users 2023-07-04 13:18:38 +01:00
Andrew Kingston 7be2d6896e Add indicators to show selected state in data section 2023-07-04 08:58:14 +01:00
Andrew Kingston 3794d8e204 Simplify websocket comms for grid and improve builder socket 2023-05-18 08:57:20 +01:00
Andrew Kingston 6ed691be1d Improve builder socket 2023-05-16 14:18:31 +01: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
Dean 60feccaac0 Merge commit 2022-09-13 11:52:31 +01:00
Andrew Kingston edfb0fa50d Ensure state never gets out of sync when saving app metadata by using server response to update state 2022-07-15 13:09:13 +01:00
Andrew Kingston 88018aff4e Add initial layouts panel and add explicit panels for theme and navigation tabs 2022-05-11 12:47:24 +01:00
Andrew Kingston b83ea1f682 Update screen sorting to sort using url param order 2022-05-11 09:04:33 +01:00
Andrew Kingston 9679956d46 Remove concept of selected access role and refactor logic around assigning roles to new screens 2022-05-11 08:47:24 +01:00
Andrew Kingston 063a1d67c1 Centrally sort screens to allow consistency across design UI 2022-05-10 13:32:34 +01:00
Andrew Kingston 168ec6634e Add back in working component tree with scrolling and dropdown menus 2022-04-26 13:44:21 +01:00
Andrew Kingston 877791970a Add screen settings panel 2022-04-25 19:59:30 +01:00
Andrew Kingston 1e59576a30 Update routify structure to prevent remounting full page when changing URL params and update nav item wrapping 2022-04-25 19:33:43 +01:00
Andrew Kingston 0ffd080b0f Fix issue when currentAsset is null and fix overflow when no screens for current role 2022-03-21 15:21:29 +00:00
Andrew Kingston 53ce97b9de Ensure the component tree containing the selected component cannot be hidden 2022-03-21 15:17:51 +00:00
Andrew Kingston 990442b45e Add optional chaining to all current asset references to account for nullish values 2022-03-08 17:57:36 +00:00
Rory Powell e0dcc7648c Remove server -> worker request to retrieve apps, remove hosting endpoints and store 2022-01-21 17:31:18 +00:00
Andrew Kingston cd5d370e7b Allow using JSON field arrays as a data provider source and add data bindings for nested JSON fields 2021-12-06 11:41:17 +00:00
Martin McKeaveney 0a7512a4d9 changed events to constants, instantiated analytics client at right time 2021-09-21 20:21:15 +01:00
Martin McKeaveney 184061a56b analytics clients 2021-09-21 11:47:14 +01:00
Keviin Åberg Kultalahti 3b570fff83 moves admin store to `stores/portal` 2021-05-05 18:52:45 +02:00
Martin McKeaveney cb02c9bf58 google oauth UI 2021-05-04 17:31:06 +01:00
Andrew Kingston 797e8a8b67 Add explicit prettier options 2021-05-04 11:32:22 +01:00
Keviin Åberg Kultalahti 0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00
Martin McKeaveney d82516d949 remove buildertoken refs 2021-04-13 14:00:09 +01:00
Martin McKeaveney 98576f586e login page 2021-04-11 11:35:55 +01:00
mike12345567 30b7678c78 Fixing an issue with builder auth, adding a temporary endpoint which the server can set builder token on. 2021-04-07 16:08:29 +01:00
Keviin Åberg Kultalahti 5deceb7928 remove backendUiStore 2021-03-23 13:42:03 +01:00
Andrew Kingston e909ff584a Make screens searchable and make routes collapsible 2021-03-09 19:06:25 +00:00
Andrew Kingston af73139a87 Merge branch 'master' of github.com:Budibase/budibase into form-builder 2021-01-12 20:05:24 +00:00
Andrew Kingston 9b035df33e WIP component management and definition refactor 2021-01-12 20:00:35 +00:00
mike12345567 207415a932 Merge branch 'master' of github.com:Budibase/budibase into feature/self-hosting 2020-12-22 16:24:34 +00:00
mike12345567 21978007cf Adding feature to allow configured the builder to point at a self hosted system instead of production (for deployment). 2020-12-15 16:41:55 +00:00
Andrew Kingston 8b352fe40a Allow independent selection of screen IDs and layout IDs so that selections persist between toggling tabs. Update logic around role selection and screen filtering 2020-12-14 11:14:16 +00:00
Andrew Kingston e5a34871c7 Add role selection for viewing screens and smart handling of preview screen 2020-12-09 18:18:47 +00:00
Andrew Kingston ff3e79696d Fix bug which caused autolinks to not be generated 2020-12-08 15:21:01 +00:00
Martin McKeaveney a9d0c68a60 component store refactor - remove concept of currentPreviewItem and currentComponentInfo 2020-12-07 15:27:46 +00:00
Martin McKeaveney 6b5c1ffafa consolidate routing and component selection 2020-12-05 12:09:58 +00:00
Martin McKeaveney 277524b86e accommodate login layout 2020-12-03 17:31:38 +00:00
Martin McKeaveney 33c40063af layouts and screens switcher, merge with component sdk 2020-12-01 16:22:06 +00:00
mike12345567 8a013c33c3 Major re-work, client library stills needs some work but it appears layouts and screens are no longer inter-dependent. 2020-11-25 17:56:09 +00:00
mike12345567 e1314b0d88 Starting work on builder, very broken. 2020-11-24 18:11:34 +00:00
Martin McKeaveney a00bf70d29 further store tidy up, derive selected page 2020-11-19 11:15:29 +00:00
mike12345567 e15288fffb Linting. 2020-11-06 12:31:47 +00:00
mike12345567 d57368eb8b Refactoring to replace the use of frontend store.screens with derived allScreens and currentScreens. 2020-11-05 17:47:27 +00:00
Martin McKeaveney 1106026687 cut over to new frontend store 2020-11-04 17:09:45 +00:00
Martin McKeaveney eeb6df894e feature parity with current pages, screens and store setup. Starting main bb store refactor 2020-11-04 16:13:50 +00:00