Open itsciccio opened 2 years ago
The component is designed to update a single change at a time, as by extending the debounce will solve the original issue yet cause other issues. This page is to be converted in a way to have a Save
button (similar to the sub-chain step). As for the time being, this issue will be skipped as PANIC still functions well without this change, and as a ticket it will require an overhaul for the alert setup page.
Description
The delay on every update in the alerts page is too quick, causing many API calls.
Update: It has been decided to overhaul this page by implementing a
Save
button instead of the currentonChange
logic as it is the most simplistic way forward.Requirements
- [ ] Extend debounce time to 2seconds.- [ ] Test by altering the configurations and check that the time between API calls is reasonable.Acceptance criteria
Scenario: I wish to edit an alerts configuration for any sub-chainGiven: A valid config either fresh or editedThen: A reasonable time between API callsScenario: Updating PANIC Configs Given: Some changes made in the page When: Save button pressed Then: Alert config saved in DB.