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

Enhancement: notification autohide or timeout #205

Closed
maliMirkec opened this issue Dec 15, 2021 · 5 comments
Closed

Enhancement: notification autohide or timeout #205

maliMirkec opened this issue Dec 15, 2021 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@maliMirkec
Copy link

I am somewhat annoyed by the notifications.

Is there a possibility to remove the notification when we fix the file without clicking on "Check file" manually? Or maybe suspend the notification after a timeout?

@estruyf
Copy link
Owner

estruyf commented Dec 15, 2021

Thanks, @maliMirkec for the suggestion! Unfortunately, VS Code its notifications are there for the user to dismiss. There is currently no programmatic way or timeout that can be set.

I can introduce a new setting that allows you to suppress warning and error messages.

@estruyf estruyf added this to the 5.8.0 milestone Dec 15, 2021
@estruyf estruyf added the enhancement New feature or request label Dec 15, 2021
@maliMirkec
Copy link
Author

Hi, @estruyf, thank you for the quick response.
It sucks that notifications cannot be removed.
The setting for suppressing warning and error messages sounds like a good idea.

estruyf added a commit that referenced this issue Dec 15, 2021
@estruyf
Copy link
Owner

estruyf commented Dec 15, 2021

There is now a new setting called frontMatter.global.notifications. By default, it is set to show all notifications: ["info", "warning", "error"].

@maliMirkec
Copy link
Author

Thanks, @estruyf!

@estruyf
Copy link
Owner

estruyf commented Dec 15, 2021

Will soon be available in BETA, when GitHub Actions start to work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants