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 a small tip button on the leaderboard that opens the QR code for the users BCH address #1819 #1836

Closed
wants to merge 18 commits into from

Conversation

Sarthak5598
Copy link
Member

Copy link
Collaborator

@DonnieBLT DonnieBLT left a comment

Choose a reason for hiding this comment

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

See comment

<div>
<button type="button" id="openModal" class="btn btn-danger w-full" style="color: black;">Send a Tip</button>
<dialog id="dialog">
<img id="qr-image" src="{% url 'generate_bch_qr' %}" alt="QR Code">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just realized you're generating the qr code based on the logged in user. So you'd always be generating your own QR code. You need to pass in the username and lookup the user's BCH address that way for both sections.

@DonnieBLT
Copy link
Collaborator

Please prepare the code in your own branch and open the pr when complete

@DonnieBLT DonnieBLT closed this Feb 27, 2024
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.

None yet

2 participants