Commit Graph

2 Commits

Author SHA1 Message Date
Ilya Mukhortov 0f02a3c252 Extract UI kit into Medkit workspace package (@medkit/ui)
Move shadcn primitives, kit components, charts, theme provider, shared
hooks and utils (cn, format, masks, clipboard) into packages/medkit,
consumed as source via npm workspaces. The app now imports everything
from "@medkit/ui".

- Package-internal imports are relative; no @/ alias inside the kit
- Theme tokens, fonts and base styles move to @medkit/ui/styles.css,
  which registers its own @source so classes are found from node_modules
- NotifyToaster takes a navigate prop instead of depending on
  react-router; the app mounts it in App with useNavigate()
- Kit-only dependencies move to the package; react, react-dom and
  tailwindcss are peers
- Drop components.json (shadcn CLI unused, aliases no longer valid)
- Update UI docs and add a package README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 10:48:51 +10:00
Ilya Mukhortov ab08dea5d6 Chief physician dashboard, reports and cases sections
- Главная (/dashboard): live "today" strip, KPI tiles with deltas and
  trends, attendance chart, patient path, doctor load heatmap, alerts,
  revenue by service and funding, doctors table, booking availability
  against the state-guarantee norm, process metrics
- Analytics mart (clinic-stats) with two years of seeded doctor×day facts
- Lightweight SVG charts in components/charts, --chart-* color tokens
- Reports section: catalog, report filters, queued runs and results
- Cases section and patient documents/profile updates

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 21:14:32 +10:00