1
0
Fork 0
mirror of synced 2024-06-01 10:09:48 +12:00
Commit graph

30 commits

Author SHA1 Message Date
Gerard Burns 808e0d1ef2 Linting improvements (#11119) 2023-07-05 18:00:50 +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
Martin McKeaveney 41e004b18b bunch of small UX updates around row creation, borders, new buttons 2022-11-06 22:35:33 +00:00
mike12345567 c525721854 Fix for #6709 - Adding the option to set a role for app action, allowing users to set what level an automation can be accessed from. 2022-07-15 17:13:45 +01:00
Rory Powell 6fbb5afeec Remove ui events except for component created and view published app 2022-06-06 12:51:22 +01:00
Rory Powell 33f44f6ee7 Remove todos 2022-06-06 11:11:13 +01:00
Rory Powell 3e5e95a9c1 Add analytics to backend-core. Update server posthog usage 2022-03-25 13:04:34 +00:00
Andrew Kingston 9d52841219 Refactor automation store to properly handle errors 2022-01-25 15:44:08 +00:00
Martin McKeaveney 5695827f86 auto app creation from template E2E, added warning to automations that they can't run in dev 2021-11-25 10:29:09 +01:00
mike12345567 7b73a8dbe7 Fixing issue #3199 - don't allow submitting automation creation modal without name, adding error message. 2021-11-03 11:55:01 +00:00
Martin McKeaveney ff5831660d merge with develop 2021-09-21 21:43:29 +01:00
Peter Clement 1d9fccb666 update icon to use hoverable 2021-09-21 20:30:58 +01:00
Martin McKeaveney 0a7512a4d9 changed events to constants, instantiated analytics client at right time 2021-09-21 20:21:15 +01:00
Maurits Lourens 931ec7bfd9 fix merge conflicts, make arguments more consistent 2021-09-16 23:20:31 +02:00
Maurits Lourens 518f8fd55e merge develop into branch 2021-09-16 22:15:09 +02:00
Andrew Kingston 38e064fa0f Fix all eslint issues 2021-06-15 19:36:56 +01:00
Andrew Kingston c010eeb314 Fix prettier and fix crash when using certain views as data sources 2021-05-04 11:04:42 +01:00
Keviin Åberg Kultalahti 8a36d81d32 switch out remix icons 2021-04-23 10:33:41 +02:00
Andrew Kingston 5770035650 Update automation section to use spectrum 2021-04-22 10:58:04 +01:00
Andrew Kingston 3a15047007 Update button actions to use new spectrum components 2021-04-19 14:40:51 +01:00
Keviin Åberg Kultalahti 5a2287ddcb moves NotificationDisplay to bbui and converts it to spectrum 2021-04-09 12:02:53 +02:00
Andrew Kingston 77228a3998 Fix missing import of automationStore 2021-04-07 11:33:14 +01:00
Andrew Kingston b3b7c54901 Update to support new stores 2021-04-01 10:29:47 +01:00
Andrew Kingston 8619db57b4 Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:12:16 +01:00
Keviin Åberg Kultalahti 44e3f29a0b moves backend stores to "stores" in the root src directory 2021-03-26 09:50:37 +01:00
Keviin Åberg Kultalahti c77061f239 wip: converts components to use separate stores 2021-03-23 12:16:54 +01:00
Keviin Åberg Kultalahti a769d5f477 reverts some of the merged files 2021-03-18 14:33:45 +01:00
Keviin Åberg Kultalahti 2900704a4c adds routing to the automation tab 2021-03-15 15:00:34 +01:00
Keviin Åberg Kultalahti a08684cd14 removes unused code in automation and backend sections 2021-03-01 17:34:27 +01:00
Andrew Kingston 9a32997591 Reduce unecessary div layers 2020-10-23 12:57:35 +01:00
Renamed from packages/builder/src/components/automation/AutomationPanel/AutomationList/CreateAutomationModal.svelte (Browse further)