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

Remove first timestamp from genereated AutoMod queue messages #3503

Merged
merged 4 commits into from
Jan 15, 2022

Conversation

karl-police
Copy link
Contributor

@karl-police karl-police commented Jan 13, 2022

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

Description

Remove timestamp from AutoMod, for style purposes and because on Twitch it doesn't show it either. The only thing where the timestamp should show is from the message itself.

Same things is with the "low-trust-users" messages.

…ch it doesn't show it either

Remove timestamp from AutoMod, for style purposes and because on Twitch it doesn't show it either.

Same goes for the new "low-trust-users" messages.
@karl-police karl-police changed the title Remove timestamp from AutoMod first builder message, for style purposes and because on Twit… Remove first timestamp from genereated AutoMod queue messages Jan 13, 2022
@pajlada
Copy link
Member

pajlada commented Jan 15, 2022

Could you provide a before and after screenshot?

@karl-police
Copy link
Contributor Author

Could you provide a before and after screenshot?

Sure.

Before:
image

After:
image

Preferably at some point, we could reduce the gap between the modmail message and the users message that would have been sent in the chat.

@pajlada do you have more of these "builder.emplace" "Elements" or is it based of a template from Qt on something, couldn't find that. So that I could look into more stuff for the UI.

Copy link
Member

@pajlada pajlada left a comment

Choose a reason for hiding this comment

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

Looks better!

@pajlada pajlada enabled auto-merge (squash) January 15, 2022 17:22
@pajlada
Copy link
Member

pajlada commented Jan 15, 2022

@pajlada do you have more of these "builder.emplace" "Elements" or is it based of a template from Qt on something, couldn't find that. So that I could look into more stuff for the UI.

https://github.com/Chatterino/chatterino2/blob/master/src/messages/MessageBuilder.hpp#L65-L75 That's where we've defined the emplace function that you used just now - all it does is add a Message Element to the Message Builder.

It's a semi-common pattern we follow where we have builders

@pajlada pajlada merged commit 499d06f into Chatterino:master Jan 15, 2022
@Mm2PL
Copy link
Collaborator

Mm2PL commented Jan 15, 2022

I thought that we had added the timestamps on reward message to be consistent with automod

@pajlada
Copy link
Member

pajlada commented Jan 15, 2022

I thought that we had added the timestamps on reward message to be consistent with automod

Possibly - we will want to review other "message headers" and see about removing the timestamp of those too I think

@karl-police karl-police deleted the patch-4 branch January 15, 2022 19:39
@pajlada
Copy link
Member

pajlada commented Jan 16, 2022

Thanks for your contribution! As a first-time contributor, you can now add yourself to the contributors list that's shown inside the application.

To do so, open a new PR where you modify the resources/contributors.txt file and add yourself to the list. Make sure to read the comments at a top for instructions.

zneix added a commit to SevenTV/chatterino7 that referenced this pull request Jan 16, 2022
Now we're on commit 1d272c3; Changes from upstream we've pulled

- Minor: Make animated emote playback speed match browser (Firefox and Chrome) behaviour. (Chatterino#3506)
- Minor: Add feedback when using the whisper command `/w` incorrectly. (Chatterino#3439)
- Minor: Add feedback when writing a non-command message in the `/whispers` split. (Chatterino#3439)
- Minor: Opening streamlink through hotkeys and/or split header menu matches `/streamlink` command and shows feedback in chat as well. (Chatterino#3510)
- Minor: Removed timestamp from AutoMod messages. (Chatterino#3503)
- Minor: Added ability to copy message ID with `Shift + Right Click`. (Chatterino#3481)
- Bugfix: Fixed crash that would occur if the user right-clicked AutoMod badge. (Chatterino#3496)
- Bugfix: Fixed being unable to drag the user card window from certain spots. (Chatterino#3508)
- Bugfix: Fixed being unable to open a usercard from inside a usercard while "Automatically close user popup when it loses focus" was enabled. (Chatterino#3518)
- Bugfix: Usercards no longer close when the originating window (e.g. a search popup) is closed. (Chatterino#3518)
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.

4 participants