kubeshop / vscode-monokle

An extension for Visual Studio Code to validate your Kubernetes configuration
https://marketplace.visualstudio.com/items?itemName=kubeshop.monokle
MIT License
6 stars 0 forks source link

Fix error handling notifications #28

Closed f1ames closed 1 year ago

f1ames commented 1 year ago

Most of the errors are shown now as error notifications which can get quite intrusive and annoying.

Issue

For example, when invalid token (e.g. expired) is present: image image

This will reaper on every VSC start/folder change.

Or when user is logged in, but doesn't have project/policy for given repo, the error is shown on every policy sync attempt, e.g.:

The ‘web’ repository does not belong to any project in Monokle Cloud. Configure it and run ‘’Monokle: Synchronize’ command. Remote policy cannot be fetched and resources will not be validated.

Proposal

The proposed solution is to move most of the error indications to Monokle status bar icon: