Added Beta Toggle button in user settings#3658
Open
uzman2406 wants to merge 5 commits intometabrainz:masterfrom
Open
Added Beta Toggle button in user settings#3658uzman2406 wants to merge 5 commits intometabrainz:masterfrom
uzman2406 wants to merge 5 commits intometabrainz:masterfrom
Conversation
Member
|
@uzman2406 Have you checked how the beta toggle button on MusicBrainz behaves? |
Contributor
Author
|
Thanks for the review @anshg1214 . I saw the UI of musicbrainz not the codebase . However I just took a look in the codebase of musicbrainz , I see that it uses backend endpoint to persists the user preference and then redirects accordingly and I’ve currently implemented this as a frontend-only toggle that redirects based on the current URL , since I can't find an equivalent backend endpoint. |
Member
|
Yes, it makes sense to persist this information in the backend. |
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.
Problem
Currently, there is no easy way for users to switch between the beta and production versions of ListenBrainz. This makes it inconvenient for users who want to test new features or move between environments.
LB-1611
Solution
I introduced a "Beta Toggle button" in the user settings that allows users to seamlessly switch between beta and production environments.

Screenshot:
AI usage