Commit Graph

2 Commits

Author SHA1 Message Date
Ilya Mukhortov 97ea626045 Date/time widgets everywhere, TimeInput, profile block editing
- Replace native date inputs with DateInput / DateRangeInput (tasks,
  schedule, booking, doctor intervals, patient birth and issue dates)
- New TimeInput: «чч:мм» mask plus hour/minute picker; used for task due time
- Patient create: anonymous patient hides the name fields; SNILS under birth date
- Patient profile: every block edits in its own EditDialog (new kit component,
  InfoSection onEdit pencil); name copies on click; SNILS moved to the header
- UI_COMPONENTS.md / UI_STRUCTURE.md: component reference and design rules
  (dates via DateInput, time via TimeInput, block editing via EditDialog)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 20:31:12 +10:00
Ilya Mukhortov 6d1a8719be Extract reusable kit components and add /ui showcase
Kit (src/components/kit): PageTabs, ContentTabs, PatientPanel, DataTable
with sorting, Pagination, FileGallery (image lightbox, PDF preview),
StatusBadge, StatTile, InfoSection/Field, DateLeaf, PageFrame, CodeBlock.
Patient pages now use them; search results are sortable; documents show
attachments. Replace next-themes with a small ThemeProvider (React 19
warned about its inline script).

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