Skip to content

Commit 0e694fe

Browse files
Giaclaude
authored andcommitted
Fill in the change log hash for the action-button migration
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 123fb20 commit 0e694fe

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
@@ -386,7 +386,7 @@ zero across these commits; several were pre-existing bugs the old markup had bee
386386
| `c12848bdb` | **A tour of the product for the landing page, previewed two ways; nothing is built.** `docs/mockups/landing-designs-tour.html` makes the five numbered steps the tour: choosing a step shows its screen, with the single screenshot and the feature list gone. `landing-designs-tour-tabs.html` keeps the steps and puts option A's five tabs under them. Both are the built page with one section changed, and neither uses JavaScript: the choice is a group of radio buttons, so it works from the keyboard and with scripts off. Measured 2026-11-17 at 1440px: the section is 1,184px tall as steps and 1,286px as tabs, against 1,159px as built; one screenshot loads until another is chosen, and all five come to 213 KB (steps) or 238 KB (tabs). At 390px the steps version shows all five screens one after another and the section grows from 1,732px to 3,015px. Recommended: the steps version. One new screenshot, a donation, is in `landing-designs-assets/`. |
387387
| `2ccb0d59c` | **The landing page's five steps are now a tour: choose a step and see the real screen that does it.** The owner chose the first of the two previews. `static/_tour` replaces the numbered list, the single screenshot and the feature list with five steps, each a radio button and its label, and a panel with that step's screen (a donation, a storage location, a request, a distribution, the reports page). There is still no JavaScript on the page: the stylesheet shows the panel after the checked radio, and the arrow keys move between steps. Below 992px nothing is chosen and each step is followed by its screen. `bin/design/landing-images.js` now retakes all five screens, and reproduces the committed ones byte for byte. **Also fixed, from the build the day before:** between 1024px and 1247px wide the map pushed the page 16px sideways; it now leans into the margin only from 1280px, and a system spec sweeps twelve widths from 320px to 1920px. Measured 2026-11-17 in Chrome: at 1440px the page is 169,935 bytes in 8 requests until a step is chosen, and each other screen is 36 to 50 KB when it is; at 390px all five screens load as the page is read, 346,496 bytes in 12 requests against 174,680 in 8 before the tour, and the page is 7,994px tall. axe and `wcag-manual.js` report nothing. `landing.css` is 21.7 KB (5.7 KB gzipped). 5 new system examples and 1 new request example. Not done: the screens are desktop pictures and are small on a phone. |
388388
| `2444a540c` | **`essentials_link_button` (158 call sites, 108 view files) renders through `<rfg-button>` now** — Ruby for Good's design system's own Web Component, vendored into `vendor/javascript/rfg-button.js` the same way `filterrific.js`/`rrule.js` already are, since this app has no Node build step (ADR 0012). Every call site is unchanged; only the helper's implementation changed, delegating `available: false` to the component's own "inert on arrival" handling. `essentials_action_button` (`button_to`/mutating buttons) is deliberately not migrated yet. The real cost, named in `design-decisions.md`: the rendered `<a>` only exists once client JS runs — the request specs that checked raw server HTML for one now check for either shape (`a[href=...], rfg-button[href=...]`). `button-audit.js` and two system specs read a button's variant back from literal Tailwind classes the old markup emitted; updated to also recognize `<rfg-button>`'s `variant` attribute. Two real component bugs (a crash under in-place AJAX/Turbo content replacement, and an un-hidden insertion marker growing every icon button ~20px) were found by this app's own full system-spec suite and fixed in the design system repo, not worked around here — designsystem ADR 14. (The hash in this row originally pointed at `0eedd6ce2`, a commit dropped by a later rebase — corrected here, same content.) |
389-
| TBD | **`essentials_action_button`'s `icon_only: false` path renders through `<rfg-button>` too now**, built on `form_with` instead of `button_to` — `button_to` can only ever wrap its own generated `<button>` tag around a block's content, never swap that tag for a custom element (confirmed from the actual Rails source), so the form is built directly, the same CSRF-token/method-override job `form_with` already does elsewhere in this codebase. `data-confirm`/`data-disable-with`/`data-confirm-label`/`data-confirm-tone`/`data-turbo` move onto `<rfg-button>` host, same as they used to live on `button_to`'s own `<button>`; a generalized, generic `data-*`/`aria-*`/`role` pass-through in the component (designsystem ADR 14) carries them onto the real control for rails-ujs and `confirm_dialog_controller.js` to see. `icon_only: true` (`essentials_row_icon_action`) is deliberately not migrated — see `design-decisions.md`. A real bug (the proxy copying instead of moving an attribute broke the confirm dialog's own replay step) was found and fixed in the design system repo before this app was touched. Full `rspec`: 3523 examples, the same two pre-existing flakes Phase 7 already named, plus one newly-surfaced-but-pre-existing failure from the unrelated landing-page merge (`spec/assets/asset_resolution_spec.rb`, confirmed via `git stash`). `confirm-audit.js`: 49 confirmations across 23 pages, all the app's own dialog. |
389+
| `123fb205a` | **`essentials_action_button`'s `icon_only: false` path renders through `<rfg-button>` too now**, built on `form_with` instead of `button_to` — `button_to` can only ever wrap its own generated `<button>` tag around a block's content, never swap that tag for a custom element (confirmed from the actual Rails source), so the form is built directly, the same CSRF-token/method-override job `form_with` already does elsewhere in this codebase. `data-confirm`/`data-disable-with`/`data-confirm-label`/`data-confirm-tone`/`data-turbo` move onto `<rfg-button>` host, same as they used to live on `button_to`'s own `<button>`; a generalized, generic `data-*`/`aria-*`/`role` pass-through in the component (designsystem ADR 14) carries them onto the real control for rails-ujs and `confirm_dialog_controller.js` to see. `icon_only: true` (`essentials_row_icon_action`) is deliberately not migrated — see `design-decisions.md`. A real bug (the proxy copying instead of moving an attribute broke the confirm dialog's own replay step) was found and fixed in the design system repo before this app was touched. Full `rspec`: 3523 examples, the same two pre-existing flakes Phase 7 already named, plus one newly-surfaced-but-pre-existing failure from the unrelated landing-page merge (`spec/assets/asset_resolution_spec.rb`, confirmed via `git stash`). `confirm-audit.js`: 49 confirmations across 23 pages, all the app's own dialog. |
390390

391391

392392

0 commit comments

Comments
 (0)