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

Make Developer Tools accessible through GUI #21773

Closed
Xiretza opened this issue Apr 13, 2022 · 11 comments
Closed

Make Developer Tools accessible through GUI #21773

Xiretza opened this issue Apr 13, 2022 · 11 comments
Assignees
Labels
A-DevTools /devtools, show hidden events, etc. O-Occasional Affects or can be seen by some users regularly or most users rarely T-Enhancement

Comments

@Xiretza
Copy link

Xiretza commented Apr 13, 2022

Your use case

What would you like to do?

Currently, the "Developer Tools" modal seems to only be accessible by sending the "/devtools" command to a room. It should also be accessible through a more discoverable graphical menu.

Why would you like to do it?

I don't know any concrete design policies for Element, but personally I find the current state quite surprising - with a primarily graphical application such as Element, I expect all functionality to be accessible through some menu or another and to not have to resort to a command line interface.

How would you like to achieve it?

The ideal place for it would probably be in the "Advanced" tab of the Room Settings dialog (entered either 1. by clicking the three dots on or right clicking a room/space -> Settings, 2. by clicking the room name on the top of the room window -> Settings, or 3. via "Room Info" sidebar -> Room settings). Currently, this tab only contains the room ID and room version.

Have you considered any alternatives?

No response

Additional context

No response

@robintown
Copy link
Member

It is accessible through the GUI as described in #21771 (comment), though I agree that the setting to enable developer mode in the first place could stand to be accessible somewhere in the non-developer GUI

@Xiretza
Copy link
Author

Xiretza commented Apr 13, 2022

Agreed - while it is accessible through the GUI when developer mode is active, the only way to enable developer mode is through the exact menu in question. Making it possible to enable developer mode through the main Settings menu would also solve this catch-22, but the main Settings menu doesn't (currently) have an "Advanced" tab that this setting would obviously fit into.

@t3chguy
Copy link
Member

t3chguy commented Apr 13, 2022

Making it possible to enable developer mode through the main Settings menu would also solve this catch-22, but the main Settings menu doesn't (currently) have an "Advanced" tab that this setting would obviously fit into.

So this used to be possible but required show_labs_settings to be enabled in the config.json so it was actually restrictive to you needing a development build/config.

@dbkr dbkr added O-Occasional Affects or can be seen by some users regularly or most users rarely A-DevTools /devtools, show hidden events, etc. labels Apr 13, 2022
@MadLittleMods
Copy link
Contributor

Adding it back to Room settings -> Advanced when developer mode is enabled would be nice 👍

It is accessible through the GUI as described in #21771 (comment), though I agree that the setting to enable developer mode in the first place could stand to be accessible somewhere in the non-developer GUI

I completely missed the quick settings menu at bottom of the space bar and thought it was only toggle-able via /devtools which sucks when you're trying to compose a message with some copy-pasted event ID's.

@robintown
Copy link
Member

robintown commented Apr 23, 2022

It isn't a room-level setting though, it's device level, so it would probably belong somewhere in user settings nevermind, misread what you were saying

@t3chguy
Copy link
Member

t3chguy commented Apr 25, 2022

@MadLittleMods

Adding it back to Room settings -> Advanced when developer mode is enabled would be nice 👍

It is also in the room menu

image

@fnwbr
Copy link

fnwbr commented Aug 15, 2022

Thanks for all the hints you people gave.
At the same time I agree that it would be nice to make this even more accessible.

Adding the "Enable developer mode" toggle to the "All settings" > "Labs" > "Developer" section would be quite nice.

@MadLittleMods
Copy link
Contributor

MadLittleMods commented Apr 17, 2023

Adding it back to Room settings -> Advanced when developer mode is enabled would be nice 👍

To add another reason why opening from the room list -> Settings -> Advanced would be nice is if you want to check your notification debug status without opening up the room which would modify the read state.

@weeman1337
Copy link
Contributor

weeman1337 commented Apr 18, 2023

I am currently working on matrix-org/matrix-react-sdk#10634 . I think some suggestions from here are good additions or may even replace the room selection:

  • Option to enable developer mode in settings
  • If dev mode is enabled a menu item in the room list

@daniellekirkwood
Copy link
Contributor

Hey there!

We've made the decision to leave the Developer Tools toggle inside of the /devtools command. Once developer tools has been activated, you're now able to access the developer tools for a room using the room context menu and the room header menu.

We do not want to reveal the Developer Tools toggle at a higher level (in General Settings) at this stage.

Thanks for your feedback. I'll be closing this issue but if you have other ideas, comments, or user problems feel free to raise them.

@MadLittleMods
Copy link
Contributor

The last comment makes it seem like nothing more is happening from what we currently have in the UI. But reading closely, this does actually include an improvment:

Once developer tools has been activated, you're now able to access the developer tools for a room using the room context menu

Which is being addressed by matrix-org/matrix-react-sdk#10635

This solves my use case of being able to open notification debug and reference other rooms without opening the room 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-DevTools /devtools, show hidden events, etc. O-Occasional Affects or can be seen by some users regularly or most users rarely T-Enhancement
Projects
None yet
Development

No branches or pull requests

8 participants