feat(dashboard): Analytics-Dashboard als Gestaltungsvorlage zur Übergabe
UI/UX-Prototyp der Analytics-Dashboards in HiveGrid, fachlich auf einen SHK-/Handwerksbetrieb zugeschnitten. Ziel ist die Übergabe an die Entwicklung, nicht der Produktivbetrieb. Inhalt: sechs Seiten (Übersicht, Finanzen, Aufträge, Kunden, Team, Komponenten), 26 KPIs, neun Chart-Bausteine, Filtersystem mit seitenabhängiger Relevanz und ein deterministischer Demo-Datensatz (420 Kunden, 1.900 Aufträge, Stichtag 30.07.2026). Drei Quellen sind zusammengeführt: die fachliche Planung mit dem Branchenpartner (Januar 2026), die Subframe-Komponentenbibliothek aus dem HiveGrid-Pitch und IBM Carbon Data Visualization für die Diagrammregeln. Herkunft und bewusste Abweichungen stehen in docs/HERKUNFT.md. Dokumentation: README, HANDOVER (was echte Logik braucht), docs/DESIGN-SYSTEM, KPI-KATALOG, DATENMODELL, NAVIGATION, HERKUNFT, ZIELSYSTEM (Einbauort in HiveGrid Cloud) und LEITPLANKEN (welche Cloud-Screens als Vorbild taugen). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QPeZNwSeU7qG3RRCwaxEZX
This commit is contained in:
commit
b8bf987d0e
250 files changed
+33153
No files matched your search
@@ -0,0 +1,36 @@
|
||||
"use client";
|
||||
/*
|
||||
* Documentation:
|
||||
* Dialog — https://app.subframe.com/f023064a5ca0/library?component=Dialog_ca59db17-43fb-4247-8094-3c55162e902d
|
||||
* Dialog Layout — https://app.subframe.com/f023064a5ca0/library?component=Dialog+Layout_ff4920a8-df26-4012-934d-0a9edbf5e373
|
||||
*/
|
||||
|
||||
import React from "react";
|
||||
import { Dialog } from "../../components/Dialog";
|
||||
import * as SubframeUtils from "../../utils";
|
||||
|
||||
export interface DialogLayoutRootProps
|
||||
extends React.ComponentProps<typeof Dialog> {
|
||||
children?: React.ReactNode;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const DialogLayoutRoot = React.forwardRef<
|
||||
React.ElementRef<typeof Dialog>,
|
||||
DialogLayoutRootProps
|
||||
>(function DialogLayoutRoot(
|
||||
{ children, className, ...otherProps }: DialogLayoutRootProps,
|
||||
ref
|
||||
) {
|
||||
return (
|
||||
<Dialog className={className} ref={ref} {...otherProps}>
|
||||
{children ? (
|
||||
<div className="flex items-start gap-6 bg-surface-neutral-secondary">
|
||||
{children}
|
||||
</div>
|
||||
) : null}
|
||||
</Dialog>
|
||||
);
|
||||
});
|
||||
|
||||
export const DialogLayout = DialogLayoutRoot;
|
||||
Reference in new issue
Block a user