mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-21 13:51:19 +00:00
A new source-only @hanzo/gui package: a pannable/zoomable board of service nodes (ProjectCanvas over @xyflow/react) with live status (ServiceStatusBadge), metric sparklines (MetricSparkline), deploy timelines (DeployTimeline), an environment switcher (EnvSwitcher), and a tabbed service detail drawer (ServiceDetailDrawer) — plus the ServiceNode card and SourceRef/ReplicaPill primitives. Presentational + data-prop-driven; brand/white-label aware via the design tokens (semantic status palette overridable per brand). Pure folds (status normalization, layered graph layout, relative time) are unit-tested (17 tests). React-free logic re-exported at @hanzo/canvas/pure so data mappers and their tests never pull in JSX/xyflow. Co-authored-by: hanzo-dev <[email protected]> Co-authored-by: Hanzo Dev <[email protected]>