Commit Graph

38 Commits

Author SHA1 Message Date
Sam Rose c313c815c7
Fix a couple of sources of jank. 2025-01-28 11:25:10 +00:00
Sam Rose e63f8b4bff
Allow selecting real row data for row trigger automation tests. 2025-01-27 12:31:57 +00:00
Andrew Kingston 47997282fa
Update all root aliases to be prefixed by @/ 2024-12-18 09:47:27 +00:00
Dean 8cd4fae50c Refactored out test data bind, fix for row intialisation in test data and fix for the modal timing issue 2024-11-28 12:37:13 +00:00
Adria Navarro f612f7737f Merge branch 'master' into fix/automation-data-test-updates 2024-11-06 16:52:58 +01:00
Adria Navarro b937f97a60 Lint 2024-11-05 16:13:22 +01:00
Adria Navarro b59b4e1736 Use updated test data 2024-11-05 16:08:24 +01:00
Adria Navarro cddc64d38b Fix typo 2024-11-05 13:18:40 +01:00
Adria Navarro ef7281716a Wait for test data to be processed before running the test 2024-11-05 13:14:45 +01:00
Dean 77fefcdbe4 Merge remote-tracking branch 'origin/v3-ui' into feature/automation-branching-ux 2024-10-18 14:16:18 +01:00
Adria Navarro 7941cb6602 Allow passing test to row action test 2024-10-18 11:36:11 +02:00
Dean 9cfc3d499d Refactored the selectedAutomation derived store to include tree metadata and moved the core doc to a new data attribute. All refs to selectedAutomation updated. Moved the id migration into the selectedAutomation store. Remove bindings from AutomationSetupBlock, moved to StepNode 2024-10-13 22:34:17 +01:00
Adria Navarro 1b2182a690 Run without required 2024-07-22 14:30:38 +02:00
Adria Navarro bb4fd4c14c Fix possible undefined reference 2024-07-18 17:19:34 +02:00
Dean c2b54f118f Review fixes. Populated Row fields clearing, test data parsing to ensure tableId is present and correct. Also added some initial JSON test data parsing. 2024-07-01 12:59:43 +01:00
Dean e9985adcd4 Updates and refactoring of Automation flows 2024-06-25 11:52:11 +01:00
Dean 3a10c57651 Merge commit 2024-06-13 16:56:25 +01:00
Dean 30db237071 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2024-01-17 17:17:01 +00:00
Peter Clement 96e9f46d7c pr comments 2023-12-04 14:21:35 +00:00
Peter Clement 45ab9a54be lint 2023-11-27 10:40:20 +00:00
Peter Clement 77ab89e95e type 2023-11-24 12:21:48 +00:00
Peter Clement 17d02af668 update run test modal 2023-11-24 11:11:59 +00:00
Dean 03f90500e5 Merge remote-tracking branch 'origin/master' into feature/monolith-js-refactor 2023-11-06 11:29:10 +00: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
Peter Clement f1802eb41c update modal sizing for automation test data 2023-11-03 10:04:51 +00:00
Dean 79da5956b8 Patch from original environment 2023-10-30 12:46:44 +00:00
Gerard Burns 8d6c00644a Improve Automations Error Message 2023-04-27 14:09:52 +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
FlaminWrap 41a9bf8e82 Commit for enhancement #7138
*Added automation steps
*Added steps for testing panel
*Changed a testing panel error message as it didn't seem accurate
2022-11-05 00:05:15 +00:00
NEOLPAR 1b3062dfcf amended code following recommendations in PR comments 2022-07-26 17:22:42 +01:00
NEOLPAR 5bf9ee38a0 fixed automation app:trigger not mapping test modal form 2022-07-26 16:33:27 +01:00
mike12345567 34759c7916 Adding real history to the history tab, getting storage to couch and retrieval + api working. 2022-06-01 16:01:06 +01:00
Peter Clement f58118b52d Add test data sidebar and componentize part of the flow item for this purpose 2022-05-09 16:50:43 +01:00
Andrew Kingston 9d52841219 Refactor automation store to properly handle errors 2022-01-25 15:44:08 +00:00
Martin McKeaveney 1b8a3c9813 updating cypress test to cover automation creation 2021-12-08 11:32:28 +00:00
Peter Clement e479ced4c8 fix webhook issue in automations 2021-10-12 11:00:49 +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