Skip to content

Improvements to account feature#1064

Merged
ebma merged 12 commits intostagingfrom
fix-email-prompt-card-order
Feb 12, 2026
Merged

Improvements to account feature#1064
ebma merged 12 commits intostagingfrom
fix-email-prompt-card-order

Conversation

@ebma
Copy link
Member

@ebma ebma commented Feb 11, 2026

This PR includes the following changes, among others:

  • Fix order of email auth component
  • Show back button also on OTP card. Remove ‘Use a different email’ text
  • Hide history button if user is not logged in

@netlify
Copy link

netlify bot commented Feb 11, 2026

Deploy Preview for vortex-sandbox ready!

Name Link
🔨 Latest commit 78323f1
🔍 Latest deploy log https://app.netlify.com/projects/vortex-sandbox/deploys/698cb940d44ded000866bad1
😎 Deploy Preview https://deploy-preview-1064--vortex-sandbox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Feb 11, 2026

Deploy Preview for vortexfi ready!

Name Link
🔨 Latest commit 78323f1
🔍 Latest deploy log https://app.netlify.com/projects/vortexfi/deploys/698cb9404b69a10008f91e83
😎 Deploy Preview https://deploy-preview-1064--vortexfi.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the account authentication feature in the Vortex Finance widget by improving the user experience and navigation flow. The changes primarily focus on refining the authentication states, improving back navigation behavior, and updating template URLs for consistency.

Changes:

  • Enhanced authentication flow with postAuthTarget context field to track post-authentication navigation state
  • Added back button functionality to authentication screens (email and OTP steps) via MenuButtons component
  • Hid history menu button for unauthenticated users
  • Updated footer URLs in email templates to use language-specific paths and updated copyright to 2026

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
supabase/templates/signup.html Updated footer links to language-specific URLs and copyright year to 2026
supabase/templates/magic_link.html Updated footer links to language-specific URLs and copyright year to 2026
docs/architecture/ramp-machine-widget-flow.md Added comprehensive documentation for the ramp machine state flow and authentication gating changes
apps/frontend/src/machines/types.ts Added postAuthTarget field to RampContext for tracking post-auth navigation
apps/frontend/src/machines/ramp.machine.ts Implemented postAuthTarget logic, added GO_BACK handlers to auth states, removed auto-transition from Idle to CheckAuth, added auth gating before registration
apps/frontend/src/hooks/useStepBackNavigation.ts Added isAuthStep logic and refined useEffect to only trigger on specific conditions
apps/frontend/src/components/widget-steps/AuthOTPStep/index.tsx Added MenuButtons for back navigation, removed "Use different email" button, improved responsive layout for OTP input
apps/frontend/src/components/widget-steps/AuthEmailStep/index.tsx Added MenuButtons for back navigation
apps/frontend/src/components/menus/SettingsMenu/index.tsx Updated terms and conditions link to use language-specific path (has issue - see comments)
apps/frontend/src/components/menus/HistoryMenu/HistoryMenuButton/index.tsx Added authentication check to hide button when user is not logged in

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ebma ebma merged commit 40fc24f into staging Feb 12, 2026
5 checks passed
@ebma ebma deleted the fix-email-prompt-card-order branch February 12, 2026 09:36
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.

2 participants