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

Show all Labs feature toggles when developer mode is active #24571

Closed
MadLittleMods opened this issue Feb 17, 2023 · 1 comment · Fixed by matrix-org/matrix-react-sdk#11746
Closed

Comments

@MadLittleMods
Copy link
Contributor

MadLittleMods commented Feb 17, 2023

Your use case

Problem

Currently, the Settings -> Labs section is only shown when "showLabsSettings": true, is configured in the Element config.json which not every Element instance has activated. The Labs section is also shown for any active "Betas" but only shows the betas and not the feature toggles unless the showLabsSettings setting is also true.

Feature flags can still be toggled manually via the devtools console if you know the JavaScript magic necessary to make it happen. But this is cumbersome to lookup, figure out which toggle you want, and use every time.

If I've toggled /devtools -> Developer mode, then that should give enough indication that I want and am capable enough to handle the dangers of the Labs feature toggles.

How would you like to achieve it?

When developer mode is enabled, always show Labs feature toggles

Have you considered any alternatives?

No response

Additional context

This idea already has some buy-in and discussion in an internal room

Dev notes

SettingsStore.getValue("developerMode")

SdkConfig.get("show_labs_settings")
@aaronraimist
Copy link
Collaborator

Related: #8498

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants