Skip to content

Added Beta Toggle button in user settings#3658

Open
uzman2406 wants to merge 5 commits intometabrainz:masterfrom
uzman2406:Beta_Toggle
Open

Added Beta Toggle button in user settings#3658
uzman2406 wants to merge 5 commits intometabrainz:masterfrom
uzman2406:Beta_Toggle

Conversation

@uzman2406
Copy link
Copy Markdown
Contributor

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:
Screenshot 2026-03-26 204007

  • [✅] I have run the code and manually tested the changes

AI usage

  • [✅ ] I did not use any AI

@uzman2406 uzman2406 changed the title Update Settings.tsx Added Beta Toggle button in user settings Mar 28, 2026
@anshg1214
Copy link
Copy Markdown
Member

@uzman2406 Have you checked how the beta toggle button on MusicBrainz behaves?

@uzman2406
Copy link
Copy Markdown
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.
Would you prefer that I introduce a similar backend approach for ListenBrainz as well, or keep this as a simpler client-side switch for now?

@anshg1214
Copy link
Copy Markdown
Member

Yes, it makes sense to persist this information in the backend.

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.

2 participants