Design system change¶
A uimmo change reaches every screen that renders it. The reviewer judges only what the PR shows: the goal, the screens it touches, and what nobody has checked yet. This skill adds those to pr-description.
What counts as a regression¶
A uimmo change that alters, unintentionally, what a user sees or can do on a screen the change did not target.
- Visual: spacing, colour, clipped text, missing state. Chromatic catches it.
- Behaviour: press, keyboard, open and close, gesture. Only a human on the platform catches it.
- Not a regression: an intended change logged in the uimmo changelog, or a component no screen renders yet.
A screen breaks → the PR fixes it.
1. Map the impact — before coding¶
- Start from a Linear ticket: the changelog file needs its id. A design system gap → a ticket in « Backlog Design Front », per design-system-first § 4. A refactor keeps the ticket of its own project.
bricks-intelget-component-usage <Name>for each touched export,get-impact-mapon each touched file.- Group the screens by app:
front-mobile-app,app-pdp-financement,sandbricks. - Show the list to the human with the split you propose (step 2). Wait for approval.
2. Pick the split¶
Take the first row that matches, after the pr-description table:
| Situation | Verdict |
|---|---|
| Independent concerns on one component (e.g. web vs native, gesture, accessibility, close lock) | Split: one PR per concern |
| New behaviour + every caller migrated, callers spread across modules or native behaviour changed | Stack: (1) add the behaviour, caller API unchanged or opt-in; (2) migrate callers, one module per PR |
| Few known callers, all visible in stories | Keep: replace in place, no deprecated copy |
| Anything else | Keep |
On Stack, mark the old export /** @deprecated Use <New>. */. The last migration PR removes it.
A deprecated export outlives its migration only with a Linear ticket.
3. Name the PR¶
type(uimmo): <goal> (<ticket>), per pr-description. E.g.
feat(uimmo): modale non fermable pour les confirmations (BRI-xxxx).
4. Check before review¶
- One story per changed state. Interaction tests (
play) for any behaviour change. - Before/after screenshots of the changed stories in the body, when a browser is available.
projects/common/uimmo/changelog/bri-<ticket>.json, per front-conventions § Components.- Run the impacted screens on every platform you can reach. Each one you cannot goes to
À vérifier.
5. Add to the PR body¶
Guide de revue → À lire attentivement: the screens from step 1, by app.
À vérifier: the items below the agent could not cover. A new component keeps only the states
line.
- [ ] Chromatic : diffs relus par un designer, seuls ceux annoncés par l'objectif acceptés
- [ ] États : survol, pressé, désactivé, erreur, chargement ; Tab et Entrée sur le web
- [ ] Écrans impactés ouverts sur web mobile, web desktop, iOS, Android : <écrans>
- [ ] Gestes natifs : swipe de fermeture, retour Android, clavier qui recouvre un champ
A designer accepts the intended Chromatic diffs. The lead of the Linear project « Backlog Design Front », or a front-end developer they name, approves the code.