Skip to content

Alert Step Re-Design: Implement save button instead of onChange #363

@itsciccio

Description

@itsciccio

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 current onChange 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.

  • Re-design the component so to update the entire configuration with a save button
  • Test accordingly to make sure the config is updated in Mongo.

Acceptance criteria

Scenario: I wish to edit an alerts configuration for any sub-chain
Given: A valid config either fresh or edited
Then: A reasonable time between API calls

Scenario: Updating PANIC Configs
Given: Some changes made in the page
When: Save button pressed
Then: Alert config saved in DB.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions