Repository navigation
Fix the frame, not just the words - #73
Merged
Merged
Conversation
The previous pass removed jargon words. It did not remove the assumption underneath them. Slides 6 and 7 still described the software in system nouns, to a reader taken to already accept why the software should exist: - "A funding request workflow between groups and hubs, at group level only" - "Encrypted anonymous help requests routed to matching groups" - "Remove the introduction requirement, and the existing system works better" Nobody outside this project talks that way. "The introduction requirement" is worse than jargon - it is a phrase the deck coined two slides earlier and then used as though it were common language. Same facts, said from the point of view of the person it happens to: | was | now | | --- | --- | | A public directory of verified groups, browsable with no account and no tracking | A list of local groups anyone can search, with no account and nothing recorded about the search | | A funding request workflow between groups and hubs, at group level only | A way for a group to ask a fund for money, and for the fund to answer. Never for a person to ask | | An anonymous, end-to-end encrypted way to ask local groups for help | A way to ask nearby groups for help without saying who you are | | An arbiter of who deserves aid | A judge of who deserves help. Relay never makes that decision, and cannot | | Anywhere in the distribution path | Anywhere along the path the money takes | | A case management or benefits system | A caseworker system, or a benefits application | | Remove the introduction requirement, and the existing system works better | Take away the need to know somebody, and what already exists works better | | A verified public directory of groups | A searchable list of groups that someone has vouched for | | A group-level funding request and payout workflow | A way for groups to ask funds for money, and to see what happened to the request | | Encrypted anonymous help requests routed to matching groups | A way to ask for help anonymously, delivered only to groups working in that area | No claim changed. Every line says what the previous line said, without requiring the reader to have been in the room. Verified in Chromium and WebKit at four widths from 1440x900 to 320x700, all 15 slides: one painted, no overflow, no console errors. Figures still match the repository.
Two claim drifts in my own rewrite, found by checking it the way the last review checked the one before it. Rewriting the directory line for a general reader dropped the word verified. That is the trust claim the entire directory rests on - a list anyone can search is a different product from a list of groups someone has vouched for. Restored, in plain words. The 'not an arbiter' line gained 'and cannot'. The claim the deck has always made is that Relay never makes an eligibility decision. Whether it is incapable of doing so is a stronger statement I did not verify and do not need. Removed. Neither would have been caught by a spellcheck or a layout sweep, which is the point: a readability pass changes meaning by default unless each line is checked against what it replaced.
Flatts3000
added a commit
that referenced
this pull request
Aug 31, 2026
* Add four public pages built to survive being shared The deck works for a conversation already in progress. Nothing on the site worked for a link. ## The thing that had to be fixed first No page on relayfunds.org carried a single Open Graph tag, including the root. So every link to it, pasted into Bluesky, Mastodon, Signal, LinkedIn or a group chat, rendered as a bare URL next to the string "Relay" and one generic sentence. The deck could not fix that and neither could better copy. The app is a Vite SPA with no server rendering, so React routes cannot serve per-route tags to a crawler that does not run JavaScript. These are therefore static, built the way /deck is: /what-is-relay/ anyone; the one to paste into a feed /need-help/ a person who needs help /for-groups/ someone who organizes a local group /for-funds/ someone who helps run a pooled fund Each has its own tags and its own 1200x630 card, rendered from SVG at build time so a copy change cannot leave a card advertising the old headline. The site root gets tags too, generated into a marked block in frontend/index.html. ## /need-help/ opens with a warning, and that is the point No group has joined, and getPublicDirectoryEntries and getDirectoryEntries both filter on a verified hub membership, so a group cannot be listed or receive a request until a fund hub approves one. Anyone following a "find a group near you" button today reaches an empty list. Someone in a crisis who is told to ask and gets nothing back has been harmed by the page, not merely underserved. So the page says on its first line that it cannot help them today, points at 211, and only then explains what Relay will do. /for-groups/ carries the matching disclosure: signing up today registers interest ahead of a pilot rather than switching on a service. That inversion should be undone when the first groups are live, and not before. docs/social_launch_kit.md says so, and says not to promote the page until then. ## Written for someone who has not been in the room Same rule as #72 and #73, applied harder, because a shared page is entered from a link rather than read in order. Mutual aid is defined before it is used. A fund hub is defined on first use on every page separately, since no reader has necessarily seen another. The vocabulary dropped in #69 stays dropped. Every number is measured. marketing/check-counts.mjs recomputes the figures from deck/counts.mjs and compares them against the committed pages, and CI runs it, so these cannot drift the way the deck did at 187-against-188. Verified by tampering a page down to 188: the check fails, names the page and the discrepancy, and prints the rebuild command. The qualifications survive the move to marketing copy: the region and aid category are stored in the clear, the encryption claim is not left blanket, and the status band saying nobody has used this appears on all four pages rather than once. ## Serving, verified rather than assumed absolute_redirect off at the server level. /for-groups redirects to /for-groups/ before it is served, and nginx sits behind Caddy, which terminates TLS, so an absolute Location would downgrade the scheme and cost a hop back through the HTTPS redirect. Checked in a real nginx container with the production config: the 301 Location is relative, the pages are 200, /deck still carries its noindex, and the marketing pages carry none. Share card filenames carry a content hash because that same config serves .png with a one-year immutable cache, confirmed in the container. A card edited under a stable name would keep showing the old image to every crawler that had seen it. Fonts are served from this origin rather than linked from fonts.googleapis.com the way frontend/index.html does. That is a privacy decision before a size one: a webfont request hands a third party the address of every visitor, which CLAUDE.md rules out and which matters most on /need-help/. These pages make no third-party requests at all. ## Two pre-existing defects found on the way frontend/index.html links /favicon.svg, and no such file exists anywhere in the repository, so the live site has been 404ing its own icon. These pages point at logo.png; the app is not changed here. The app still loads webfonts from Google, unlike these pages. The fix is pointing it at /fonts/ and fetching the 500 weight it also uses. Left alone as an application change rather than a marketing one. Verified in Chromium at 1280x900 and 390x760, all four pages: rendered, no horizontal overflow at mobile, no console errors beyond the favicon 404 above. Share cards opened and checked rather than assumed. * Link the new pages from the app, which had orphaned them The four pages linked to each other and nothing linked to them. Every route in the app that renders PublicFooter - home, directory, privacy, terms, security, login - offered Privacy, Security, Terms and Built by, and no way at all to reach /what-is-relay/. So the pages were reachable only by already having the URL, which is the opposite of the problem they were built for, and exactly the orphan case rules/common/seo_audit_checklist.md SC-24 exists to catch. The footer now opens with "What Relay is", pointing at /what-is-relay/, which is the entry point of the set and links onward to the other three. ## Why it is an anchor and not a Link /what-is-relay/ is a static file under frontend/public/ and has no route in App.tsx. A react-router Link would push history, find no match, and render the not-found page without ever asking the server. A plain anchor does a real navigation. That failure would have looked exactly like a working link in review, so it was checked end to end rather than reasoned about: the real production nginx config serving the real frontend build, clicking the footer link from the running app. It lands on /what-is-relay/ with the static page's own title, not on NotFound. Both locales carry the label; the Spanish follows the wording the app already uses for its own surfaces rather than inventing a register. Typecheck, lint and all 39 frontend tests pass. * Fix eight review findings, including a claim that was not true All eight verified against the tree before being fixed; none was a false positive. ## The config pair drifted again frontend/nginx.conf ships inside the image and is what the root docker-compose.yml runs with no bind mount. It got absolute_redirect off only inside its ^~ /deck block, so with the production mount absent, /for-groups would have answered Location: http://relayfunds.org/for-groups/ - the exact scheme downgrade the new comment in deploy/nginx.prod.conf says it prevents. That file's own header warns about this pair disagreeing, and f01ac7e exists because it happened before. Set at server level in both now, and verified by running the image config in a container: the 301 Location is relative, /deck keeps its noindex, the marketing pages carry none. ## The footer claimed something the README already admitted was false It read "Nothing on this site sets a cookie, records who visited, or loads anything from a third party," directly above a link to /. frontend/index.html still loads fonts.googleapis.com on every SPA route, which hands Google the address of everyone opening / or /directory, and marketing/README.md concedes it in as many words. The claim is true of these four pages and not of the site, so it now says "These pages". No cookies anywhere, so only the third-party half was wrong. Verified by parsing all four built pages: the only external reference left is the clickable GitHub link in the footer, which is not a load. ## The rest esc() escaped & and < but not ", and every one of its call sites is a content="..." attribute or a <title>. One quote mark in a headline would have ended the attribute early and silently truncated the card text in every crawler, with nothing failing. Latent, since no current string has one. check-counts.mjs verified the figures and not the images, while build.mjs deletes a page's previous card whenever it writes a new one. So a rebuild committed with the HTML staged and frontend/public/share/ left unstaged would have pointed every og:image at a deleted file and passed CI green. It now resolves every og:image and twitter:image, on the four pages and on frontend/index.html, against the disk. Verified by deleting a card: the check names the page and the missing file. The frontend/index.html rewrite guarded against missing markers but not against a block whose URL had stopped matching the pattern - that case was a silent no-op after shareCard had already deleted the old PNG. It throws now. Verified by rewriting the block to a relative path: the build stops instead of exiting 0. /directory left the sitemap. It is an SPA route served from frontend/index.html, so its Open Graph tags are the home page's and it declares og:url of /, which submits it to crawlers as a duplicate of the root. It also renders empty today. The mobile nav hid three of its four links under 520px, so every mainstream phone in portrait saw exactly one - and on /what-is-relay/ that one was the current page, styled aria-current, a nav bar that navigated nowhere. The header wraps to two rows and the nav scrolls instead, and stops being sticky at that width rather than eating 100px of a phone viewport. Verified at 390x760: four links present, nav scrollable, no page overflow. logo.png is 682x381 and 139 KB, rendered 26px tall, and was larger than all four subsetted webfaces combined on pages built for a low-bandwidth audience. These pages now load a 5 KB resample, and a 2 KB square icon instead of letterboxing a 16:9 wordmark into the favicon slot. The app's copy is untouched. ## One defect the fixes introduced, caught by looking The logo first went in as https://relayfunds.org/share/logo-<hash>.png, which is right for og:image and wrong for anything the page loads itself: it hardcodes the production hostname, so the logo 404s on any local preview or staging domain and only appears to work in production. Found by opening the page rather than by reading the diff. writeHashed returns both forms now, absolute for the crawler tags and root-relative for in-page assets. Typecheck, lint, 191 tests, both count guards, and the frontend build all pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The previous pass removed jargon words. It did not remove the assumption underneath them.
Slides 6 and 7 still described the software in system nouns, to a reader taken to already accept why the software should exist:
Nobody outside this project talks that way. "The introduction requirement" is worse than jargon - it is a phrase the deck coined two slides earlier and then used as though it were common language.
Same facts, said from the point of view of the person it happens to:
No claim changed. Every line says what the previous line said, without requiring the reader to have been in the room.
Verified in Chromium and WebKit at four widths from 1440x900 to 320x700, all 15 slides: one painted, no overflow, no console errors. Figures still match the repository.