📐 record full Figma parity with the running app
Browse files at this commit0f9d8a53584f70d6e174c2450146473cd805e54eParent: ecd47c4- docs
- 📐 record full Figma parity with the running app
1 changed file +29 -10
docs/ui/figma-migration-coverage.mdmodified+29 -10
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | Source: `Hezarfen App Design` (`E8K670gsUx87yMOySGWrKf`) | 3 | Source: `Hezarfen App Design` (`E8K670gsUx87yMOySGWrKf`) |
| 4 | 4 | ||
| 5 | -Last reviewed: 2026-09-12 | 5 | +Last reviewed: 2026-09-13 |
| 6 | 6 | ||
| 7 | This document is the route-level source of truth for the Figma migration. A | 7 | This document is the route-level source of truth for the Figma migration. A |
| 8 | Figma example never replaces a working authorization rule, API contract, | 8 | Figma example never replaces a working authorization rule, API contract, |
| @@ -15,16 +15,17 @@ must always be replaced with real application data. | |||
| 15 | |---|---:|---| | 15 | |---|---:|---| |
| 16 | | Components | `3:3` | Shared controls, navigation, data display, and feedback audited | | 16 | | Components | `3:3` | Shared controls, navigation, data display, and feedback audited | |
| 17 | | Icons | `3:4` | 84 Phosphor Regular 16px icons audited; shared app glyphs migrated | | 17 | | Icons | `3:4` | 84 Phosphor Regular 16px icons audited; shared app glyphs migrated | |
| 18 | -| Admin | `3:5` | 24 screens plus 2 modal variants audited | | 18 | +| Admin | `3:5` | ADM-01..29 are captures of the running app (ADM-07 and ADM-24a archived) | |
| 19 | -| Teacher | `3:6` | 14 screens plus 2 modal variants audited | | 19 | +| Teacher | `3:6` | TCH-01..17 are app captures (TCH-14a archived) | |
| 20 | -| Student | `3:7` | 11 screens plus 2 modal variants audited | | 20 | +| Student | `3:7` | STU-01..14 are app captures (STU-10a archived) | |
| 21 | -| Parent | `3:8` | 8 screens audited | | 21 | +| Parent | `3:8` | PAR-01..08 are app captures | |
| 22 | -| System | `103:2` | 7 screens audited | | 22 | +| System | `103:2` | SYS-01, 05, 07..10 are app captures (SYS-02, 03, 04, 06 archived) | |
| 23 | | Builder — Operatör | `205:23536` | BLD-01 login, BLD-02 schools, BLD-02a new school panel, BLD-03 school detail, BLD-03a enter-school panel | | 23 | | Builder — Operatör | `205:23536` | BLD-01 login, BLD-02 schools, BLD-02a new school panel, BLD-03 school detail, BLD-03a enter-school panel | |
| 24 | | Mobile Kit | `40:2` | Shared 393px mobile primitives audited | | 24 | | Mobile Kit | `40:2` | Shared 393px mobile primitives audited | |
| 25 | -| Student Mobile | `40:3` | 9 screens audited | | 25 | +| Student Mobile | `40:3` | STU-M01..M09 are 393x852 app captures | |
| 26 | -| Parent Mobile | `40:4` | 6 screens audited | | 26 | +| Parent Mobile | `40:4` | PAR-M01..M06 are 393x852 app captures | |
| 27 | -| Dark Mode | `113:9393` | 10 reference screens audited | | 27 | +| Dark Mode | `113:9393` | 10 web and 7 mobile app captures in dark theme; REF sheet kept | |
| 28 | +| 90 Arşiv | `247:12342` | Original hand-drawn designs, tagged by source page | | ||
| 28 | 29 | ||
| 29 | The Cover manifest also names a Foundations page, but no Foundations node URL | 30 | The Cover manifest also names a Foundations page, but no Foundations node URL |
| 30 | was supplied. Exact values already exposed by component and dark-mode contexts | 31 | was supplied. Exact values already exposed by component and dark-mode contexts |
| @@ -50,6 +51,25 @@ center, messages, notifications, Çelebi'ye sor) at x=260. Screens added from | |||
| 50 | the running app are `generate_figma_design` captures whose sidebar and top bar | 51 | the running app are `generate_figma_design` captures whose sidebar and top bar |
| 51 | were swapped for these component instances; their content is raw layers. | 52 | were swapped for these component instances; their content is raw layers. |
| 52 | 53 | ||
| 54 | +## Full app parity (2026-09-13) | ||
| 55 | + | ||
| 56 | +Every screen on the role, system, mobile and dark-mode pages is now a | ||
| 57 | +`generate_figma_design` capture of the running app against the local backend, | ||
| 58 | +so Figma shows exactly what the app renders, including real empty states. | ||
| 59 | +Rules the captures follow: | ||
| 60 | + | ||
| 61 | +- Desktop captures swap their sidebar and top bar for the `Web / Sidebar / *` | ||
| 62 | + and `Web / Top Bar` instances; mobile captures keep raw layers. | ||
| 63 | +- Features the backend does not serve are captured on their | ||
| 64 | + `/coming-soon/<slug>` page ("yakında"), never drawn with invented data. | ||
| 65 | +- Dialogs, panels and the notification popover are cropped to the viewport | ||
| 66 | + (1440x1024 or 393x852); tall pages keep their full height on role pages. | ||
| 67 | +- Designs with no app counterpart (password reset, institution picker, setup | ||
| 68 | + wizard, empty-state sheet, invite-code board and other screens without a route) | ||
| 69 | + moved to `90 Arşiv` with a `[Page]` name prefix instead of being deleted. | ||
| 70 | +- To refresh a screen, recapture it and swap the shell again; do not edit the | ||
| 71 | + captured content by hand. | ||
| 72 | + | ||
| 53 | ## Implemented foundation | 73 | ## Implemented foundation |
| 54 | 74 | ||
| 55 | - Figma semantic light/dark aliases with the landing page's `#00ADD8` brand | 75 | - Figma semantic light/dark aliases with the landing page's `#00ADD8` brand |
| @@ -137,7 +157,6 @@ false actions: | |||
| 137 | 157 | ||
| 138 | Keep the current UI and behavior until a specific design is added: | 158 | Keep the current UI and behavior until a specific design is added: |
| 139 | 159 | ||
| 140 | -- `/students/attendance`, `/students/exams`, `/students/study` parent tab routes | ||
| 141 | - `/studies`, `/clubs`, and `/attendance` redirect aliases | 160 | - `/studies`, `/clubs`, and `/attendance` redirect aliases |
| 142 | 161 | ||
| 143 | ## Asset policy | 162 | ## Asset policy |