Skip to content

Implement passkey/wallet login#45

Merged
arentant merged 11 commits intomain-v2from
FRONT-874
Feb 5, 2026
Merged

Implement passkey/wallet login#45
arentant merged 11 commits intomain-v2from
FRONT-874

Conversation

@arentant
Copy link
Contributor

@arentant arentant commented Feb 4, 2026

No description provided.

- Adjust padding in globalFooter, themeWrapper, and various components for consistent spacing.
- Introduce UserStatusHeader and UserStatusMenu components for user authentication status display.
- Update Navbar and HeaderWithMenu to include UserStatus for better user experience.
- Enhance LayerswapMenu and Modal components with improved styling and functionality.
- Implement Zustand store for managing secret derivation state, improving login handling.
@vercel
Copy link

vercel bot commented Feb 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
trainapp Ready Ready Preview Feb 5, 2026 3:08pm

Request Review

- Refactor UserStatus component to utilize Zustand store for retrieving passkey credential ID.
- Update secret derivation context to store and manage passkey credential ID during login.
- Modify passkey service to return both derived key and credential ID, improving authentication flow.
- Introduce utility functions for managing passkey credential ID in the store.
- Introduce new passkey choice step in the login modal for improved user experience.
- Implement functionality for using existing passkeys and creating new ones.
- Update secret derivation context to support new passkey login methods.
- Refactor submit button for consistent styling across components.
- Simplify passkey option click handler in the LoginModal component.
- Adjust minimum height for WizardItem component to enhance layout consistency.
- Replace inline rendering of user status with a new LoginDataCard component for better code organization and reusability.
- Update UserStatusContent to utilize the new LoginDataCard, enhancing the display of login method and wallet information.
- Simplify the MenuList component by removing redundant dynamic import of UserStatusMenu.
- Improve handling of passkey display ID for a more consistent user experience.
- Adjust padding in the Leaflet component of the Modal to improve layout.
- Update padding in the SwapForm and related components to enhance visual consistency.
- Modify padding in the Footer and Widget components for better alignment and spacing.
- Add space between form elements in the SwapForm component to improve visual organization.
- Ensure pointer events are managed correctly during form submission for better user interaction.
- Delete the LoginModal component, which handled user login via passkeys and wallets, to streamline the authentication process.
- Remove the PasskeyChoice component, responsible for selecting between existing and new passkeys, as part of the refactor.
…Modal error handling

- Add optional props `showHeader` and `showPasskeyWarning` to UserStatusContent for improved customization.
- Refactor UserStatusDrawer to utilize UserStatusContent, disabling header and passkey warning for a cleaner mobile view.
- Introduce a utility function in LoginModal for consistent error message handling during login failures.
@arentant arentant marked this pull request as ready for review February 5, 2026 15:14
@arentant arentant merged commit ae4c61a into main-v2 Feb 5, 2026
1 check passed
@arentant arentant deleted the FRONT-874 branch February 5, 2026 15:15
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.

1 participant