Skip to content

fix: wallet spinner, trim validation, paste cleanup, search race - #1017

Merged
OlaGreat merged 2 commits into
OlaGreat:mainfrom
ritaifeoluwa:fix/wallet-spinner-trim-paste-search-race
Aug 26, 2026
Merged

fix: wallet spinner, trim validation, paste cleanup, search race#1017
OlaGreat merged 2 commits into
OlaGreat:mainfrom
ritaifeoluwa:fix/wallet-spinner-trim-paste-search-race

Conversation

@ritaifeoluwa

Copy link
Copy Markdown

Closes #953
Closes #954
Closes #955
Closes #956

What changed

Why

  • Per-button spinner never appearing left users with no feedback on which wallet was connecting
  • Whitespace-only display names passed validation and looked broken on the profile
  • Pasted Stellar addresses with trailing whitespace/newlines showed "Invalid" with no auto-correction
  • Fast typists could see stale search results overwrite correct ones

How to test

  1. Spinner: Click a wallet button → spinner appears on that specific button while connecting
  2. Trim: Enter spaces only in display name → "required" error shown
  3. Paste: Paste a valid G-address with trailing newline → auto-corrects to valid 56-char address
  4. Search: Type "al" then quickly "alice" → only alice results shown, not stale "al" results

🤖 Generated with Claude Code

…reat#953, OlaGreat#954)

- Add connectingWalletId state set before adapter.connect() so the
  per-button spinner appears immediately on the clicked wallet button
- Trim display name and username in create-profile step 1 validation
  so whitespace-only input is rejected

Closes OlaGreat#953
Closes OlaGreat#954
…laGreat#955, OlaGreat#956)

- Fix inverted paste cleanup: always trim whitespace, then truncate
  G-prefixed addresses longer than 56 chars (was only truncating
  non-G strings which could never become valid)
- Add AbortController to search fetch so stale responses from earlier
  keystrokes are cancelled instead of overwriting newer results

Closes OlaGreat#955
Closes OlaGreat#956
@drips-wave

drips-wave Bot commented Aug 26, 2026

Copy link
Copy Markdown

@ritaifeoluwa 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

@OlaGreat
OlaGreat merged commit 394beb9 into OlaGreat:main Aug 26, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment