Skip to content

Show quick email verification widget on order page#7

Merged
v0l merged 2 commits into
mainfrom
copilot/add-email-verification-input
Feb 27, 2026
Merged

Show quick email verification widget on order page#7
v0l merged 2 commits into
mainfrom
copilot/add-email-verification-input

Conversation

Copilot AI commented Feb 27, 2026

Copy link
Copy Markdown
Contributor

Email verification is now required to complete orders, but users previously had to navigate to account settings to set/verify their email. This adds an inline email verification prompt directly on the order page.

Changes

New component: src/components/email-verification.tsx

  • Renders nothing if the user's email is already verified
  • When unverified, shows a compact banner with an email input (pre-filled if email already set) and a "Send Verification" button
  • Calls updateAccount on submit to save the email and trigger a server-side verification email
  • Switches to a success message after submission; surfaces errors inline
  • Cleans up async state updates on unmount via a mounted flag

Order page: src/pages/order/vm.tsx

  • Renders <EmailVerification /> at the top of the logged-in order flow, before OS/SSH key selection
Original prompt

This section details on the original issue you should resolve

<issue_title>Show quick email verification on order page</issue_title>
<issue_description>Now that email verification is required, we should show a quick input for email address on the order page so users can quickly verify their email address during the other process</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: v0l <1172179+v0l@users.noreply.github.com>
Copilot AI changed the title [WIP] Add quick email verification on order page Show quick email verification widget on order page Feb 27, 2026
@v0l
v0l marked this pull request as ready for review February 27, 2026 11:28
@v0l
v0l merged commit b6af508 into main Feb 27, 2026
1 check passed
@v0l
v0l deleted the copilot/add-email-verification-input branch February 27, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show quick email verification on order page

2 participants