Skip to content

feat(web): remind high-balance users to self-custody $AUDIO#14442

Open
raymondjacobson wants to merge 1 commit into
mainfrom
claude/wallet-secure-reminder-modal
Open

feat(web): remind high-balance users to self-custody $AUDIO#14442
raymondjacobson wants to merge 1 commit into
mainfrom
claude/wallet-secure-reminder-modal

Conversation

@raymondjacobson
Copy link
Copy Markdown
Member

Summary

  • Adds a modal on the web /wallet page that encourages users holding 1000 $AUDIO or more (in-app accountBalance) to move their balance to an external wallet they control.
  • CTA Read the FAQ opens https://help.audius.co/product/crypto-wallet-faq-for-audius-users in a new tab; Dismiss (and the X / outside-click) suppress the modal.
  • Dismissal is persisted in localStorage (secureWalletReminderDismissedAt) for 2 weeks before the modal can reappear.

Implementation notes

  • New component SecureWalletReminderModal rendered from WalletPage, gated on accountBalance >= AUDIO(1000) via useAudioBalance(). Uses accountBalance (custodial erc/spl balance) rather than totalBalance, so users who've already linked external wallets aren't nagged.
  • Built with the harmony Modal/ModalHeader/ModalContent/ModalFooter pattern.

Test plan

  • Sign in with an account holding >= 1000 $AUDIO, visit /wallet, confirm modal appears
  • Click Read the FAQ — opens help article in a new tab and closes modal
  • Click Dismiss (and test X / outside-click) — modal closes
  • Reload /wallet — modal does not reappear within 2 weeks
  • Account with < 1000 $AUDIO never sees the modal

🤖 Generated with Claude Code

Adds a wallet-page modal that encourages users holding 1000 or more
$AUDIO to move their balance to an external wallet. Dismissing (or
closing) suppresses the modal for two weeks via localStorage.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 2, 2026

⚠️ No Changeset found

Latest commit: 2dfa332

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 2, 2026

🌐 Web preview ready

Preview URL: https://audius-web-preview-pr-14442.audius.workers.dev

Unique preview for this PR (deployed from this branch).
Workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant