Allow upgrading existing requests between regular and VIP#37
Merged
Jamesllllllllll merged 2 commits intomainfrom Mar 23, 2026
Merged
Allow upgrading existing requests between regular and VIP#37Jamesllllllllll merged 2 commits intomainfrom
Jamesllllllllll merged 2 commits intomainfrom
Conversation
|
Preview deployment updated. App: https://request-bot-pr-37.jameskeezer.workers.dev |
|
Preview deployment updated. App: https://request-bot-pr-37.jameskeezer.workers.dev |
Jamesllllllllll
added a commit
that referenced
this pull request
Apr 12, 2026
…-flow Allow upgrading existing requests between regular and VIP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow up on the VIP-token work in #18 by making it easy for viewers and moderators to convert an existing request between regular and VIP without creating a duplicate playlist item.
What Changed
!vip <existing request>upgrades a matching existing regular request to VIP instead of adding a second copy.!sr <existing VIP request>downgrades that request back to regular and refunds the VIP token.Found X songscount stays correct across pages.How To Test
npm run typecheck.npm run format.npm run lint.npm run test.npm run build.!vip <the second request>and confirm the existing request becomes VIP instead of duplicating.!sr <that same request>and confirm it becomes regular again and the VIP token is restored.Make VIPandMake regularon a requester with tokens and confirm the row updates, the token balance changes, and the button does not get stuck inSaving....Screenshots Or UI Notes
Checklist
Builds on #35
Refs #18