Simple-Notes icon indicating copy to clipboard operation
Simple-Notes copied to clipboard

Update widget on file change

Open naught101 opened this issue 4 years ago • 4 comments

I use simple note to edit an "inbox" note file, which I sync with Syncthing. I also edit the file on my laptop, to re-file individual notes within the inbox, and then save it, and let it sync again.

This works pretty well, if I clean up the inbox on my laptop and then let it sync, then I can click the widget and it will correctly open the updated file. However, the widget doesn't update until I make a change in the app on my phone. I often don't need to immediately change things though, and it would be nice if the widget periodically checked the modification date of the file, and updated if the file had been modified (perhaps each time the widget is viewed?).

naught101 avatar Mar 12 '20 01:03 naught101

I use simple note to edit an "inbox" note file, which I sync with Syncthing

@naught101 How do you do this?

Doesn't seem that straight-forward, looking at Syncthing threads

Syncthing-fork? Syncthing lite?

Jonta avatar Sep 19 '21 23:09 Jonta

I am facing the same behaviour, also in a Syncthing(-fork) setup where I am syncing some notes between my Phone and other devices. The widget only updates if a file is changed from the phone, this could be improved by

  1. checking periodically for changes or
  2. using a system functionality to detect when files change or
  3. (at minimum) the view updates when tapping on the widget, not just when making changes.

Any one of these behaviours would be an improvement :) Thank you for your work!

UniqueActive avatar Apr 06 '22 11:04 UniqueActive

I have the same request. Periodically updating the widget every X minutes would be a fine solution.

gohma231 avatar Nov 04 '22 13:11 gohma231

This would be a great feature

adapt-L avatar Apr 06 '23 16:04 adapt-L