Skip to content

Commit dcd7c66

Browse files
Giaclaude
authored andcommitted
Fill in the change log hash for the rfg-button migration
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 2444a54 commit dcd7c66

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎docs/changelog.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ zero across these commits; several were pre-existing bugs the old markup had bee
385385
| `1f8604bdb` | **The landing page is rebuilt as option C: a night map with a light for each bank in the two directories, and the bank finder's search box in the first screen.** `/` and `/privacypolicy` are now the public site, on `layouts/landing` with a plain stylesheet, `landing.css` (19 KB against the app's 186 KB), Figtree and the brand tokens, and no JavaScript; the two pages' inline `<style>` blocks, 474 and 365 lines, are gone. The lights are not drawn into the page: `BankMapQuery` projects every located `BankListing` on each request (Albers USA, written in Ruby and checked against d3-geo on all 347 listings, 0.0 units apart), so the map and its count follow the weekly import. Puerto Rico's bank has a labelled spot. With no listings the outline is drawn alone. Asking for an account has one name, *Request an account*, where the old page had "Register", "Request An Account" and "Request an account". Each kind of visitor has a door: request an account, log in, or find a bank (the page had no link to `/find-a-bank`). Added: a meta description, canonical link, Open Graph tags and a 1200x630 share picture; headings that run h1, h2, h3; a skip link; one animation (the lights, once, off under `prefers-reduced-motion`) where there were six that never stopped. Measured 2026-11-16: axe finds no WCAG A or AA violation on either page at 1440px or 390px; the lowest contrast is 5.22:1; `wcag-manual.js`, `responsive-audit.js` (1,617 page and width combinations) and `route-sweep.js` (146 screens) report nothing; the page is 174,638 bytes in 8 requests uncompressed, against 23,568 in one for the page it replaces, which had no images and a system font. Figtree 900 (two files, 17 KB) is vendored for the headlines. `bin/design/landing-images.js` retakes the share picture and the product screenshot. The privacy policy's words are unchanged; its "Contact Us" heading went from h3 to h2. Not done: the "200+ / 3M+ / 400K+" figures are still typed from the README, and option A's five-screen tour was not added. 9 new system examples, 19 new request and query examples. |
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. |
388+
| `0eedd6ce2` | **`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. |
388389

389390

390391

0 commit comments

Comments
 (0)