Skip to content

feat(referral): add visibility toggle for receiving address(OK-49840)#10012

Open
limichange wants to merge 3 commits intoxfrom
feat/referral-address-visibility-toggle
Open

feat(referral): add visibility toggle for receiving address(OK-49840)#10012
limichange wants to merge 3 commits intoxfrom
feat/referral-address-visibility-toggle

Conversation

@limichange
Copy link
Contributor

@limichange limichange commented Feb 5, 2026

Summary

  • Add eye icon button to toggle address visibility on referral reward page
  • Show asterisks (**********) when address is hidden
  • Add event logging (toggleReceivingAddressVisibility) for tracking user privacy preferences

Test plan

  • Navigate to Refer Friends → Invite Reward page
  • Verify eye icon appears next to the receiving address
  • Click eye icon to hide address (shows **********)
  • Click again to show address
  • Verify event is logged on each toggle

Jira

https://onekeyhq.atlassian.net/browse/OK-49840


Open with Devin

- Add eye icon button to toggle address visibility on referral page
- Show asterisks when address is hidden
- Add event logging for address visibility toggle
@limichange limichange enabled auto-merge (squash) February 5, 2026 04:01
@revan-zhang
Copy link
Contributor

revan-zhang commented Feb 5, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional flags.

Open in Devin Review

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.

3 participants