Repository navigation
fix(registration): a left-aligned, grey consent line that says "By registering" - #506
Merged
Merged
Conversation
…a thumb-sized privacy link The line under the sign-up fields was centred at 12px, and its privacy-policy link was only as tall as the text. It now sits left-aligned at text-sm in text-gray-11, and the link carries touch-target, so a touch screen gets a 44px tap area without the line growing taller. The English copy now reads "By registering", to match the button. It was published in sy-atlas-translations and only that line was synced into the snapshot, because a full sync still drops compact.open (#466). Co-Authored-By: Claude Opus 5.5 <[email protected]>
… atom The atom's base already carries touch-target relative (#432), so the classes the consent line added were a duplicate. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tence The tests outside the consent-line group rendered an empty consent paragraph. 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]>
Contributor
|
🤖 no session running Written by the sydevs dispatcher. Sessions never edit this comment. |
The browser gate measures the 44px area by hit test; a class-list assertion proves nothing about it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
11 tasks
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
text-sm(14px), intext-gray-11.Change outline
Components —
ConsentNoteThe paragraph drops the centred 12px setting. The link already had what the ticket asked for on main: the
Linkatom'stouch-target relativebase (#432), and a new tab withnoopenerfromisExternal.RegistrationFields src/components/organisms/RegistrationForm/RegistrationForm.tsx … ConsentNote(t('registration.form.privacy_policy')) splitInlineLink(text) # the <link>…</link> markup from #371 - <p text-center text-xs> + <p CONSENT_CLASSES = text-sm text-gray-11> # start-aligned, both branches before · <Link isExternal href=PRIVACY_POLICY_URL> · afterContract —
sy-atlas-translations, EnglishOne existing key changes its wording. No key is added or removed. It was published to production on 2026-11-26, and the snapshot's line mirrors it.
Preview
?story=organisms--registration-form), light and dark.Test results
src/components/organisms/RegistrationForm, 27 passed--story organisms--registration-form: clean, 50 controls measuredManual verification
target="_blank"and itsrelcontainsnoopener. The paragraph's computedfont-sizeis 14px and itstext-alignisstart.Notes for reviewer
%{link}slot. Main had since shipped the link through<link>…</link>markup in the existing key (fix(search): embed, search and navigation fixes from the 6 Nov bug sweep #371). This PR keeps that, so it adds no keys and retires none.<link>reads as plain text with no link, as on main. The ticket wanted the link appended after the sentence. That would repeat "privacy policy" in locales whose sentence already says it in plain text.pnpm sync:translations --writealso pulls unrelated drift, including droppingcompact.open, which is blocked until feat(widget): open every embed inline; expand the map over the page #466.text-smandtext-gray-11, and an SSR test cannot compute styles.Detail
/simplifywas skipped. It got an inline read plus/code-review high. The CHANGELOG entry added a fourth file afterwards.text-align: start; its colour isrgb(99, 99, 94)light andrgb(181, 179, 173)dark.rel="noopener noreferrer"; the box is 20px tall and its::aftertap area is 44px.gap-3to the Turnstile slot, so it touches the next element without overlapping it.docs/rules/i18n-and-state.md's description of the<link>markup still holds.🤖 Generated with Claude Code