Commit Graph

20 Commits

Author SHA1 Message Date
Martin McKeaveney 53fc45f07e make ai columns respect feature flags 2024-10-30 14:14:49 +00:00
Martin McKeaveney b1462b4c19 lint 2024-09-30 15:17:07 +01:00
Martin McKeaveney ce1ca5b89e add finally block instead of duplication 2024-09-30 14:48:02 +01:00
Martin McKeaveney fc642a259c tidy up 2024-09-30 14:43:10 +01:00
Martin McKeaveney e281250569 ai cron helper E2E 2024-09-30 14:00:12 +01:00
Dean ed30788fac Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-02-14 10:14:58 +00:00
Peter Clement 2660149fea move constant to shared-core 2024-02-13 15:14:03 +00:00
Peter Clement 46903e36ef fix lint 2024-02-12 16:12:52 +00:00
Peter Clement 547b1ded61 handle @reboot 2024-02-12 15:31:19 +00:00
Peter Clement 8e734b2d72 frontend valiation for crons and fix preset null issue 2024-02-12 15:25:00 +00:00
Dean 1779a5ee19 Lint 2024-01-17 17:40:09 +00:00
Adria Navarro db2c20e3ae eslint import/newline-after-import 2023-11-20 21:52:29 +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
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
mike12345567 86c8618e8f Fix for #7431 - reboot didn't work at all previously which is why apps couldn't be published with it enabled, this is now a self host only feature, I've removed the ability to enable a reboot cron in the Cloud and it will not run the lookup/execution. 2022-09-07 17:05:17 +01:00
mike12345567 c149139253 Fix for #6501 - don't fail to publish app when cron expression is empty in any automation, just don't publish that automation. Also adding an error to automation to make it clear an expression is required. 2022-07-15 14:15:16 +01:00
Peter Clement 0fadf104e2 save automation on change / delete / create 2021-09-15 00:45:11 +01:00
Andrew Kingston 38e064fa0f Fix all eslint issues 2021-06-15 19:36:56 +01:00
Martin McKeaveney 8ceba79a12 activations 2021-05-19 10:46:47 +01:00
Martin McKeaveney a781239632 Adding cron presets to automations 2021-05-18 22:20:41 +01:00