8000 Change: Make "View Source" a developer tool by GimleLarpes · Pull Request #2368 · cinnyapp/cinny · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Change: Make "View Source" a developer tool #2368

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

Merged
merged 2 commits into from
Jun 28, 2025

Conversation

GimleLarpes
Copy link
Contributor
@GimleLarpes GimleLarpes commented Jun 19, 2025

Description

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 controlled by the "Developer Tools" switch in "Settings">"Developer Tools". This de-clutters the context menu for regular users.

This PR uses the "Developer Tools" switch to control the "View Source" button's visibility in context menus for messages and events.

Fixes #2352

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • [o] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [o] This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@gmanskibiditoilet
Copy link

great feature to be added, since this feature has been existing on element/schildichat for a long time now.

Copy link

Preview: https://2368--pr-cinny.netlify.app
⚠️ Exercise caution. Use test accounts. ⚠️

Copy link
Member
@ajbura ajbura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@GimleLarpes GimleLarpes requested a review from ajbura June 28, 2025 00:42
@GimleLarpes
Copy link
Contributor Author

Sorry for re-requesting, but the workflow wants another approval

@ajbura ajbura merged commit 461e730 into cinnyapp:dev Jun 28, 2025
1 check passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make "View Source" a developer option
3 participants
0