You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 62d4a16
Browse filesBrowse the repository at this point in the historyBrowse files
authored and
Gia
committed
Fill in the change log hashes for the menu/tooltip migration
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/changelog.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -394,8 +394,8 @@ zero across these commits; several were pre-existing bugs the old markup had bee
394
394
|`b0ab1e0b3`|**`KitsHelper#deactivate_kit_button` deleted** — found dead 2026-11-20 (`kits/_table.html.erb` builds its own item hash for `row_actions` instead), left named-not-removed for a day on the rule that deleting dead code is a separate decision from migrating a live one; asked, and the answer was to remove it. The file held only this one method, so it's gone entirely; no spec referenced it. |
395
395
|`18654d2e3`|**`/distributions/schedule`'s calendar range/layout switches render through `<rfg-segmented-control>`** — the designsystem repo's own evidence pass had built that component from this exact view, so this closes the loop: `vendor/javascript/rfg-segmented-control.js` vendored and pinned the same way `rfg-button.js` already is, `essentials_view_toggle_classes` deleted (its only two call sites), `calendar_controller.js`'s `switchRange`/`switchLayout` now read `event.detail.value` off `rfg-change` instead of a per-button `click`'s dataset, and `markPressed` became `syncGroupValues`, setting the component's `value` property rather than `aria-pressed` on each button directly. Full calendar describe block (82 examples) passes; eight spec assertions updated to the new markup shape. See `docs/design-decisions.md` for the full account. |
396
396
|`82c62e6bc`|**`--radius-control`, `--radius-surface`, `--radius-pill`, `--shadow-overlay` and `--color-neutral-50/100/200/500/700/900` defined**, the same semantic-token contract `--color-danger` already has — found undefined by checking `<rfg-segmented-control>`'s own computed styles in a real browser, not assumed correct from the screenshot alone: `border-radius` computed to `0px` (no rounded corners at all) and the border painted Tailwind's own zero-chroma neutral grey rather than this app's slate. All six alias to this app's own already-established equivalents (`--radius-lg`/`--radius-2xl`/`--shadow-xl`/`--color-slate-*`), except `--radius-pill`, which is a literal `9999px` since nothing in this app's scanned templates uses `rounded-full`, so Tailwind v4 never emits that variable for this build to alias. Prerequisite for vendoring `<rfg-popover>`/`<rfg-menu>`, which also reference these. |
397
-
| TBD | **The table-row kebab, the page-level labelled menu, and both top bars' account menus render through `<rfg-menu>` now** — all four were the same real `popover_controller`/`role="menu"` pattern that component was built from in designsystem's own ADR 14. `popover_controller.js` stays, narrower: the date range filter, compare picker and month range picker are the genuinely `role="dialog"`-shaped consumers left, and its own now-dead `role="menu"` arrow-key gate (`moveWithArrows`) was removed. Found and fixed along the way: design.md's Row actions section had claimed `popover_controller` "does not do arrow-key movement" since the section was written, true of its first version but not any version since — corrected by annotation, not silently edited. `<rfg-menu>` itself gained its own panel padding/min-width upstream (designsystem commit `38829bd`), since `<rfg-popover>`'s generic `0.75rem` inset broke the edge-to-edge item styling this app's own markup always had. `spec/support/row_actions.rb` and four more specs updated from `data-popover-target` selectors to `[slot=trigger]`/`.rfg-popover-panel`; 132 examples green. `overlay-audit.js`, `button-audit.js`, `wcag-audit.js`, `keyboard-audit.js` all clean. See `docs/design-decisions.md` for the full account. |
398
-
| TBD | **Every icon-only control's tooltip renders through `<rfg-tooltip>` now**, closing the same evidence loop `<rfg-menu>` did — this app's own `tooltip_controller.js` (640 controls, 153 screens, 0 defects) is what the component was generalized from. `essentials_row_icon_link`/`essentials_action_button`'s `icon_only` path and the two hand-built barcode-scan buttons now wrap `<rfg-button>` in `<rfg-tooltip text="...">` instead of a `data-tooltip` attribute; `tooltip_controller.js` is deleted (nothing read `data-tooltip` anymore) and removed from both shells' `data-controller` list. Two of this app's own audit scripts were checking the old attribute literally and had to be updated to the new shape, not just the app: `tooltip-audit.js` (was reading `el.dataset.tooltip`, now `el.closest("rfg-tooltip")`'s `text`) and `confirm-audit.js` (was collecting row-menu triggers via `[data-popover-target="trigger"]`, now `[slot="trigger"]`) — both reported false defects until fixed, confirming the tooling-trusts-a-specific-attribute trap is worth naming explicitly. 595 icon-only controls across 156 screens, 0 defects; 49 confirmations across 23 pages, all reachable. See `docs/design-decisions.md` for the full account. |
397
+
| `56f0c2bc0` | **The table-row kebab, the page-level labelled menu, and both top bars' account menus render through `<rfg-menu>` now** — all four were the same real `popover_controller`/`role="menu"` pattern that component was built from in designsystem's own ADR 14. `popover_controller.js` stays, narrower: the date range filter, compare picker and month range picker are the genuinely `role="dialog"`-shaped consumers left, and its own now-dead `role="menu"` arrow-key gate (`moveWithArrows`) was removed. Found and fixed along the way: design.md's Row actions section had claimed `popover_controller` "does not do arrow-key movement" since the section was written, true of its first version but not any version since — corrected by annotation, not silently edited. `<rfg-menu>` itself gained its own panel padding/min-width upstream (designsystem commit `38829bd`), since `<rfg-popover>`'s generic `0.75rem` inset broke the edge-to-edge item styling this app's own markup always had. `spec/support/row_actions.rb` and four more specs updated from `data-popover-target` selectors to `[slot=trigger]`/`.rfg-popover-panel`; 132 examples green. `overlay-audit.js`, `button-audit.js`, `wcag-audit.js`, `keyboard-audit.js` all clean. See `docs/design-decisions.md` for the full account. |
398
+
| `56f0c2bc0` | **Every icon-only control's tooltip renders through `<rfg-tooltip>` now**, closing the same evidence loop `<rfg-menu>` did — this app's own `tooltip_controller.js` (640 controls, 153 screens, 0 defects) is what the component was generalized from. `essentials_row_icon_link`/`essentials_action_button`'s `icon_only` path and the two hand-built barcode-scan buttons now wrap `<rfg-button>` in `<rfg-tooltip text="...">` instead of a `data-tooltip` attribute; `tooltip_controller.js` is deleted (nothing read `data-tooltip` anymore) and removed from both shells' `data-controller` list. Two of this app's own audit scripts were checking the old attribute literally and had to be updated to the new shape, not just the app: `tooltip-audit.js` (was reading `el.dataset.tooltip`, now `el.closest("rfg-tooltip")`'s `text`) and `confirm-audit.js` (was collecting row-menu triggers via `[data-popover-target="trigger"]`, now `[slot="trigger"]`) — both reported false defects until fixed, confirming the tooling-trusts-a-specific-attribute trap is worth naming explicitly. 595 icon-only controls across 156 screens, 0 defects; 49 confirmations across 23 pages, all reachable. See `docs/design-decisions.md` for the full account. |
0 commit comments