Skip to content

Train V2#47

Draft
arentant wants to merge 180 commits intodevfrom
main-v2
Draft

Train V2#47
arentant wants to merge 180 commits intodevfrom
main-v2

Conversation

@arentant
Copy link
Contributor

@arentant arentant commented Feb 5, 2026

No description provided.

arentant and others added 19 commits December 23, 2025 19:35
- Implement separate hook atomic contract interactions for every provider
- update tailwind to v4
- 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.
- 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.
Update Modals in TRAIN, resolves FRONT-878
…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.
Implement passkey/wallet login
@vercel
Copy link

vercel bot commented Feb 5, 2026

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

Project Deployment Actions Updated (UTC)
trainapp Ready Ready Preview Feb 28, 2026 3:02pm
trainapp-monorepo Ready Ready Preview, Comment Feb 28, 2026 3:02pm

Request Review

yasha-meursault and others added 8 commits February 5, 2026 20:01
- Add `pr-review-report.md` and `tsconfig.tsbuildinfo` to .gitignore for better file management.
- Extend `CommitmentParams`, `RefundParams`, and `ClaimParams` in the PHTLC model to include an optional `index` property for hashlock-based contracts.
- Introduce a new `LockStatus` enum to represent the status of locks in the PHTLC model.
- Update various components and hooks to utilize the new `LockStatus` and modified PHTLC types for improved functionality and clarity.
Small fix in header height for stable layout in app and menu
…g and refining wallet switching logic for improved network compatibility.
arentant and others added 5 commits February 27, 2026 21:45
… support; refactor ManualClaim and UserActions components to utilize new HTLC write client. Update pnpm-lock.yaml and package.json for dependencies.
…mline HTLC operations. Introduce refund and claim methods, enhance createHTLC with ERC20 allowance checks, and update user lock details handling.
arentant and others added 2 commits February 28, 2026 15:25
…h explicit registerEvmSdk() init

Move top-level auto-registration out of sdk-evm index.ts into an exported
idempotent registerEvmSdk() function. Call it once at client-side app startup
in _app.js and remove bare side-effect imports from createHTLCClient.ts,
useHTLCWriteClient.ts, and evm.ts. Add vitest tests covering registration,
idempotency, and deriveKeyFromWallet wiring. Update registry error messages
and add sdk-evm README documenting the required initialization step.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace implicit sdk-evm side-effect registration with explicit init
arentant and others added 2 commits February 28, 2026 17:34
…llet packages; refactor AztecWalletProvider import and adjust UI spacing in TrainMenu and WalletsList components.
yasha-meursault and others added 2 commits February 28, 2026 17:47
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