Update NoticeBanner content for scheduled maintenance (#41888)

This commit is contained in:
Joshen Lim authored and GitHub committed 2026-01-14 13:34:03 +07:00
1 parent cbf16af204
commit a2b4e83fc6
2 files changed
+11 -5

No files matched your search

@@ -3,6 +3,7 @@ import { useRouter } from 'next/router'
import { useAppBannerContext } from 'components/interfaces/App/AppBannerWrapperContext'
import { HeaderBanner } from 'components/interfaces/Organization/HeaderBanner'
import { InlineLink } from 'components/ui/InlineLink'
import { TimestampInfo } from 'ui-patterns'
/**
* Used to display urgent notices that apply for all users, such as maintenance windows.
@@ -20,16 +21,21 @@ export const NoticeBanner = () => {
return (
<HeaderBanner
variant="warning"
title="Urgent dashboard and management API maintenance"
title="Upcoming Dashboard and Management API maintenance"
description={
<>
23:00 UTC Nov 21–23, 2025.{' '}
<InlineLink href="https://status.supabase.com/incidents/z0l2157y33xk">
<TimestampInfo
className="text-sm"
utcTimestamp={1768530600000}
label="02:30 UTC on Jan 16, 2026"
/>
.{' '}
<InlineLink href="https://status.supabase.com/incidents/lg4j8mcn50zb">
Learn more
</InlineLink>
</>
}
onDismiss={() => onUpdateAcknowledged('maintenance-window-banner-2025-11-21')}
onDismiss={() => onUpdateAcknowledged('maintenance-window-banner-2026-01-16')}
/>
)
}
+1 -1
View File
@@ -68,7 +68,7 @@ export const LOCAL_STORAGE_KEYS = {
// Notice banner keys
FLY_POSTGRES_DEPRECATION_WARNING: 'fly-postgres-deprecation-warning-dismissed',
API_KEYS_FEEDBACK_DISMISSED: (ref: string) => `supabase-api-keys-feedback-dismissed-${ref}`,
MAINTENANCE_WINDOW_BANNER: 'maintenance-window-banner-2025-11-21',
MAINTENANCE_WINDOW_BANNER: 'maintenance-window-banner-2026-01-16',
REPORT_DATERANGE: 'supabase-report-daterange',
// api keys view switcher for new and legacy api keys