Skip to content

code monitors: action cancel button doesn't undo changes

Warren Gifford requested to merge jp/codemonitorcancelactionedit into main

Created by: limitedmage

Fixes #32222 (closed)

  • "Cancel" button now undoes changes to actions, restoring the enable/disable state and, for webhooks, the URL.
    • #32097 will be updated to also do the same thing for includeResults
  • Enable/disable no longer saved immediately when action is expanded; the action must be saved for the enable/disable toggle state to be saved. Enable/disable toggle still saves immediately if the action is collapsed.

CleanShot 2022-03-04 at 14 05 56

Test plan

  • Unit tests have been updated for all three actions to test the cancel button.

Merge request reports

Loading