-
-
Notifications
You must be signed in to change notification settings - Fork 449
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
Add highlight color and show in mentions to automod messages #5215
Conversation
You didn't cause the assertion issue: chatterino2/src/Application.cpp Line 710 in ea19c5c
The PubSub handler is running in it's own thread - not the GUI thread. isInStreamerMode isn't annotated, but has to run on a single thread as it accesses cache . This thread must be the GUI thread as it emits streamerModeChanged .
|
Oh, nice. I think I mixed some things up. I put a breakpoint in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the "header", i.e. message that contains the Allow & Deny buttons, should be colored based on the AutomodHighlight
Is it ok to set |
The issue with reusing the flag is that you'd create two highlights. You can avoid creating a new flag by checking for |
Something like this?
Is it a good idea to rely on this? I feel like it could break something in the future (I guess it's unlikely because we would need the same combination of flags) |
Yea, it's probably better to have a new flag. |
Is it intended that AutoMod's "Hey! Your message is being checked" is not customizable with your changes? Those messages only have the PubSub flag set. |
Good question. I interpreted the issue as "highlight that automod caught someone else's message", not "highlight that automod caught your message", but I'm not sure about the original intent. |
They look really similar right now on |
I interpreted this as a moderator/broadcaster tool, so that's what I think is important |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @KleberPF !
Please don't forget to make a separate PR adding yourself into the About page :)
For now, the added/removed term messages don't show up in /mentions, but I'll add a commit doing that if we decide to do it.
Previous messages change color when the user changes settings
Scrollbar color
Scrollbar color also changes when settings are changed
Message showing up in mentions
Message doesn't show up in mentions if setting is disabled
I was hitting an assert when allowing/denying a message, but I tested in master and it also happens there. It seems to be caused by the request created in
Helix::manageAutoModMessages
not being concurrent, but I didn't look too much into it. This was the call stack when the assert triggeredFixes: #5206