Open
Description
Hi,
first of all - cool project and creative concept. Happy using it so far at https://status.remote-backups.com/
For my feature request I do maintenance regular, meaning there is a planned outage from time to time. Customers usually check the status page first. A banner indicating ongoing maintenance on a certain monitor would be great to communicate.
Maintenance mode should also disable notifications and uptime-checks / handling of outages (just pretend they are healthy or greyed out or something).
My idea would be to add a "alerts" section to the config, perhaps something along of this type:
export type Alert = {
severity: "info" | "warning" | "danger" // severity mode, indicates color if color is left empty
color: "green" | "orange" | "red" | string // predefined colorset or hex code
title?: string // alert title
message?: string // alert message with markdown support (would be great)
monitors: ['fra1-1'] // related monitor IDs
start?: Date // start date - if empty treat as now
end?: Date // end date - if empty never ending
}
export type AlertsConfiguration = Alert[];
let me know what you think. I think I could also provide a PR but time is limited and I'm not a react native ;)