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

Notify if background sync updates the local policy #26

Open
olensmar opened this issue Aug 14, 2023 · 1 comment
Open

Notify if background sync updates the local policy #26

olensmar opened this issue Aug 14, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@olensmar
Copy link
Member

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?

@olensmar olensmar added the enhancement New feature or request label Aug 14, 2023
@f1ames
Copy link
Contributor

f1ames commented Aug 18, 2023

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.

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