Chat Patches

Chat Patches

2M Downloads

Chat history on hover for duplicate messages

emilygeil opened this issue · 1 comments

commented

Hello! I want to start by saying that I greatly appreciate all of the time and effort that you've put into this project and have freely shared with the community :)

Is your feature request related to a problem? Please describe.

  • Currently, with the duplicate counter enabled, you can see if there have been duplicate messages, but not when they were sent -- only the most recent message.
  • There are some cases where it may be useful to know exactly when the previous messages were sent.
  • Additionally, with "check formatting modifiers" disabled, there may be cases where useful information was lost -- for example, a mod or plugin may communicate current settings with bold/underlines while keeping the text content the same.

Describe the solution you'd like

  • A potential solution to this problem is to add an option to display message timestamps and/or full messages when hovering over the message duplicate counter in chat.
  • This could be implemented with option toggles (such as "show timestamp" and "show message") or, preferably, with placeholders (similar to those used in the existing configuration for timestamp hover info and message counter text). If placeholders are used, two would be needed -- one for the timestamp and one for the message content.
  • It may also be useful to have a toggle for including the most recent message in the hover message, but if this toggle exists, it should probably be enabled by default.
    • To clarify, if the option is disabled, it would only show timestamps/message content for previous duplicate messages, not the most recent message that is displayed in chat, meaning if there was a (x2) duplicate indicator, it would only show one timestamp/message when hovered.
  • The timestamp should also be configurable like it is in other places of the mod :)

Example of hover message with timestamps only:
Image

Example of hover message with timestamps and messages:
Image

Image

Describe alternatives you've considered
N/A.

Additional context

  • Please let me know if you have any questions or need any additional information! I'd be more than happy to help in any way I can.
  • Thank you so much for your time :)
commented

thanks for the suggestion and i gotta say i LOVE how this is formatted, i wish all reports were this nice! :)

this is also a really good idea and i understand the need for this. while i would like to avoid adding 4 different config options for just one feature, i'm sure i could add something like a toggle + format string that would control the hover text on the dupe counter, allowing the examples you provided and more.

while this isn't the highest priority addition for the moment, it does feel like a no brainer so i will try to stay diligent with the other issues to get to it soon (: