Commit Graph

21 Commits

Author SHA1 Message Date
Dean 30db237071 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-01-17 17:17:01 +00:00
Adria Navarro 92f411bf77 Prettier 2023-11-20 21:48:49 +01:00
Adria Navarro 4d27ff1dc0 eslint import/no-duplicates 2023-11-20 21:48:49 +01:00
Dean c96fefdba7 Consolidated all stores into stores/builder. Store refactoring and added store console debug flag 2023-11-06 11:22:00 +00:00
Dean 79da5956b8 Patch from original environment 2023-10-30 12:46:44 +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
Rene Pot 6e0b29667d fix broken docs links 2022-03-23 14:47:27 +01:00
Andrew Kingston 9d52841219 Refactor automation store to properly handle errors 2022-01-25 15:44:08 +00:00
Peter Clement e479ced4c8 fix webhook issue in automations 2021-10-12 11:00:49 +01:00
Maurits Lourens 7f9e8fa321 fix calls to automations.save, which doesn't need the instanceId 2021-08-26 15:58:24 +02:00
mike12345567 2a0cfc949d Fixing issue with automation webhook URL being undefined. 2021-06-23 20:11:05 +01:00
Andrew Kingston 6c960dd9e2 Replace font-weight 500 with 600 as source sans pro does not have a 500 weight, and update autoscreens and templates to use source sans pro 2021-05-25 10:11:41 +01:00
Keviin Åberg Kultalahti e53dcbcae1 more remix replacements 2021-04-23 12:20:38 +02:00
Andrew Kingston 5770035650 Update automation section to use spectrum 2021-04-22 10:58:04 +01:00
Andrew Kingston b3b7c54901 Update to support new stores 2021-04-01 10:29:47 +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 a08684cd14 removes unused code in automation and backend sections 2021-03-01 17:34:27 +01:00
Andrew Kingston bb489bce94 Merge branch 'master' of github.com:Budibase/budibase into dropdown-components 2020-10-27 15:50:34 +00:00
mike12345567 d7196cfd3a Linting. 2020-10-26 17:47:03 +00:00
mike12345567 c66541ad99 Joe-ifying some of the work on webhooks to make it a bit easier to understand and finished up some testing around it. 2020-10-26 16:04:02 +00:00