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

Improve compact messages behavior #597

Merged
merged 3 commits into from
Dec 9, 2024
Merged

Conversation

Irgendwer01
Copy link
Contributor

(Sorry that I push this just now 💀)
This PR improves the compact messages behavior by ONLY removing the last message in the chat and tell how often it was repeated, furthermore show information when hovering over the number.
grafik

Copy link

what-the-diff bot commented Dec 9, 2024

PR Summary

  • Enhanced Chat Message Compaction
    The process of aggregating repeated chat messages has been improved in this update for increasing the overall efficiency of the chat feature. Now, it's not just more efficient, but also more interactive allowing users to hover over the repeated message count for more detailed feedback.

  • Cleaner Code Comparisons
    Code has been made neater by exchanging string manipulations with direct conditional checks. This makes the code easier to read and maintain.

  • Updated Language Support
    Added translation support for showing the number of times a message has been repeated in chat - this feature is now available in both German and English.

@ACGaming ACGaming merged commit c45e5d0 into ACGaming:main Dec 9, 2024
1 check passed
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