Dismiss RTM alert on CCE inventory

Description

As a CeCe/Chappie, I want to dismiss the RTM "flag/alert" raised by my Remote Temperature Monitoring service so that I know I have reviewed the alert and made the necessary updates.

<insert mockup from wiki>

Acceptance Criteria

  • In the update functional status for CCE inventory modal, if the inventory has any alerts, but they are all inactive, show the RTM Alerts section, but with an entry of "No active alerts"

  • If the inventory has any active alerts, show a "Dismiss" button next to the alert entry

  • If the user selects the Dismiss button of an active alert:

    • If there is an error in dismissing, show an error modal detailing the error ("Could not dismiss the alert. Please contact the administrator."), and do not remove the alert entry

    • If dismissing is successful, just remove the alert entry (including the button)

  • If all alerts are successfully dismissed, revert back to the entry of "No active alerts"

  • Once the user exits out of the modal, if the inventory item no longer has any active alerts because they have been dismissed, show an inactive alert icon (empty bell)

  • Update test case ()

Status

Assignee

Chongsun Ahn

Reporter

Mary Jo Kochendorfer

Labels

None

Epic Link

Components

Sprint

None

Fix versions

Priority

Major
Configure