syntaqxThe code boxes sit in the middle of signing in and confirming an email, a code is sent once, and nothing says "Please fill out this field". On the sign-in's second step and email confirmation the six boxes, the recovery link, the hint and the error are centred under the heading that already says what to enter; the label is for screen readers only there. Two-factor settings keep the labelled field, aligned left. A password manager that fills the code often sends the form itself too, and with the boxes sending it at the sixth digit the same code went twice: identity takes each authenticator code once (two_factor.last_step), so the second was refused and said "That code is not right" even when the code was right. While one sending is on its way, any other is now dropped by a submit listener on the form, which runs before React Router's, and the boxes never send a code again while one is out. The boxes are no longer `required`, which drew the browser's bubble over invisible input; an empty code is refused by the server as before. A refused code still clears the boxes and focuses them, and the red goes as soon as something new is typed. Checked: apps/web tsc -b and npm test (993), and the sign-in form in headless Chrome driven over CDP with an action that counts what reaches it: a filled code, the filler's own submit, the boxes' submit and one more while it was out reached the action once; after the refusal the boxes were empty, focused and red, and one typed digit took the red away. Not tried with a real password manager.db67273History
- ..
- ai-elements
- chat
- emoji
- folios
- notifications
- ui
- access.tsx
- account-settings.tsx
- actions.tsx
- add-ci.tsx
- agent-avatar.tsx
- agent-setup.tsx
- analytics-consent.tsx
- apps.tsx
- art.tsx
- ask-button.tsx
- ask-composer.tsx
- ask-steps.tsx
- attempts.tsx
- audit.tsx
- auth-card.tsx
- avatar-field.tsx
- base-branch.tsx
- billing-settings.tsx
- billing.tsx
- blame-view.tsx
- boundary.tsx
- branch-list.tsx
- branches.tsx
- checks.tsx
- clone-box.tsx
- code-lines.tsx
- codeowners.tsx
- coding-agent.tsx
- command-palette-dialog.tsx
- command-palette.tsx
- commit-checks.tsx
- commit-message.tsx
- commit-person.tsx
- confirm-name.tsx
- connection-toast.tsx
- connectors.tsx
- contribution-calendar.tsx
- coordination.tsx
- danger-zone.tsx
- debug-details.tsx
- delete-account.tsx
- dependency-updates.tsx
- deploy.tsx
- deployments-panel.tsx
- desktop-app.tsx
- desktop-runner-link.tsx
- desktop-runner-menu.tsx
- desktop-runners.tsx
- desktop-settings.tsx
- details-disclosure.tsx
- developer-mode-switch.tsx
- diff-view.tsx
- emails-section.tsx
- footer.tsx
- fork-bar.tsx
- fork-button.tsx
- github.tsx
- guardrails.tsx
- home-ask.tsx
- home-summary.tsx
- home.tsx
- honeypot.tsx
- inbox.tsx
- inline-markdown.tsx
- invitation-list.tsx
- invite-dialog.tsx
- invites-section.tsx
- labels.tsx
- landing-home.tsx
- landing.tsx
- landmark.tsx
- legal-doc.tsx
- logo.tsx
- markdown.tsx
- mention-textarea.tsx
- merge-actions.tsx
- merge-box.tsx
- merge-queue.tsx
- merge-settings.tsx
- milestones.tsx
- mission-control.tsx
- mission.tsx
- mobile.tsx
- model-providers.tsx
- not-found.tsx
- notifications.tsx
- observability-logs.tsx
- observability.tsx
- onboarding.tsx
- one-time-code.tsx
- package-icon.tsx
- package-settings.tsx
- people-picker.tsx
- people.tsx
- pin-button.tsx
- platform-mark.tsx
- policies-draft.tsx
- policy-notice.tsx
- presence.tsx
- product-tour.tsx
- production-image-field.tsx
- production-shot.tsx
- profile-form.tsx
- project-about.tsx
- project-head.tsx
- project-icon.tsx
- project-lifecycle.tsx
- public-header.tsx
- qr-code.tsx
- rail.tsx
- reactions.tsx
- releases.tsx
- repo-about.tsx
- repo-lifecycle.tsx
- repo-live.tsx
- repo-settings-heading.tsx
- repo-view.tsx
- route-error.tsx
- rules.tsx
- run-graph.tsx
- runners-page.tsx
- runners.tsx
- search.tsx
- secrets.tsx
- security-suite.tsx
- security.tsx
- session-entries.tsx
- settings-section.tsx
- shell.tsx
- spike-banner.tsx
- standalone.tsx
- star-button.tsx
- start-plan.tsx
- statement.tsx
- teams.tsx
- theme-switch.tsx
- token-form.tsx
- token-list.tsx
- token-regenerate.tsx
- token-scopes.tsx
- topics.tsx
- trust-page.tsx
- usage-card.tsx
- usage.tsx
- user-card.tsx
- webhooks.tsx
- welcome.tsx
- work-icons.tsx
- work.tsx
- workspace-security-tabs.tsx
- workspace-skeletons.tsx