Skip to content
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

[417] toggle warnings icon fixes #419

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Conversation

oceancabbage
Copy link
Collaborator

Small improvements for the "toggle warning icon" feature:

  • Adding debug statement when a toggle happens
  • Toggling "off" the last warning while errors exist (or the last error while warnings exist) does not remove the summary text for warnings (or errors) due to the if/else logic. Fixing so this is behaving as expected.
  • Toggling "off" version mismatch errors does not remove the summary text due to missing a condition. Fixing so this is behaving as expected.

Testing: manually tested on my Windows machine

Copy link
Collaborator

@hk21702 hk21702 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

I'd consider maybe also turning the "Toggle Warnings" context action into a checkable action while you're at it.

@oceancabbage oceancabbage merged commit ece4989 into main Jun 19, 2024
22 of 26 checks passed
@oceancabbage oceancabbage deleted the 417_toggle_warnings_fixes branch June 19, 2024 20:24
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants