Open olensmar opened 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.
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?