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

Notify if background sync updates the local policy #26

Open olensmar opened 1 year ago

olensmar commented 1 year ago

As a dev I would like to know when/if the policy for my project is changed during synchronization - suggest to show some kind of notification - "The policy for your repo has been updated automatically from Monokle Cloud"..

could we show exactly what has changed? separate issue?

f1ames commented 1 year ago

could we show exactly what has changed? separate issue?

Yes, we can diff local policy with what was fetched. Probably it could be part of @monokle/synchronizer (just diffing) as it already emits synchronize event which could additionally include such data. We can extract separate task when starting work on this one.

Also it could be a good idea to keep update datetime (or the time remote policy was last checked for changes) and show it somehow to users.