feat(t5): Bienenjahr-Rad auf dem Dashboard (T5b B7)
- Abschnitt „Bienenjahr“ nach „Im Blick behalten“: Rad mit Zeiger heute, sechs Abschnitten, Fenstern (Varroa schraffiert), Aufgaben-Punkten je Woche, Mitte als Größen-Container (höchstens drei Zeilen), Zeile „Jetzt … · Danach …“, Hinweise und Abweichungen darunter, drei Tabellen mit Beschriftung, Link „Zum Kalender“. - Text als HTML, Tokens, Forced Colors mit eigenem Muster, keine Animation; nutzt die vorhandenen Queries des Dashboards. - Überblick-Kacheln und Saison-Chips im Heute-Panel entfallen (Spec 9.5); späte Blüte als lateStart im Modell. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
3ea285bce5
commit
bb3f79e55f
11 files changed
+1000
-123
No files matched your search
@@ -1,9 +1,5 @@
|
||||
import { apiFetch } from "@/lib/auth/api-client";
|
||||
import { DashboardAlert, DashboardSummary } from "./types";
|
||||
|
||||
export function fetchDashboardSummary(): Promise<DashboardSummary> {
|
||||
return apiFetch<DashboardSummary>("/dashboard/summary");
|
||||
}
|
||||
import { DashboardAlert } from "./types";
|
||||
|
||||
export function fetchDashboardAlerts(): Promise<DashboardAlert[]> {
|
||||
return apiFetch<DashboardAlert[]>("/dashboard/alerts");
|
||||
|
||||
@@ -1,12 +1,3 @@
|
||||
export interface DashboardSummary {
|
||||
apiariesActive: number;
|
||||
coloniesActive: number;
|
||||
queensActive: number;
|
||||
openTasks: number;
|
||||
honeyBatchesTotal: number;
|
||||
stockItemsLowCount: number;
|
||||
}
|
||||
|
||||
export type DashboardAlertType =
|
||||
| "OVERDUE_TASK"
|
||||
| "COLONY_ATTENTION"
|
||||
|
||||
Reference in new issue
Block a user