Skip to content

ViewRaw: Add ViewRaw option to message context menu#3560

Closed
TomW1605 wants to merge 20 commits into
Vendicated:mainfrom
TomW1605:view-raw-message-button-setting
Closed

ViewRaw: Add ViewRaw option to message context menu#3560
TomW1605 wants to merge 20 commits into
Vendicated:mainfrom
TomW1605:view-raw-message-button-setting

Conversation

@TomW1605
Copy link
Copy Markdown
Contributor

add a setting to hide the view raw button in the message popover as well as add the option to the message context menu

@TomW1605 TomW1605 changed the title Add setting to hide ViewRaw button in message popover ViewRaw: Add setting to hide button in message popover Jul 25, 2025
@TomW1605
Copy link
Copy Markdown
Contributor Author

think i could get someone to take a look at this?

@Vendicated
Copy link
Copy Markdown
Owner

Plugins shouldn't have to implement this themselves. I'm working on a solution that will work for all plugins (not final UI):

image image

Thank you for your contribution regardless!

@Vendicated Vendicated closed this Sep 30, 2025
@TomW1605
Copy link
Copy Markdown
Contributor Author

Hi, i think having a centralised setting for including things in the hover menu is a great idea but this PR also includes adding the option to the message context menu.
would it be possable to merge it for now then remove the plugin spesific setting later when the new UI is released?

@Vendicated
Copy link
Copy Markdown
Owner

you can PR the message context menu addition. i would rather not add a temporary toggle for the hover button though. you can just hide it with css for now:

[class*=hoverBarButton_][aria-label*="View Raw"] {
	display: none;
}

@TomW1605
Copy link
Copy Markdown
Contributor Author

will do

@Vendicated Vendicated reopened this Sep 30, 2025
@TomW1605 TomW1605 changed the title ViewRaw: Add setting to hide button in message popover ViewRaw: Add ViewRaw option to message context menu Sep 30, 2025
@TomW1605
Copy link
Copy Markdown
Contributor Author

removed the settings stuff. PR is now just for adding it to the context menu

@Vendicated Vendicated closed this Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants