mpcjanssen / simpletask-android

GNU General Public License v3.0
550 stars 128 forks source link

Enhacement: Sync filters between instances #1091

Open ComedyTomedy opened 4 years ago

ComedyTomedy commented 4 years ago

I'd like to have my "saved filter list" synched between different instances / devices of SimpleTask. I use 2, and keep the filters similar manually.

Suggested solution:

Saved Filters be (optionally?) stored in plaintext like the TODO.txt file, at a user-selected location (either on the device's filesystem, or in Dropbox/etc). The format could be JSON (or Sexps, XML, ...). It needn't be comprehensible or editable outside of simpletask.

This is low priority, and probably hard, but I wanted to make a note of the idea ☺ Keep up the excellent work.

ddisanti commented 4 years ago

@ComedyTomedy saved filters can be exported tapping on the Import/Export (double arrow) icon in the right side drawer. The filters are exported to a plain text file called saved_filters.txt inside /data/nl.mpcjanssen.simpletask folder inside your device's internal storage. Inside this folder you'll also find your todo.txt, done.txt, lua.config files.

ComedyTomedy commented 4 years ago

Ah! Thanks ever so much! I knew that years ago and forgot >.<

I guess that updates this issue to: allow automatic sync of filters / reading and writing constantly to a file.

It wouldn't add much UI clutter, and (mostly) generalises functions the app already provides.