Skip to content

Check for remote repo updates and prompt the user to pull them #12

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

Open
preslavrachev opened this issue Jul 29, 2022 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@preslavrachev
Copy link

I was wonder, whether it would be difficult to implement occasional checks for remote changes and prompting the user to pull them right inside the plugin. I frequently switch machines. To sync my changes, I use a private GitHub repository. The problem occurs when I forget that I have pushed some notes already. I only discover that when I do another push and it fails (often with a merge conflict).

It would be much smoother, if the plugin checked that for me, and occasionally reminded me to perform a pull on the new machine, before adding new notes.

Is that feasible?

@haydenull haydenull added the enhancement New feature or request label Aug 4, 2022
@goldan
Copy link

goldan commented Oct 11, 2022

That would be really helpful! Is that's what autoCheckSynced option is supposed to enable? If so, it doesn't work for me: when a new commit is added to Github, Logseq doesn't show any update.

@k2s
Copy link
Contributor

k2s commented Aug 9, 2023

this is addressed in #39

  • plugin toolbar icon now contains 2 collored
  • configuration options are not decided yet, for now the status is updated on page navigation and on window visibility change

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

4 participants