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

feat: De-duplicate client console messages #4177

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

gadenbuie
Copy link
Member

@gadenbuie gadenbuie commented Jan 14, 2025

Seen in rstudio/bslib#1159. It's possible for bindAll() to be called in a way that we repeatedly issue the same warnings/errors for duplicate or repeated IDs.

This PR updates the shiny-error-console component to de-duplicate message when new messages are added to the console.

Before After
image image

@gadenbuie gadenbuie force-pushed the fix/error-console-dedupe-messages branch from 39c5221 to 6d33a3b Compare January 14, 2025 18:31
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.

1 participant