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,42 @@
|
||||
"use client";
|
||||
/*
|
||||
* Documentation:
|
||||
* Skeleton Text — https://app.subframe.com/f023064a5ca0/library?component=Skeleton+Text_a9aae3f0-955e-4607-a272-374f1dc18f4b
|
||||
*/
|
||||
|
||||
import React from "react";
|
||||
import * as SubframeCore from "@subframe/core";
|
||||
import * as SubframeUtils from "../../utils";
|
||||
|
||||
export interface SkeletonTextRootProps
|
||||
extends React.ComponentProps<typeof SubframeCore.Skeleton> {
|
||||
size?: "default" | "label" | "subheader" | "section-header" | "header";
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const SkeletonTextRoot = React.forwardRef<
|
||||
React.ElementRef<typeof SubframeCore.Skeleton>,
|
||||
SkeletonTextRootProps
|
||||
>(function SkeletonTextRoot(
|
||||
{ size = "default", className, ...otherProps }: SkeletonTextRootProps,
|
||||
ref
|
||||
) {
|
||||
return (
|
||||
<SubframeCore.Skeleton
|
||||
className={SubframeUtils.twClassNames(
|
||||
"group/a9aae3f0 flex h-5 w-full flex-col items-start gap-2 rounded-md bg-[#e5e5e5]",
|
||||
{
|
||||
"h-10": size === "header",
|
||||
"h-9": size === "section-header",
|
||||
"h-7": size === "subheader",
|
||||
"h-4": size === "label",
|
||||
},
|
||||
className
|
||||
)}
|
||||
ref={ref}
|
||||
{...otherProps}
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
||||
export const SkeletonText = SkeletonTextRoot;
|
||||
@@ -0,0 +1,10 @@
|
||||
"use client";
|
||||
import { SkeletonText as SkeletonTextComponent } from "./SkeletonText";
|
||||
|
||||
/**
|
||||
* Add wrapper components and business logic here.
|
||||
* If you modify this file, disable Subframe sync for it to prevent overwrites.
|
||||
* Learn more: https://docs.subframe.com/concepts/syncing-components#wrapping-components
|
||||
*/
|
||||
|
||||
export const SkeletonText = SkeletonTextComponent;
|
||||
Reference in new issue
Block a user