Skip to content

Commit

Permalink
navigator outage: planned downtime
Browse files Browse the repository at this point in the history
  • Loading branch information
seidior committed Sep 18, 2024
1 parent db6c3b2 commit 4de12d1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions navigator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
For setting the outage alert banner:

1. Open `config.json` for editing.
2. Set your alert error message.
3. Set [the outage alert type](https://github.com/newjersey/navigator.business.nj.gov/blob/dc02baba3d5f8f608eb7300e2597b1b284ea22f1/web/src/lib/types/types.ts#L580) to one of:
- `ALL`
- `UNREGISTERED_ONLY`
- `LOGGED_IN_ONLY`
4. Set `FEATURE_ENABLE_OUTAGE_ALERT_BAR` to true.
5. Save the file and commit it.

For un-setting the outage alert banner:

1. Open `config.json` for editing.
2. Set `FEATURE_ENABLE_OUTAGE_ALERT_BAR` to false.
3. Save the file and commit it.
4 changes: 2 additions & 2 deletions navigator/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"FEATURE_ENABLE_OUTAGE_ALERT_BAR": true,
"OUTAGE_ALERT_MESSAGE": "We are experiencing a service interruption that is preventing users from logging in. We apologize for the inconvenience. Please try again later.",
"OUTAGE_ALERT_TYPE": "UNREGISTERED_ONLY"
"OUTAGE_ALERT_MESSAGE": "Logging into your account on Business.NJ.Gov will be unavailable on Friday, September 20, 2024 from 4:30AM – 6:30AM EDT for planned downtime. We apologize for the inconvenience and thank you for your patience.",
"OUTAGE_ALERT_TYPE": "ALL"
}

0 comments on commit 4de12d1

Please sign in to comment.