Repository navigation
feat(registration): a tall sign-up form with one pinned Register and a clear confirmation - #529
Merged
Merged
Conversation
…a clear confirmation
- The sign-up form opens at the near-full snap on a phone (`opensTall`, beside DrawerStack's
snap effect), so the summary, the date, name, email and Register show without a drag.
- Register is one full-width button in the drawer footer, pinned to the viewport on a phone
sheet; Cancel and Okay go. It stays `disabled={isPreview || !token}`, with a line under it
saying the check is running, asking for the tick after 4 s, or that the check failed to load.
- The first class is a dropdown on the next date, each option "Tue 17 Nov · Next week".
- The form is `noValidate`; a mistyped email is flagged on blur, re-checked on edit once
flagged, and re-flagged after a remount restores the draft. Only the questions are marked
"(optional)" (new `FormField` `optional` prop).
- The confirmation keeps the summary in place, retitles the header "You're registered", names
the date (`formatLongDate`) and the email address, keeps the Add to calendar menu, and shows
"Invite a friend along" open with the share block.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…place with sync after SahajCloud#1294) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ndar at its own width Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…bars Co-Authored-By: Claude Opus 5.5 <[email protected]>
The sync brings SahajCloud#1294's sign-up keys, so the placeholder before it is now the production copy. It also carries production's drift since main's last sync: - the 13 keys SahajCloud already dropped leave RETIRING_KEYS; - compact.open is gone (SahajCloud#1268), so the compact card's button reads common.map.expand, the key the inline embed (#466) wires for the same action; - common.map.close and countries.place_title wait in PENDING_KEYS for #466. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…529) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
Contributor
|
Not required, so not blocking: 🤖 sydevs dispatcher |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nced SahajCloud#1298 drops title_class: registration.form.title was never translated outside English, so its English now reads "Register for this class" in production. The sync also brings #1295's first-screen keys, pending for that screen. Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # CHANGELOG.md # DESIGN_SYSTEM.md
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
sahajatlas-design | e77816c | Nov 27 2026, 02:31 AM |
…itle_class leaves the snapshot
The confirmation names the address ("We'll email a confirmation to …") under the "You're
registered" heading, so the lane asserts those instead of the preview-only followup line.
SahajCloud#1298 has deployed, so the sync drops title_class and its RETIRING_KEYS entry goes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ardnived
added a commit
that referenced
this pull request
Nov 27, 2026
… opening in one table SearchWithLocation folds into SearchField: `near="home"` on the first screen, the region on a place page, nothing elsewhere. Where the line shows is locationLineHere, a pure rule with its spec, so RegionView only hands its region over. MapSearch stays the geocoder organism both SearchField and the class-submission form build on. The phone sheet's openings move into sheetOpening, the total table #529 introduces, with the first screen as its `home` entry, so whichever PR lands second only edits rows. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ardnived
added a commit
that referenced
this pull request
Nov 27, 2026
Brings in #500–#530. Resolutions: - CompactEmbedView stays deleted; its #529 label change and changelog line are moot. - DrawerStack keeps the inline arm (`canCollapse` reads `sheeted`) on main's dismiss, showResults, sheetTall and dimmed scrim, beside "Close map". - LocatorProvider wraps MapProviders, so the inline map and its filters share one locator, and the expanded map gets its own. - Registration, Share and the form take `form-column` over main's new markup. - The panel stays 384px; the EventActions story previews 336px and 272px. - Translations take main's production snapshot; the two keys #466 wires leave PENDING_KEYS. - The story harness gains `expanded`, so the sticky-Register story shows the sheet. - embed.spec picks the expanded dialog first: the panel inside now reads the same name. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ardnived
added a commit
that referenced
this pull request
Nov 27, 2026
…ses near the visitor "Free meditation classes" heads the first screen, Filters beside it, and the search spans the panel with "Enter your city or postcode" (search.chrome. placeholder, reworded in sydevs/SahajCloud#1299) as its hint everywhere. SearchField takes a `near` prop and hangs one line under the field, drawn with the Alert atom: the guessed town ("Classes near Prague ›", with an × that removes it for the visit), or on the first screen "Classes near me ›", the filters' Near me; a refusal takes the line away and moves the cursor to the field. locationLineHere keeps it to the first screen and other countries' pages, never a region, a city, search results or the visitor's own country. The old banner and its GeolocationPrompt molecule go. The loader now waits for /geo.js before it boots (at most GEO_WAIT_MS), as the standalone page does, so the location is there at the first render and the visitor's country leads the country list without ever reordering it; a guess removed before the screen opened leaves the busiest-first order. The phone sheet's openings are #529's sheetOpening table with the first screen as its `home` row (380px, so the first country shows). The loading skeleton and the error chrome take the new shape. The session dismissal flag moves beside the location parser, keeping turf out of the store's chunk. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
The session for review-pr did not finish after 3 attempts. I have stopped retrying. A 🤖 sydevs dispatcher |
Ardnived
added a commit
that referenced
this pull request
Nov 27, 2026
…ses near the visitor (#531) * feat(ui): the first screen leads with its title, the search, and classes near the visitor "Free meditation classes" heads the first screen, Filters beside it, and the search spans the panel with "Enter your city or postcode" (search.chrome. placeholder, reworded in sydevs/SahajCloud#1299) as its hint everywhere. SearchField takes a `near` prop and hangs one line under the field, drawn with the Alert atom: the guessed town ("Classes near Prague ›", with an × that removes it for the visit), or on the first screen "Classes near me ›", the filters' Near me; a refusal takes the line away and moves the cursor to the field. locationLineHere keeps it to the first screen and other countries' pages, never a region, a city, search results or the visitor's own country. The old banner and its GeolocationPrompt molecule go. The loader now waits for /geo.js before it boots (at most GEO_WAIT_MS), as the standalone page does, so the location is there at the first render and the visitor's country leads the country list without ever reordering it; a guess removed before the screen opened leaves the busiest-first order. The phone sheet's openings are #529's sheetOpening table with the first screen as its `home` row (380px, so the first country shows). The loading skeleton and the error chrome take the new shape. The session dismissal flag moves beside the location parser, keeping turf out of the store's chunk. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(ci): the location line's skeleton is the Alert's 36px, and the copied contract matches main The first screen's skeleton drew a 40px line where the real Alert is 36px, so the browser lane saw the search band 4px taller while loading. The squash carried a stale payload-types.ts; it is main's again. Co-Authored-By: Claude Opus 5.5 <[email protected]> * build(size): embed's budget to 338 KiB for the first screen The first screen's title, its location line (the Alert atom, the filters' Near me hook and the rules for where the guess shows) and its own sheet stop are eager on purpose: the line must be there at the first paint, so it cannot sit behind a lazy seam. The embed graph shipped 336.0 KiB against 336 in CI, the growth the feature is; standalone keeps its 336 with 1.0 KiB spare. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Summary
common.map.expand, because SahajCloud#1268 retiredcompact.open.Change outline
Sheet height
SHEET_OPENINGinviews/DrawerStack/sheet-ladder.tsgives every view kind a height:tall(calendar, register),fit(event, share, filters) oropen. It replaces bothopensTalland the inlinefitsContentcheck, and DrawerStack's snap effect reads it once. A new view kind fails typecheck until it picks a height.Register bar
RegistrationViewrenders aDrawerFooteras a sibling of the body. It isstickywhere EventView's bar is (hasMap && !isWide).RegistrationFormportals its bar into that footer throughregisterSlot, using<button form={formId}>. Without a slot (stories, specs) the bar ends the form.disabled={isPreview || !token}unchanged. Under it is a status line: checking → after 4 s, ask for the tick → or the check couldn't load.STICKY_FOOTER_CLEARANCE(drawer-style), used by EventView and the sign-up form.Form
noValidate.Selectlabelled "Your first class". Options read "Tue 17 Nov · Next week".FormFieldtakes anoptionalflag and translatescommon.chrome.optionalitself, as it already writes the required " *". Only the questions use it.Confirmation
Alert(status, focused after a live submit) reads "See you on {formatLongDate}." with the email line under it. The header retitles to "You're registered".AddToCalendarat its own width, and the open "Invite a friend along" section withShareContent.Copy
pnpm sync:translations --write.registration.form.title, whose English now reads "Register for this class" in production. SahajCloud#1298 drops the short-livedtitle_class.registration.form.starting_date,okayandtitle_classare inRETIRING_KEYS. #1295's first-screen keys are inPENDING_KEYS.Preview
CI publishes this PR's Workers preview. Routes to check at 390×844 with touch:
/gb/south-east/brighton/1488/register: summary, date, name, email and Register without dragging. Typeanna@gmail, then tap away./ie/dublin/1355/register: the Online tag on the summary.Contract impact
None for the embed contract. A host sees the compact card's button read "Expand map" instead of "Find a class near you" until #466 removes the card.
Test results
RegistrationForm.email.test.tsx(jsdom), SSR checks inRegistrationForm.test.tsx,opensTall,FormFieldoptional,formatLongDate, and the shared clearance. Each new assertion was seen failing against the defect.Manual verification
Notes for reviewer
submittedto the view." The form renders on its own in stories and specs and must own the state. The view mirrors it only to retitle the header.opensTallforaddandcorrect. When it rebases, those become entries inSHEET_OPENING.🤖 Generated with Claude Code