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 37c0248629 Tasks section: list, create form, task card with section tabs
- tasks open as section tabs (#1004, «Новая задача»), mirrored in sidebar
- list: search, status multi-select, segments, «мои задачи», reset,
  sorting and pagination; filters kept in the URL
- create: validation, multi-selects, date/time, file drop with previews;
  draft survives tab switches
- card: status change, priority, editable executors/observers,
  due badge, files, replies (private, reply-to, edit/delete own)
- in-memory tasks store shared by all tabs
- kit: MultiSelect, PersonChip/PersonAvatar, FileDrop, FormField/FormSection,
  removable FileGallery tiles

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