cinny
cinny copied to clipboard
Make "View Source" a developer option
Describe the problem
Viewing the raw JSON data for messages is rarely done in normal use by non-developers. Therefore I suggest that enabling this button's visibility is an option in the developer tools, and is disabled by default to de-clutter the context menu. Alternatively the "Developer Tools" switch could control the button's visibility.
Describe the solution you'd like
Either:
- A toggle switch in developer tools that toggles the visibility of the "View Source" button
- That the "Developer Tools" switch itself toggles the visibility of the "View Source" button
Alternatives considered
No response
Additional context
I would be willing to implement this.
Support from me. I know Element supplies the option too, but I don't think it is vital for non-devs at all. I don't see anywhere easily that the spec demands this behavior in context menus for messages on clients either.