112 Commits

Author SHA1 Message Date
eac9857c17 Persist onBoardingCompleted 2019-01-10 13:22:21 +01:00
a5830ccbc4 Load the journal list after onboarding 2019-01-10 13:03:00 +01:00
4bb02b12d6 Hookup the Journal app to git
Now notes are saved in the git repo, and immediately synced. This is not
the best implementation, as the notes are being reloaded a lot, and
the error handling is terrible (I miss golang). But it's the first
working poc.
2019-01-09 12:55:53 +01:00
fb3f3bfccf Avoid using the path_provider plugin
We get the path ourselves as the 'git plugin' is using the
android 'getFilesDir()', instead of 'getDataDir()' which is what the
path_provider returns.

It's strange that it returns the latter as the Android docs clearly
state that one should not use this path and should use getFilesDir
instead.
2019-01-07 16:34:25 +01:00
104d54efc3 Fix tests 2018-06-03 20:19:20 +02:00
2082bea8ac Move some classes into another folder
Just giving some more structure
2018-06-03 19:49:34 +02:00
9d19ee4c14 Make FileStorage a NoteRepository 2018-06-03 19:44:36 +02:00
69998c37f9 Add/Remove individual notes from disk
Instead of rewriting all of them on save.
2018-06-03 19:34:46 +02:00
2c68865c46 FileStorage: Allow the note filename to be customizable 2018-06-03 19:34:14 +02:00
157fc425dc FileStorage: Use the YAML Markdown serializer
Instead of saving stuff in json.
2018-06-03 19:14:25 +02:00
0551cc0538 Note Deletion: Implement undo 2018-05-25 01:05:17 +02:00
b6c38dde3c Use an InheritedWidget instead of passing the callbacks
This simplifies the code quite a bit, at the cost of using this
strange flutter magic of an 'InheritedWidget'.

It basically make a class a global variable.
2018-05-24 12:33:46 +02:00