Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions components/layout/NavigationSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,11 @@ export function NavigationSidebar() {

<SidebarFooter className="border-t border-sidebar-border p-4">
<div className="flex items-center gap-2 text-xs text-sidebar-foreground/60">
<div className="h-2 w-2 rounded-full bg-green-500" />
<span>All systems operational</span>
<div
className="h-2 w-2 rounded-full bg-sidebar-foreground/40"
aria-hidden="true"
/>
<span>Status not checked</span>
</div>
</SidebarFooter>
</Sidebar>
Expand Down
12 changes: 12 additions & 0 deletions components/layout/__tests__/NavigationSidebar.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { render, screen } from "@testing-library/react";
import { describe, expect, it } from "vitest";
import { NavigationSidebar } from "../NavigationSidebar";

describe("NavigationSidebar", () => {
it("shows a neutral unchecked status instead of an operational claim", () => {
render(<NavigationSidebar />);

expect(screen.getByText("Status not checked")).toBeTruthy();
expect(screen.queryByText("All systems operational")).toBeNull();
});
});
Loading