Task d96d8925: Presence schedule month grid (#206)

This commit was merged in pull request #206.
This commit is contained in:
2026-09-23 22:51:16 -04:00
parent a22f990bd6
commit 7b5177d055
11 changed files with 1555 additions and 2 deletions
+4 -1
View File
@@ -1,6 +1,7 @@
import { useState } from "react";
import "./App.css";
import DefinitionsTab from "./definitions/DefinitionsTab";
import ScheduleTab from "./schedule/ScheduleTab";
import TodayTab from "./today/TodayTab";
const TABS = [
@@ -16,7 +17,7 @@ export default function App() {
const [active, setActive] = useState<TabId>("today");
// Built screens own their header (ADMIN-SPEC §1); the generic shell header
// stays for placeholder tabs and is visually hidden otherwise.
const hasScreen = active === "today" || active === "tasks";
const hasScreen = active === "today" || active === "tasks" || active === "schedule";
return (
<div className="admin-shell">
@@ -33,6 +34,8 @@ export default function App() {
<TodayTab />
) : active === "tasks" ? (
<DefinitionsTab />
) : active === "schedule" ? (
<ScheduleTab />
) : (
<p className="admin-placeholder">
{TABS.find((tab) => tab.id === active)?.label} placeholder — screens