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

[Feature request] Consolidate repeating messages in the console. #1719

Open
haroldiedema opened this issue Mar 15, 2024 · 0 comments
Open

[Feature request] Consolidate repeating messages in the console. #1719

haroldiedema opened this issue Mar 15, 2024 · 0 comments
Labels
core Dalamud core enhancement New feature or request

Comments

@haroldiedema
Copy link
Contributor

To improve the UX of the Dalamud Console (Log), I would like to request a feature that consolidates repeating messages, similar to how the javascript console works in your browser.

image

This way, when an exception occurs, or printing log lines during a UiBuilder.Draw or Framework.Update callback, your console window would not be spammed full with the same lines over and over again. This would also make debugging issues easier in case some log message before an exception would help indicate where a potential problem lies.

As for behavior of when to consolidate messages, I'd advocate to keep it simple and predictable: Only check for the last line in the window and compare that with an incoming message. If the message (and plugin source) is the same, simply update the timestamp of the last line (or just replace it, whatever implementation is easier). As a bonus, add a message counter somewhere to let the user know that the message has occurred multiple times.

@goaaats goaaats added enhancement New feature or request core Dalamud core labels Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Dalamud core enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants