Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
fix: link and visibility (#1385)
Maximilian Kaske5056393d26a5
diff --git a/apps/status-page/src/app/(public)/page.tsx b/apps/status-page/src/app/(public)/page.tsxindex df0c678bf..352dbd9b7 100644--- a/apps/status-page/src/app/(public)/page.tsx+++ b/apps/status-page/src/app/(public)/page.tsx@@ -78,7 +78,7 @@ export default function Page() {</p><p>Go to the{" "}- <Link href="https://github.com/openstatus-dev/status-page/blob/main/src/lib/community-themes">+ <Link href="https://github.com/openstatusHQ/openstatus/tree/main/apps/status-page/src/lib/community-themes">GitHub directory</Link>{" "}to see the existing themes and create a new one by forking and@@ -93,6 +93,11 @@ export default function Page() {>Test it</Button>+ <p>+ Or use the{" "}+ <code>sessionStorage.setItem("community-theme", "true");</code> on+ your own status page.+ </p><hr /><p>Why don't we allow custom css styles to be overridden and onlydiff --git a/apps/status-page/src/components/status-page/floating-theme.tsx b/apps/status-page/src/components/status-page/floating-theme.tsxindex bd811f3cd..e0d93d335 100644--- a/apps/status-page/src/components/status-page/floating-theme.tsx+++ b/apps/status-page/src/components/status-page/floating-theme.tsx@@ -28,6 +28,7 @@ export type CommunityTheme = (typeof COMMUNITY_THEME)[number];export function FloatingTheme({ className }: { className?: string }) {const { communityTheme, setCommunityTheme } = useStatusPage();const [display, setDisplay] = useState(false);+ const [open, setOpen] = useState(false);useEffect(() => {const enabled = sessionStorage.getItem("community-theme") === "true";@@ -39,6 +40,7 @@ export function FloatingTheme({ className }: { className?: string }) {enabled) {setDisplay(true);+ setOpen(true);}}, []);@@ -46,11 +48,10 @@ export function FloatingTheme({ className }: { className?: string }) {return (<div className={cn("fixed right-4 bottom-4 z-50", className)}>- <Popover>+ <Popover open={open} onOpenChange={setOpen}><PopoverTrigger asChild><Buttonsize="icon"- variant="outline"className="size-12 rounded-full dark:bg-background"><Palette className="size-5" />