Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add privacy warning for XPub sharing #501

Merged
merged 2 commits into from
Dec 14, 2024
Merged

Add privacy warning for XPub sharing #501

merged 2 commits into from
Dec 14, 2024

Conversation

JSKitty
Copy link
Member

@JSKitty JSKitty commented Dec 14, 2024

Abstract

This PR re-adds a privacy warning to XPub sharing, as requested by a community member - it also cleans up the QR rendering logic to remove duplicate code from guiRenderReceiveModal by delegating QR rendering solely to renderAddress, hence the reduction in code.


Testing

To test this PR, it's suggested to attempt these user flows, or variations of these:

  • Switch to XPubs in Public Mode, check that a privacy warning is displayed above the QR.

If any errors are found, the PR works unexpectedly, or you have viable suggestions to improve the UX or functionality of the PR, let me know!


@JSKitty JSKitty added Bug This is either a bugfix (PR) or a bug (issue). Cleanup Removal and/or light refactoring of code labels Dec 14, 2024
@JSKitty JSKitty self-assigned this Dec 14, 2024
Copy link

netlify bot commented Dec 14, 2024

Deploy Preview for cheery-moxie-4f1121 ready!

Name Link
🔨 Latest commit fd6185b
🔍 Latest deploy log https://app.netlify.com/sites/cheery-moxie-4f1121/deploys/675d4fab1f2f2d0008fd3850
😎 Deploy Preview https://deploy-preview-501--cheery-moxie-4f1121.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@JSKitty JSKitty merged commit 9237400 into master Dec 14, 2024
6 checks passed
@JSKitty JSKitty deleted the xpub-privacy-warning branch December 14, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is either a bugfix (PR) or a bug (issue). Cleanup Removal and/or light refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant