The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore(studio): filter out impact none incidents (#42476)
Danny White9d5422a0c997
diff --git a/apps/studio/components/interfaces/App/AppBannerWrapper.tsx b/apps/studio/components/interfaces/App/AppBannerWrapper.tsxindex 1041597198f..de62e8abea1 100644--- a/apps/studio/components/interfaces/App/AppBannerWrapper.tsx+++ b/apps/studio/components/interfaces/App/AppBannerWrapper.tsx@@ -12,10 +12,12 @@ export const AppBannerWrapper = ({ children }: PropsWithChildren<{}>) => {const { data: allStatusPageEvents } = useIncidentStatusQuery()const { maintenanceEvents = [], incidents = [] } = allStatusPageEvents ?? {}+ // Only show incident banner for incidents with real impact (not "none")+ const hasBannerWorthyIncidents = incidents.some((incident) => incident.impact !== 'none')const ongoingIncident =useFlag('ongoingIncident') ||process.env.NEXT_PUBLIC_ONGOING_INCIDENT === 'true' ||- incidents.length > 0+ hasBannerWorthyIncidentsconst ongoingMaintenance = maintenanceEvents.length > 0const showNoticeBanner = useFlag('showNoticeBanner')