This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow adding conditions to actions (#1332)
* feat: allow adding conditions to actions * chore: display value conditions * chore: pdate internationalization language * chore: fix condition creator modal and display existing conditions * chore: start work on tests * test: more work on tests * test: fix tests * chore: update source hashText since it was moved * chore: allow multivalue entity selection * chore: more renaming to imply conditions * fix: multivalue entity conditions * test: add multivalue tests * fix: available condition matching and sorting * chore: move conditions utilities to dedicated file * chore: add comment for findNumberFromMemory * chore: simplify elementsFromConditions * chore: fix render condition logic more * chore: move logic about action conditions to utility module * test: add tests for dialog validity * chore: add protection around setting selected entity to undefined * fix: white font on add condition button * chore: make picker robust to no entities * fix: allow negative conditions * chore: add info to errors and move utilities * chore: spacing * chore: remove "Entities or" from labels * chore: more work on removing Entity Or from names fix setState bug * chore: update models
- Loading branch information
1 parent
f5ae132
commit 0c96eea
Showing
15 changed files
with
4,610 additions
and
192 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
710 changes: 710 additions & 0 deletions
710
cypress/integration/regressionTs/actionConditions.spec.ts
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.