element-web icon indicating copy to clipboard operation
element-web copied to clipboard

Config parameter: "show_labs_settings" or "showLabsSettings"

Open Fail-Unsafe opened this issue 3 years ago • 3 comments

Steps to reproduce

  1. Trying to create a config.json for Element Web
  2. Using config.json as an example
  3. but at https://app.element.io/config.json the parameter is called "showLabsSettings"

Which one is the right one? I guess it's show_labs_settings.

Outcome

What did you expect?

Hide the Labs settings in Element Web

What happened instead?

No matter which parameter I choose, the Labs settings are still there even after a browser refresh.

Operating system

Ubuntu

Browser information

Firefox 102

URL for webapp

own private deployment

Application version

Element Version 1.10.15

Homeserver

Synapse 1.63.1

Will you send logs?

No

Fail-Unsafe avatar Aug 06 '22 14:08 Fail-Unsafe

No matter which parameter I choose, the Labs settings are still there even after a browser refresh.

Do you mean the betas are there (the big tiles like threads and video rooms) or the options below? You can't disable betas

Which one is the right one? I guess it's show_labs_settings.

Both show_labs_settings and showLabsSettings are correct though show_labs_settings is/might be depracted

SimonBrandner avatar Aug 07 '22 06:08 SimonBrandner

Do you mean the betas are there (the big tiles like threads and video rooms) or the options below? You can't disable betas

Yes, exactly. I thought I could remove the menu item altogether.

Fail-Unsafe avatar Aug 07 '22 13:08 Fail-Unsafe

Do you mean the betas are there (the big tiles like threads and video rooms) or the options below? You can't disable betas

Yes, exactly. I thought I could remove the menu item altogether.

That is not possible, sorry. I would recommend opening a new issue for that specifically if you want it to be added

SimonBrandner avatar Aug 07 '22 13:08 SimonBrandner

Which one is deprecated show_labs_settings or showLabsSettings? The last change was from showLabsSettings to show_labs_settings

  • #21429

dklimpel avatar Sep 13 '22 11:09 dklimpel

camelCase is deprecated, snake_case is documented: https://github.com/vector-im/element-web/blob/develop/docs/config.md

t3chguy avatar Sep 13 '22 11:09 t3chguy