Closed cyberme0w closed 4 months ago
I think
╔Replying to cyberme0w @ 15:45:32 2024-01-01══════╗
║[message input here] ║
╚═════════════════════════════════════════════════╝
is better because how the eyes works when looking at something seemlier.
Or have a configuration option
I'll set up the config option and add your format as the default to the config, along with a comment explaining what it is. I think it also makes sense to have a 'time' and a 'date' string, as that makes generating the 'same-day' vs. 'different-day' timestamps easier.
Perhaps it also makes sense to set the config option as generic timestamp formats - that way they could be reused to format the individual messages' timestamps in Messages Text.
Closing, as I will no longer be working on this PR.
Hi!
It's not always obvious which message is actually being replied to, since the title is only set to the username that sent the original message. With this PR, a timestamp (time for same day, otherwise datetime) is added afterwards, turning this:
into this (original message from same day as reply):
and this (original message from previous day or older):
If this sounds interesting, I can also add support for the following:
Note: there is currently a bug with replies - when replying to a message, if the highlight is moved, the message being replied to will be the highlight instead of the message that was highlighted when pressing the reply shortcut. I have a fix for that which I'll add in a separate PR. This means that, while that bug exists, the timestamp added in this PR might not match the message being replied to.
Cheers!