Skip to content

test: cover wallet-gated dashboard entry and recipient deep-link prefill - #1127

Merged
ogazboiz merged 1 commit into
LabsCrypt:mainfrom
Emmanuelchukwunonso:feat/issues-1111-1112-1113
Jul 29, 2026
Merged

test: cover wallet-gated dashboard entry and recipient deep-link prefill#1127
ogazboiz merged 1 commit into
LabsCrypt:mainfrom
Emmanuelchukwunonso:feat/issues-1111-1112-1113

Conversation

@Emmanuelchukwunonso

@Emmanuelchukwunonso Emmanuelchukwunonso commented Jul 29, 2026

Copy link
Copy Markdown
Contributor
  • Adds tests for WalletEntry covering the pre-hydration loading state, the no-session state (wallet-connect modal shown), and the connected-session state (dashboard rendered).
  • Adds recipient prefill via a ?recipient= query param on the create-stream page (for "pay this address" deep links), validated with StrKey.isValidEd25519PublicKey and ignored gracefully when malformed, with tests for valid/malformed/absent param cases.
  • stream.repository.ts currently has no top-up read-modify-write logic to race

Test plan

- Add WalletEntry tests for the pre-hydration, no-session, and
  connected-session states so the wallet-gate behavior on /dashboard
  is pinned down.
- Add recipient query-param prefill to the create-stream form (used
  for "pay this address" deep links), validating the address with
  StrKey and ignoring malformed values instead of crashing, with
  tests for the valid, malformed, and absent-param cases.

Closes LabsCrypt#1112
Closes LabsCrypt#1113

stream.repository.ts has no top-up read-modify-write path yet (LabsCrypt#1111
describes a race in logic that doesn't exist in this codebase), so no
change was made for that one.
@ogazboiz
ogazboiz merged commit 57c8314 into LabsCrypt:main Jul 29, 2026
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment