Skip to content

High priority alarms should never snooze #80

@themakshter

Description

@themakshter

We should add functionality in our alarms mechanism to allow us to set high priority alarms. These alarms, when appearing, should not allow any sort of snoozing of the alarms.

For now, the only high priority one is Peak Pressure related but the mechanism should allow for flexibility

This will require creating an interface for the alarm component - this will alarm text as described in the docs, the display text, which may be long and optional as well as boolean to denote if it is a priority. Then, this interface will be applied to our Alarms constant to be used. We will then update our code added in #92 to check for priority value being true. Moreover, usages of the alarms will need to be updated in places it is being used.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions