-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Set popup verbosity to warnings #1368
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1368 +/- ##
==========================================
- Coverage 84.93% 84.87% -0.07%
==========================================
Files 91 91
Lines 8295 8295
==========================================
- Hits 7045 7040 -5
- Misses 1250 1255 +5
Continue to review full report at Codecov.
|
I'm all in favor of this, as long as the success messages aren't ever relied on to communicate essential information. I think we're slowly getting away from any of those cases (for example: automatically generated data labels from plugins used to only be visible from the snackbar, but now is visible in the plugin with options to either plot or not), but I'm not sure if any are left or not. With this change, we also can start using success/info level snackbars more often for logging purposes without having to avoid them for annoyance concerns. |
Now that you mention this... Lines 310 to 318 in 410361e
|
This is a GUI, so if something is successful, it should be obvious enough without the annoying popup? We should not recreate the Clippy experience. |
I will say in regards to @kecnry's point, the line lists plugin relies on a snackbar message communicating to the user that the lines are hidden by default and need to be manually turned on. Otherwise the user will click "load list" and not see any change. That might just be a flaw with the plugin though. |
Should we upgrade to warning? Another option we can pursue is to enable user configuration of software behavior like matplotlibrc, then I can set mine to warning and stop opening PRs. (Which reminds me, that was one of the requested feature from hack day, so I should open a ticket for it if not one already. See #1371) |
I think we should address this in the plugin itself (and maybe in the docstring for the API case).
I think even if we add custom settings, etc, it's still useful to change the default as long once we address cases like the line list case @javerbukh brought up. |
Should I open a new issue about the line list and have it block this PR then? |
Would something like #1388 work for Line Lists? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving this, although I would like to see #1388 in before this gets merged (technically need one more approval there).
This comment was marked as resolved.
This comment was marked as resolved.
d8a4035
to
4c7afd4
Compare
Since this got 2 approvals and is unblocked. I will merge when CI passes. Thanks for the reviews! |
Description
This pull request is to stop emitting popup messages unless it is warnings or worse. This is because you can still see the mundane info stuff in the history logger. I have always been annoyed by all the popup messages when I load any of the viz.
With this patch, for instance, you will only see these when you open up the history logger thingy if nothing goes wrong on load.
This is a direct follow-up of #1352
Checklist for package maintainer(s)
This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.
trivial
label.CHANGES.rst
?