Repository navigation
Closed
Labels
enhancementNew feature or request
Description
Needs your OK: this adds a sentence under a draft's title saying how people sign up. Swap pipeline:proposed for pipeline:ready to have it built.
What happens
- The Build tab looks like the page people sign up on. It's a WYSIWYG sheet (
BuildWysiwyginsrc/components/build-wysiwyg/). Nothing on it says that people sign up somewhere else. - Organizers go looking for where names go. In user testing, one kept asking "how do I add who brings it?" until they found the Responses tab. Another expected fields for comments and a child's name, and decided there was "nothing to sign up for".
- The app does collect names. On the public page, Sign up asks for "Your name", an email (or "Email (optional)") and a note (
commit-dialog.tsxinsrc/app/s/[slug]/). Only the help page says so:create-and-publish-a-signupsays people "type their name" after they open the link. - What the Build tab says today. A draft's title has "Only you can see this draft until you publish it." under it (
DraftLineinsrc/components/signup/HeaderParts.tsx). Each slot row shows "0 of 2 taken" (slotRow.ts). Preview sits beside Publish and share, and Responses is a tab. None of it says who types what.
Fix, in outline
- Add one sentence to a draft's line, in its own element: "Then people open its link, choose a slot and type their name." It goes after "Only you can see this draft until you publish it."
DraftLineshows on a computer and a phone (throughPhoneStanding), so one change covers both.- Nothing else changes. Once published, the line is replaced by the public link and the "signed up" count, as today.
Watch for
- Tests that match the line exactly.
SignupHeader.test.tsx,MobileSignupHeader.test.tsxand the help walkthrough (tests/e2e/help/create-and-publish-a-signup.spec.ts,getByText(UI.draftOnly, { exact: true })) all match "Only you can see this draft until you publish it." Keep that sentence in its own element so they still match, and add the new one beside it. - Help.
create-and-publish-a-signupquotes the draft line after Create signup. Add the new sentence as its ownUIentry and say it in that step. Run the help-pages skill'sscripts/affected-articles.mjs. No screenshot shows the line close enough to read, but checknew-signup.pngandpublished.png. - Phone. At 390px the two sentences wrap to about three lines under the title. Check nothing in the phone header moves.
- No JavaScript cost.
HeaderParts.tsxrenders on the server and the phone header takes it as a node. Keep it that way. - CHANGELOG line.
Choices this makes
- Where it goes. Default: in the draft line under the title, which is already the place that says what a draft is. The other place is a note inside the Build sheet, under the description. That's closer to the slots, but it needs the signup's status passed into
BuildWysiwygand shows only on Build. - Drafts only. Default: yes. That's when organizers are setting it up. Once it's published, the link and the count say where sign-ups happen.
- The words. Default: "Then people open its link, choose a slot and type their name." It doesn't promise an email, since
requireEmailcan be off. - No "Sign up" placeholder on each slot, as the issue first suggested. Rows already show "0 of 2 taken", and a button in the builder that does nothing reads as broken.
- No change to the tabs or Preview. Since One Publish and share button, in a bar on phones; drafts show no public link #578, Preview sits beside Publish and share, and Responses is already a tab.
Done when
- A draft's page shows both sentences under its title, on a computer and at 390px wide.
- An open, closed or archived signup's page shows no new sentence.
SignupHeader.test.tsxchecks the new sentence on a draft and its absence once published.- The help article and its
UIlist match the screen, and the walkthrough passes. pnpm lint && pnpm typecheck && pnpm knip && pnpm testpass.
Rewritten from the original issue for the pipeline, and checked against HeaderParts.tsx, SignupHeader.tsx, BuildWysiwyg.tsx, commit-dialog.tsx and create-and-publish-a-signup.tsx on main at 2d4fdfe. https://claude.ai/code/session_016YZ9SUWWJa1udHCjU5fUma
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
[-]Builder doesn't make clear that people sign up (and enter their name) on the public page, not in the builder[/-][+]The Build tab doesn't say where people sign up and give their name[/+]