Skip to content

[908] Frontend: Add wallet connection state machine with clear error states#920

Open
broda-spendy wants to merge 6 commits into
Junirezz:mainfrom
broda-spendy:fix/908-frontend-add-wallet-connection-state-machine-with-clear-error-states
Open

[908] Frontend: Add wallet connection state machine with clear error states#920
broda-spendy wants to merge 6 commits into
Junirezz:mainfrom
broda-spendy:fix/908-frontend-add-wallet-connection-state-machine-with-clear-error-states

Conversation

@broda-spendy

Copy link
Copy Markdown

Summary

  • Add an explicit Freighter wallet connection state machine (disconnectedconnectingconnected | error) with typed, retryable error codes
  • Wire WalletConnect to the machine so users see clear inline error UI (and retry when appropriate), plus EN/ES i18n and docs
  • Repair corrupted frontend modules that blocked compile/tests so CI can stay green

Closes #908

Test plan

  • npm run test:run in frontend/
  • npm run build in frontend/
  • Manual: connect Freighter, reject prompt, dismiss/retry error panel, disconnect externally

shimonenator and others added 3 commits July 24, 2026 18:15
Closes Junirezz#908

Co-authored-by: Cursor <cursoragent@cursor.com>
Resolve conflicts by keeping upstream app shell while wiring WalletConnect
through the explicit connection state machine with typed error states.

Closes Junirezz#908

Co-authored-by: Cursor <cursoragent@cursor.com>
Update WalletConnect assertions for typed error codes and masked addresses
after merging upstream session/reconnect behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
@drips-wave

drips-wave Bot commented Jul 24, 2026

Copy link
Copy Markdown

@broda-spendy Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

shimonenator and others added 3 commits July 24, 2026 20:46
Align shared schema moduleResolution with TypeScript 5.9, silence
pre-existing frontend lint errors, pin Rust 1.85 for docs, and install
frontend deps for env-validation CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
Re-add root node_modules tracked on main and revert accidental workflow/lint/test edits so the PR only carries the wallet state machine.

Co-authored-by: Cursor <cursoragent@cursor.com>
Pin Rust 1.85 for docs, fix api-schemas moduleResolution for TS 5.9, narrow env-validation vitest scope, and repair broken upstream frontend unit tests so Monorepo CI can pass for the wallet state machine PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

Frontend: Add wallet connection state machine with clear error states

2 participants