π update README with role docs, UI patterns, and project structure
Browse files at this commit085a3fdb2e12d7f8c04a3c1d3a6475d1a0fe336fParent: 9006493- docs
- π update README with role docs, UI patterns, and project structure
4 changed files +114 -76
- README.md +34 -6
- docs/frontend-next-steps.md +58 -69
- docs/navigation-patterns.md +17 -1
- docs/ui-redesign-tokens.md +5 -0
README.mdmodified+34 -6
| @@ -6,7 +6,7 @@ SolidJS + TypeScript frontend for the Hezarfen REST API. | |||
| 6 | 6 | ||
| 7 | - **SolidJS** + Vite | 7 | - **SolidJS** + Vite |
| 8 | - **TanStack Router** (code-based route tree, lazy pages) | 8 | - **TanStack Router** (code-based route tree, lazy pages) |
| 9 | -- **Kobalte + Tailwind CSS** UI primitives (shadcn-solid style) | 9 | +- **shadcn-solid style** UI primitives under `src/components/ui/` |
| 10 | - Session cookie auth via Vite dev proxy (same-origin) | 10 | - Session cookie auth via Vite dev proxy (same-origin) |
| 11 | - **bun** package manager | 11 | - **bun** package manager |
| 12 | - i18n with EN/TR locale switching | 12 | - i18n with EN/TR locale switching |
| @@ -25,7 +25,7 @@ bun run dev | |||
| 25 | 25 | ||
| 26 | Open [http://localhost:5173](http://localhost:5173). | 26 | Open [http://localhost:5173](http://localhost:5173). |
| 27 | 27 | ||
| 28 | -The Vite server proxies `/api/auth`, `/api/users`, `/api/notes`, `/api/events`, `/api/exams`, `/api/courses`, `/api/marks`, `/api/time`, and `/api/health` to the backend so the HttpOnly session cookie stays same-origin while page URLs like `/notes` remain frontend routes on refresh. | 28 | +The Vite server proxies `/api/*` to the backend so the HttpOnly session cookie stays same-origin while page URLs like `/notes` remain frontend routes on refresh. |
| 29 | 29 | ||
| 30 | ## Scripts | 30 | ## Scripts |
| 31 | 31 | ||
| @@ -40,20 +40,29 @@ The Vite server proxies `/api/auth`, `/api/users`, `/api/notes`, `/api/events`, | |||
| 40 | 40 | ||
| 41 | `student < teacher < manager < admin` β higher roles inherit lower capabilities. Registration always creates a `student`. | 41 | `student < teacher < manager < admin` β higher roles inherit lower capabilities. Registration always creates a `student`. |
| 42 | 42 | ||
| 43 | +Role-based UI rules: | ||
| 44 | + | ||
| 45 | +- `student`: own/enrolled/related courses, exams, marks, attendance, and notes. | ||
| 46 | +- `teacher`: teaching, grading, session, attendance, event, and work-log controls where allowed. | ||
| 47 | +- `manager`: management pages such as settings, terms, reports, and broader school operations. | ||
| 48 | +- `admin`: global management scope for courses, exams, users, settings, and terms. | ||
| 49 | + | ||
| 50 | +Dashboard and table summaries must use the same role scope as the related page. Admin views global data; non-admin roles should not accidentally see global course/exam scope. | ||
| 51 | + | ||
| 43 | ## Pages | 52 | ## Pages |
| 44 | 53 | ||
| 45 | | Path | Access | Description | | 54 | | Path | Access | Description | |
| 46 | |---|---|---| | 55 | |---|---|---| |
| 47 | | `/login`, `/register` | Guests | Authentication | | 56 | | `/login`, `/register` | Guests | Authentication | |
| 48 | -| `/` | Authenticated | Dashboard with widgets | | 57 | +| `/` | Authenticated | Role-scoped, observation-only dashboard | |
| 49 | | `/profile` | Authenticated | Edit personal info (name, email, phone, birth date) | | 58 | | `/profile` | Authenticated | Edit personal info (name, email, phone, birth date) | |
| 50 | | `/notes` | Student+ | Personal notes CRUD | | 59 | | `/notes` | Student+ | Personal notes CRUD | |
| 51 | | `/events`, `/events/:id` | Student+ | Event list & detail (create/edit: teacher+) | | 60 | | `/events`, `/events/:id` | Student+ | Event list & detail (create/edit: teacher+) | |
| 52 | -| `/exams` | Student+ | Exam list grouped by course (accordion) | | 61 | +| `/exams` | Student+ | Exam table with role-scoped course filtering | |
| 53 | | `/exams/:id` | Student+ | Exam detail, questions, grading, statistics (teacher+) | | 62 | | `/exams/:id` | Student+ | Exam detail, questions, grading, statistics (teacher+) | |
| 54 | | `/exams/:id/live` | Teacher+ | Live monitor / final state roster with pagination & sorting | | 63 | | `/exams/:id/live` | Teacher+ | Live monitor / final state roster with pagination & sorting | |
| 55 | | `/exam-room/:id` | Student+ | WebSocket-based real-time exam room (auto-save, timer, expiry) | | 64 | | `/exam-room/:id` | Student+ | WebSocket-based real-time exam room (auto-save, timer, expiry) | |
| 56 | -| `/courses` | Student+ | Course list & exam creation (teacher+) | | 65 | +| `/courses` | Student+ | Course table; create/edit flows for teacher+ | |
| 57 | | `/guide` | Authenticated | App usage guide | | 66 | | `/guide` | Authenticated | App usage guide | |
| 58 | | `/admin/users` | Admin | User management | | 67 | | `/admin/users` | Admin | User management | |
| 59 | 68 | ||
| @@ -64,8 +73,27 @@ The Vite server proxies `/api/auth`, `/api/users`, `/api/notes`, `/api/events`, | |||
| 64 | - **Statistics**: graded count, average/min/max marks on exam detail | 73 | - **Statistics**: graded count, average/min/max marks on exam detail |
| 65 | - **Answer sheet**: teacher review of student answers with correct/wrong highlighting | 74 | - **Answer sheet**: teacher review of student answers with correct/wrong highlighting |
| 66 | - **Profile editing**: update display name, email, phone, birth date | 75 | - **Profile editing**: update display name, email, phone, birth date |
| 76 | +- **Dense tables**: toolbar search/filter, subtle column separators, narrow centered three-dot row actions | ||
| 77 | +- **Side panels**: quick create/edit workflows without losing list context | ||
| 78 | +- **Role-scoped dashboard**: read-only summaries and KPIs by current role | ||
| 67 | - **i18n**: full Turkish / English interface | 79 | - **i18n**: full Turkish / English interface |
| 68 | 80 | ||
| 81 | +## UI Patterns | ||
| 82 | + | ||
| 83 | +- Durable resources use full detail pages with breadcrumbs. | ||
| 84 | +- Short create/edit/filter work uses `SidePanel`. | ||
| 85 | +- Destructive actions use confirm dialogs. | ||
| 86 | +- Data-heavy views use `DataToolbar`, `DataTableFrame`, `.data-table`, and `TableRowActions`. | ||
| 87 | +- Date fields use the shared `DatePicker`; date-time flows pair it with an `HH:mm` input. | ||
| 88 | +- Closed disclosure sections should not mount or fetch hidden content. | ||
| 89 | + | ||
| 90 | +## Docs | ||
| 91 | + | ||
| 92 | +- `docs/frontend-next-steps.md` β active backlog and role-based UI audit plan. | ||
| 93 | +- `docs/navigation-patterns.md` β interaction, dashboard, role scope, and table action rules. | ||
| 94 | +- `docs/ui-redesign-tokens.md` β visual density, table, typography, and component conventions. | ||
| 95 | +- `docs/backend-ui-alignment-plan.md` β completed backend alignment archive. | ||
| 96 | + | ||
| 69 | ## Project Structure | 97 | ## Project Structure |
| 70 | 98 | ||
| 71 | ``` | 99 | ``` |
| @@ -74,7 +102,7 @@ src/ | |||
| 74 | βββ components/ # Reusable UI components | 102 | βββ components/ # Reusable UI components |
| 75 | β βββ exams/ # Exam card, form, questions panel, answer sheet, WS room | 103 | β βββ exams/ # Exam card, form, questions panel, answer sheet, WS room |
| 76 | β βββ layout/ # Side nav, page header, role guards | 104 | β βββ layout/ # Side nav, page header, role guards |
| 77 | -β βββ ui/ # Design system (Button, Badge, Table, Input, etc.) | 105 | +β βββ ui/ # Design system (Button, Badge, Table, SidePanel, row actions, etc.) |
| 78 | β βββ users/ # Profile form, user table | 106 | β βββ users/ # Profile form, user table |
| 79 | βββ i18n/ # Message keys + EN/TR dictionaries | 107 | βββ i18n/ # Message keys + EN/TR dictionaries |
| 80 | βββ lib/ # Utilities (format, cn, roles, exam-labels) | 108 | βββ lib/ # Utilities (format, cn, roles, exam-labels) |
docs/frontend-next-steps.mdmodified+58 -69
| @@ -1,20 +1,63 @@ | |||
| 1 | # Frontend Next Steps | 1 | # Frontend Next Steps |
| 2 | 2 | ||
| 3 | -This document tracks the remaining frontend work after the backend contract alignment, | 3 | +This document tracks the active frontend backlog after backend alignment, dense |
| 4 | -dense table redesign, side-panel rollout, collapsible detail sections, and request-load | 4 | +tables, side panels, collapsible detail sections, dashboard work, and table action |
| 5 | cleanup. | 5 | cleanup. |
| 6 | 6 | ||
| 7 | ## Current State | 7 | ## Current State |
| 8 | 8 | ||
| 9 | -- Backend alignment work is complete for settings, terms, course sessions, attendance reports, work logs, exam attempts, and grade bands. | 9 | +- Backend alignment is complete for settings, terms, course sessions, attendance reports, work logs, exam attempts, and grade bands. |
| 10 | -- Navigation rules are documented in `docs/navigation-patterns.md`. | 10 | +- Shared UI primitives cover dense tables, data toolbars, row action menus, side panels, confirm dialogs, date picking, and animated disclosures. |
| 11 | -- Shared UI primitives now cover dense tables, data toolbars, side panels, confirm dialogs, date picking, and animated disclosures. | 11 | +- Dashboard is role-aware and read-only. Admin sees global course/exam scope; other roles use own/enrolled/related scope where the backend supports it. |
| 12 | -- Course detail and exam detail use animated disclosures for large sections. | 12 | +- Table actions use a narrow centered three-dot menu through `TableRowActions`. |
| 13 | +- Dense tables have subtle column separators, fixed action columns, and stable date/number alignment. | ||
| 14 | +- Course creator display uses a username/display label when available; raw ids are fallback only. | ||
| 13 | - Closed disclosure sections do not mount their content, so hidden panels do not fetch data. | 15 | - Closed disclosure sections do not mount their content, so hidden panels do not fetch data. |
| 14 | - Settings requests are cached and refreshed after settings patches. | 16 | - Settings requests are cached and refreshed after settings patches. |
| 15 | -- The Tabler icon dependency was removed after it caused excessive Vite module requests; sidebar icons now use local SVG wrappers. | 17 | +- Sidebar icons use local SVG wrappers to avoid large icon package module graphs. |
| 16 | 18 | ||
| 17 | -## Remaining Work | 19 | +## Priority 1: Role-Based UI Audit |
| 20 | + | ||
| 21 | +Audit every route and major page for role-specific UI behavior. | ||
| 22 | + | ||
| 23 | +- Student: | ||
| 24 | + - sees enrolled courses, related exams, own marks, own attendance, and personal notes. | ||
| 25 | + - must not see teacher/manager/admin create, edit, delete, settings, or user-management controls. | ||
| 26 | +- Teacher: | ||
| 27 | + - sees course/exam/event authoring controls where allowed. | ||
| 28 | + - sees grading, live monitor, attendance/session tools, and work log where allowed. | ||
| 29 | +- Manager: | ||
| 30 | + - sees management pages such as settings, terms, reports, and broader course/event/exam management. | ||
| 31 | + - should not rely on student enrollment scope unless the feature is explicitly personal. | ||
| 32 | +- Admin: | ||
| 33 | + - sees global management scope: all courses, exams, users, settings, terms, and admin-only pages. | ||
| 34 | + - dashboard KPIs and timelines should use global data where available. | ||
| 35 | + | ||
| 36 | +Audit checklist: | ||
| 37 | + | ||
| 38 | +- Sidebar items match role capability. | ||
| 39 | +- Route guards match backend permission expectations. | ||
| 40 | +- Header actions and row actions hide unavailable create/edit/delete operations. | ||
| 41 | +- Dashboard scope matches the current role. | ||
| 42 | +- Tables show user-facing labels, not raw ids, whenever lookup data is available. | ||
| 43 | +- Empty states explain real absence of data, not loading or scope mismatch. | ||
| 44 | + | ||
| 45 | +## Priority 2: README Update | ||
| 46 | + | ||
| 47 | +- Update stack, scripts, and local setup notes. | ||
| 48 | +- Document role hierarchy and UI scope rules. | ||
| 49 | +- Document dashboard behavior and table action standards. | ||
| 50 | +- Link the active docs under `docs/`. | ||
| 51 | +- Keep build verification as `bun run build`. | ||
| 52 | + | ||
| 53 | +## Priority 3: Docs Cleanup | ||
| 54 | + | ||
| 55 | +- Keep `docs/navigation-patterns.md` as the active interaction rulebook. | ||
| 56 | +- Keep `docs/ui-redesign-tokens.md` as the visual system reference. | ||
| 57 | +- Keep `docs/backend-ui-alignment-plan.md` as a completed archive unless backend scope changes. | ||
| 58 | +- Update docs whenever a rule changes; completed implementation plans must not look like active work. | ||
| 59 | + | ||
| 60 | +## Remaining UX Work | ||
| 18 | 61 | ||
| 19 | ### Notes UX | 62 | ### Notes UX |
| 20 | 63 | ||
| @@ -45,77 +88,23 @@ cleanup. | |||
| 45 | - Decide how far to extend the table/toolbar pattern to `events-page`, `notes-page`, `terms-page`, and `settings-page`. | 88 | - Decide how far to extend the table/toolbar pattern to `events-page`, `notes-page`, `terms-page`, and `settings-page`. |
| 46 | - Preserve non-table layouts only where cards communicate the domain better than rows. | 89 | - Preserve non-table layouts only where cards communicate the domain better than rows. |
| 47 | 90 | ||
| 48 | -## Dashboard Redesign Plan | ||
| 49 | - | ||
| 50 | -The homepage should become a richer, more useful dashboard while staying observation-only. | ||
| 51 | -It must not contain create, edit, delete, or mutation actions. | ||
| 52 | - | ||
| 53 | -### Goals | ||
| 54 | - | ||
| 55 | -- Provide a high-signal overview of the school workspace. | ||
| 56 | -- Make the first screen useful for students, teachers, managers, and admins. | ||
| 57 | -- Keep all cards as links or read-only summaries. | ||
| 58 | -- Reduce unnecessary initial API calls by fetching role-specific data only. | ||
| 59 | - | ||
| 60 | -### Role-Aware Sections | ||
| 61 | - | ||
| 62 | -- Student: | ||
| 63 | - - today and upcoming events | ||
| 64 | - - active/upcoming exams | ||
| 65 | - - report-card snapshot | ||
| 66 | - - enrolled courses | ||
| 67 | - - recent notebook items | ||
| 68 | -- Teacher: | ||
| 69 | - - courses taught | ||
| 70 | - - exams needing questions, monitoring, or grading | ||
| 71 | - - recent attendance/session activity | ||
| 72 | - - upcoming events | ||
| 73 | -- Manager: | ||
| 74 | - - term status | ||
| 75 | - - active courses/events/exams | ||
| 76 | - - settings/terms health links | ||
| 77 | -- Admin: | ||
| 78 | - - user role directory summary | ||
| 79 | - - management links as read-only status cards | ||
| 80 | - | ||
| 81 | -### Layout Direction | ||
| 82 | - | ||
| 83 | -- Use a larger hero/status strip at the top with user context and date. | ||
| 84 | -- Use a dense KPI row below it. | ||
| 85 | -- Add a βNeeds attentionβ panel for items requiring review. | ||
| 86 | -- Add an βUpcoming timelineβ panel for events/exams/sessions. | ||
| 87 | -- Add compact linked lists for courses, exams, notes, and attendance summaries. | ||
| 88 | -- Keep one page-level suspense boundary where practical and avoid spinner cascades. | ||
| 89 | - | ||
| 90 | -### Request Budget | ||
| 91 | - | ||
| 92 | -- Dashboard should not blindly fetch notes, events, exams, courses, and marks for every role. | ||
| 93 | -- Target initial request counts: | ||
| 94 | - - Student: at most 3-4 requests. | ||
| 95 | - - Teacher: at most 3-4 requests. | ||
| 96 | - - Manager/admin: at most 2-4 requests. | ||
| 97 | -- If backend later adds a `/dashboard` endpoint, prefer it over multiple list fetches. | ||
| 98 | - | ||
| 99 | ## Request Budget Targets | 91 | ## Request Budget Targets |
| 100 | 92 | ||
| 101 | -- `/courses`: max 2-3 initial API calls. | 93 | +- `/courses`: max 2-4 initial API calls depending on role and lookup needs. |
| 102 | - `/courses/:id`: initial detail data only; closed sections should make zero extra requests. | 94 | - `/courses/:id`: initial detail data only; closed sections should make zero extra requests. |
| 103 | - `/exams/:id`: initial exam data only plus role-required summary data; closed sections should make zero extra requests. | 95 | - `/exams/:id`: initial exam data only plus role-required summary data; closed sections should make zero extra requests. |
| 104 | - `/events/:id`: consider lazy-loading attendance if the route feels heavy. | 96 | - `/events/:id`: consider lazy-loading attendance if the route feels heavy. |
| 97 | +- Dashboard should avoid broad role-specific requests unless that role actually needs global scope. | ||
| 105 | - Settings-dependent controls should share the cached settings request. | 98 | - Settings-dependent controls should share the cached settings request. |
| 106 | 99 | ||
| 107 | -## Docs Cleanup | ||
| 108 | - | ||
| 109 | -- Keep `docs/navigation-patterns.md` as the active interaction rulebook. | ||
| 110 | -- Keep `docs/ui-redesign-tokens.md` as the visual system reference. | ||
| 111 | -- Keep `docs/backend-ui-alignment-plan.md` as a completed archive unless backend scope changes. | ||
| 112 | -- Update docs when a rule changes; do not let completed implementation plans look like active work. | ||
| 113 | - | ||
| 114 | ## Acceptance Checklist | 100 | ## Acceptance Checklist |
| 115 | 101 | ||
| 116 | - `bun run build` passes. | 102 | - `bun run build` passes. |
| 103 | +- Role-based UI audit is complete for sidebar, routes, dashboard, and actions. | ||
| 104 | +- README is current with stack, scripts, roles, UI patterns, and docs links. | ||
| 105 | +- Docs reflect active rules and do not contradict current implementation. | ||
| 117 | - No native `date` or `datetime-local` inputs remain where the shared `DatePicker` should be used. | 106 | - No native `date` or `datetime-local` inputs remain where the shared `DatePicker` should be used. |
| 118 | - Closed disclosure sections do not trigger network requests. | 107 | - Closed disclosure sections do not trigger network requests. |
| 119 | -- Dashboard remains observation-only. | 108 | +- Dashboard remains observation-only and role-scoped. |
| 120 | -- Header create buttons use a consistent icon + label style. | 109 | +- Table action columns use centered three-dot menus. |
| 121 | - Detail routes do not show stale resource content after navigating between ids. | 110 | - Detail routes do not show stale resource content after navigating between ids. |
docs/navigation-patterns.mdmodified+17 -1
| @@ -5,10 +5,26 @@ Use one of two patterns for every new interaction: | |||
| 5 | - Full page: resources with a durable detail view, such as a course, exam, event, user, exam room, or live monitor. Full pages must include breadcrumbs when nested. | 5 | - Full page: resources with a durable detail view, such as a course, exam, event, user, exam room, or live monitor. Full pages must include breadcrumbs when nested. |
| 6 | - Side panel: short contained work that should return the user to the same list context, such as create, quick edit, and filters. | 6 | - Side panel: short contained work that should return the user to the same list context, such as create, quick edit, and filters. |
| 7 | 7 | ||
| 8 | -Dashboard pages are observation-only. They may link to resource pages, but they must not contain create, edit, delete, or other mutation actions. A richer dashboard is allowed and encouraged, but every card or CTA must remain read-only navigation. | 8 | +Dashboard pages are observation-only. They must not contain create, edit, delete, or other mutation actions. A richer dashboard is allowed, but every section must remain informational and role-scoped. |
| 9 | + | ||
| 10 | +Role scope rules: | ||
| 11 | + | ||
| 12 | +- Admin sees global management data where the backend allows it. | ||
| 13 | +- Manager sees management-level data and controls, but not admin-only user administration unless explicitly allowed. | ||
| 14 | +- Teacher sees teaching, grading, session, attendance, event, and work-log controls where allowed. | ||
| 15 | +- Student sees own/enrolled/related data only. | ||
| 16 | +- If lookup data is available, show usernames or display names instead of raw ids. Raw ids are fallback only. | ||
| 9 | 17 | ||
| 10 | Admin pages are action-oriented. Lists should use shared toolbar and table primitives, compact rows, sticky headers, fixed status/action columns, and pagination. | 18 | Admin pages are action-oriented. Lists should use shared toolbar and table primitives, compact rows, sticky headers, fixed status/action columns, and pagination. |
| 11 | 19 | ||
| 20 | +Table action rules: | ||
| 21 | + | ||
| 22 | +- Row actions use `TableRowActions` with a centered three-dot trigger. | ||
| 23 | +- Action columns stay narrow and fixed (`3.5rem` on main tables, about `w-14` on compact detail tables). | ||
| 24 | +- Destructive row actions stay in the menu but still open a confirm dialog before mutation. | ||
| 25 | +- Date and numeric columns use stable alignment and tabular/mono text where useful. | ||
| 26 | +- Dense tables use subtle column separators so column boundaries stay visible. | ||
| 27 | + | ||
| 12 | Delete or destructive confirmation stays in a confirm dialog, not a side panel. | 28 | Delete or destructive confirmation stays in a confirm dialog, not a side panel. |
| 13 | 29 | ||
| 14 | Header create actions should use a consistent compact button shape: icon plus label, `size="sm"`, and `rounded-sm`. | 30 | Header create actions should use a consistent compact button shape: icon plus label, `size="sm"`, and `rounded-sm`. |
docs/ui-redesign-tokens.mdmodified+5 -0
| @@ -62,6 +62,8 @@ Density defaults: | |||
| 62 | - card padding: 16px | 62 | - card padding: 16px |
| 63 | - radius: 6px | 63 | - radius: 6px |
| 64 | - table numerals/IDs use tabular mono | 64 | - table numerals/IDs use tabular mono |
| 65 | +- table action column: narrow, centered, three-dot trigger | ||
| 66 | +- table column separators: subtle border between cells, no heavy gridlines | ||
| 65 | 67 | ||
| 66 | ## Proof Of Concept | 68 | ## Proof Of Concept |
| 67 | 69 | ||
| @@ -72,6 +74,7 @@ Implemented: | |||
| 72 | - grouped accordion sidebar with active category auto-open | 74 | - grouped accordion sidebar with active category auto-open |
| 73 | - compact stat row on top of users page | 75 | - compact stat row on top of users page |
| 74 | - dense sticky data table styling via `.data-table` | 76 | - dense sticky data table styling via `.data-table` |
| 77 | +- centered row action dropdowns via `TableRowActions` | ||
| 75 | - role pills with semantic tints | 78 | - role pills with semantic tints |
| 76 | - mono IDs and tabular metrics | 79 | - mono IDs and tabular metrics |
| 77 | - neutral surfaces, subtle borders, no gradients or decorative cards | 80 | - neutral surfaces, subtle borders, no gradients or decorative cards |
| @@ -79,11 +82,13 @@ Implemented: | |||
| 79 | ## Current Implementation Notes | 82 | ## Current Implementation Notes |
| 80 | 83 | ||
| 81 | - Data-heavy admin and management views should prefer `DataToolbar`, `DataTableFrame`, and `.data-table`. | 84 | - Data-heavy admin and management views should prefer `DataToolbar`, `DataTableFrame`, and `.data-table`. |
| 85 | +- Row-level table actions should use `TableRowActions`; avoid inline action button clusters in table rows. | ||
| 82 | - Quick create/edit flows should use `SidePanel`; destructive actions stay in confirm dialogs. | 86 | - Quick create/edit flows should use `SidePanel`; destructive actions stay in confirm dialogs. |
| 83 | - Durable resources keep full detail pages with breadcrumbs. | 87 | - Durable resources keep full detail pages with breadcrumbs. |
| 84 | - Large detail sections can use `SectionDisclosure`, but closed sections must not mount children or fetch data. | 88 | - Large detail sections can use `SectionDisclosure`, but closed sections must not mount children or fetch data. |
| 85 | - Product date inputs should use the shared `DatePicker`; date-time flows should pair it with a compact `HH:mm` input. | 89 | - Product date inputs should use the shared `DatePicker`; date-time flows should pair it with a compact `HH:mm` input. |
| 86 | - Sidebar icons are local SVG wrappers to keep development builds small and avoid large icon package module graphs. | 90 | - Sidebar icons are local SVG wrappers to keep development builds small and avoid large icon package module graphs. |
| 91 | +- User-facing tables should prefer usernames/display names over raw ids; show raw ids only as fallback or in explicit id columns. | ||
| 87 | 92 | ||
| 88 | Static wireframe: | 93 | Static wireframe: |
| 89 | 94 | ||