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

Prefill donation form if user is logged in #483

Merged
merged 2 commits into from
Sep 13, 2024
Merged

Conversation

amCap1712
Copy link
Member

No description provided.

Copy link

github-actions bot commented Sep 11, 2024

Test Results

67 tests  ±0   67 ✅ ±0   10s ⏱️ -1s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 8c9b784. ± Comparison against base commit ebf5710.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@MonkeyDo MonkeyDo left a comment

Choose a reason for hiding this comment

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

@mayhem also mentioned that we might want to allow pre-filling the donation amount as well, I reckon with a url parameter (what about currency?).

I'm not sure if that was specifically and only for the LB donations page, but it seems like a logical thing to have available.

@amCap1712
Copy link
Member Author

@MonkeyDo Added prefill for donation and currency. Also, added prefill for editor name from url with a fallback to current logged in user's name if editor is not supplied in the url.

@amCap1712 amCap1712 merged commit d55b3e4 into master Sep 13, 2024
2 checks passed
@amCap1712 amCap1712 deleted the prefill-donation branch September 13, 2024 19:46
MonkeyDo added a commit to metabrainz/listenbrainz-server that referenced this pull request Oct 14, 2024
The ?amount=... param was added to the MeB.org donation page in metabrainz/metabrainz.org#483
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