Skip to content

Commit 128b91c

Browse files
Giaclaude
authored andcommitted
Fill in the change log hash for the combobox migration
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 75a338a commit 128b91c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/changelog.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ zero across these commits; several were pre-existing bugs the old markup had bee
396396
| `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. |
397397
| `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. |
398398
| `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. |
399-
| TBD | **Four of the five real select2 views render through `<rfg-combobox>` now** — `line_items/_line_item_fields` (the item picker shared by donations, purchases, distributions, audits and adjustments), `served_areas/_served_area_fields`, and the two plain multi-selects on `organizations/edit` and `partners/children/_form`. `product_drives/_form`'s select2 stays (free-tagging mode, `tags: true`, no fit for a fixed-option-list component) — surveyed and named, not silently left behind. New `EssentialsComboboxInput` (`config/initializers/simple_form_essentials.rb`) overrides `SimpleForm::Inputs::CollectionSelectInput#input` directly, opted into per field with `combobox: true` — simple_form's own `b.use` wrapper DSL has no seam for substituting a different renderer, confirmed reading its source. Three real bugs found integrating `<rfg-combobox>` for the first time, each fixed upstream in designsystem: it never noticed a plain `select.value = …` assignment (only attribute mutations — would have silently broken this app's own barcode scanner, which sets the item picker's value exactly that way); its synthesized textbox's `aria-label` fell back to a generic "Options" instead of the wrapped select's own; and nothing read the wrapped select's `disabled` property (a real functional regression for `line_items`' conditionally-locked item picker). Two more found opening the actual panel: its `max-height`/`overflow-y`/`min-width` rule was a descendant-combinator selector that stops matching the instant the panel portals to `<body>` (the identical bug was in `<rfg-menu>`'s own equivalent rule, found and fixed at the same time), and `min-width: 100%` meant "100% of the viewport," not the trigger, once portalled. Every system spec touching one of these four fields updated (`select`/`find_field`/`have_field` calls need `visible: false` now that the real select is genuinely `display: none`, not select2's sr-only clip; `select2()`/`await_select2()` helper calls removed, ids read live instead of guessed). See `docs/design-decisions.md` for the full account. |
399+
| `75a338a51` | **Four of the five real select2 views render through `<rfg-combobox>` now** — `line_items/_line_item_fields` (the item picker shared by donations, purchases, distributions, audits and adjustments), `served_areas/_served_area_fields`, and the two plain multi-selects on `organizations/edit` and `partners/children/_form`. `product_drives/_form`'s select2 stays (free-tagging mode, `tags: true`, no fit for a fixed-option-list component) — surveyed and named, not silently left behind. New `EssentialsComboboxInput` (`config/initializers/simple_form_essentials.rb`) overrides `SimpleForm::Inputs::CollectionSelectInput#input` directly, opted into per field with `combobox: true` — simple_form's own `b.use` wrapper DSL has no seam for substituting a different renderer, confirmed reading its source. Three real bugs found integrating `<rfg-combobox>` for the first time, each fixed upstream in designsystem: it never noticed a plain `select.value = …` assignment (only attribute mutations — would have silently broken this app's own barcode scanner, which sets the item picker's value exactly that way); its synthesized textbox's `aria-label` fell back to a generic "Options" instead of the wrapped select's own; and nothing read the wrapped select's `disabled` property (a real functional regression for `line_items`' conditionally-locked item picker). Two more found opening the actual panel: its `max-height`/`overflow-y`/`min-width` rule was a descendant-combinator selector that stops matching the instant the panel portals to `<body>` (the identical bug was in `<rfg-menu>`'s own equivalent rule, found and fixed at the same time), and `min-width: 100%` meant "100% of the viewport," not the trigger, once portalled. Every system spec touching one of these four fields updated (`select`/`find_field`/`have_field` calls need `visible: false` now that the real select is genuinely `display: none`, not select2's sr-only clip; `select2()`/`await_select2()` helper calls removed, ids read live instead of guessed). See `docs/design-decisions.md` for the full account. |
400400

401401

402402

0 commit comments

Comments
 (0)