-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ui): Add email link strategy for SignIn #3715
Conversation
🦋 Changeset detectedLatest commit: bce364b The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-blocking comment on localization but LGTM
@@ -208,7 +208,7 @@ export function SignInComponentLoaded() { | |||
<button | |||
type='button' | |||
className='text-accent-9 focus-visible:ring-default size-4 rounded-sm outline-none focus-visible:ring-2' | |||
aria-label='Edit email address' | |||
aria-label='Start again' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there localized values for these already by chance?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not yet! Already created a follow-up ticket to come back to this (and other areas) before we ship!
43fcd52
to
80e672e
Compare
Description
Enable
<SignIn.Strategy name='email_link'>
with resend functionalityNote
Whilst the UI works as expected, no email will be sent due to the lack of a
redirect_url
. This will be tackled in a follow-up ticket once addressed upstreamAdditional Changes
I switched all the
aria-label
s for the pencil icon to "Start again" as this felt more appropriate; this might be a good candidate for extraction later. I'll create a follow-up ticket to translate in our polishing milestoneChecklist
npm test
runs as expected.npm run build
runs as expected.Type of change