mirror of
https://github.com/supabase/supabase.git
synced 2026-05-08 09:50:33 -04:00
befc817f94
Feature ## What is the current behavior? Incident banner logic depends on StatusPage and Supabase project for metadata. ## What is the new behavior? New incident banner logic that depends only on incident.io. Displays in non-production environments for now because I haven't wired up the rest of the workflow. This is just to allow a total end-to-end testing/playground for test incidents <-> Slack <-> preview dashboard for people to try out the UX. ## Additional context You can test using my [test incident](https://app.incident.io/supabase/incidents/405). This has severity minor, so the preview site should have a banner. Toggle to informative, hard refresh dashboard with cache off, and banner should disappear. Toggle back to minor, hard refresh without cache again, and banner should reappear. Same thing if you edit the "Banner shown" field from 1 to -1 and back.
5 lines
164 B
TypeScript
5 lines
164 B
TypeScript
export const platformKeys = {
|
|
incidentStatus: () => ['platform', 'incident-status'] as const,
|
|
incidentBanner: () => ['platform', 'incident-banner'] as const,
|
|
}
|