1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-25 15:00:58 +01:00
phorge-phorge/webroot/rsrc/js/application/trigger
epriestley 9532bfbb32 Improve trigger editor behavior when switching to/from tokenizers
Summary:
Ref T13269. See D20329. When we switch trigger rule control types, reset the rule value.

Also, pick slightly nicer defaults for status/priority.

Test Plan:
  - Created a "Change Status To: X" rule.
  - Saved it.
  - Edited it.
  - Selected "Assign to" for the existing action's dropdown.
  - Before: tokenizer filled with nonsense.
  - After: tokenizer cleared.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13269

Differential Revision: https://secure.phabricator.com/D20416
2019-04-17 12:24:23 -07:00
..
trigger-rule-editor.js Mostly make the editor UI for triggers work 2019-03-25 13:25:14 -07:00
TriggerRule.js Improve trigger editor behavior when switching to/from tokenizers 2019-04-17 12:24:23 -07:00
TriggerRuleControl.js Mostly make the editor UI for triggers work 2019-03-25 13:25:14 -07:00
TriggerRuleEditor.js Mostly make the editor UI for triggers work 2019-03-25 13:25:14 -07:00
TriggerRuleType.js Mostly make the editor UI for triggers work 2019-03-25 13:25:14 -07:00