8676a1c437
Update .gitignore
2018-08-02 00:44:25 +02: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
fd98ef1048
Reverse sort the notes
...
This way the latest note is on top.
2018-06-03 19:34:28 +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
eb2c9eb33f
Note: Rename 'createdAt' to 'created'
...
My notes already use the key 'created', and I don't want to have to
change that.
2018-06-01 19:04:48 +02:00
fdf8c06c24
Add Note serializers
...
This way we don't only need to use json.
2018-06-01 18:57:53 +02:00
451ef6e39f
Try adding jgit as a dependency
2018-05-31 18:34:29 +02:00
b1b16cc3e2
Update flutter
2018-05-25 18:09:04 +02:00
c30ed0c9f4
Add a sample Drawer
2018-05-25 01:17:49 +02:00
0551cc0538
Note Deletion: Implement undo
2018-05-25 01:05:17 +02:00
69eb5f2ed5
JournalList: Only show the first 2 lines of the note
...
Instead of trying to guess how many characters one should show.
2018-05-25 00:47:35 +02:00
b588cdc66b
NoteBrowser: Allow browsing via swipes
...
This is the first prototype for swiping. It really needs a lot of work,
and it needs some kind of animation.
2018-05-25 00:46:17 +02:00
46c0abc525
NoteViewer: Implement the left/right buttons works
2018-05-25 00:09:22 +02:00
5197a84959
Give the NoteEditor a state
...
This way its creationDate will be accurate
2018-05-24 14:52:53 +02:00
be53a6c129
Android: Add a test MethodCall
...
This is just to test if the Android bridge is working correctly.
2018-05-24 14:42:36 +02:00
3eeb3ae54c
NoteEditor: Show a confirmation dialog if discarding a note
2018-05-24 14:17:38 +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
98ece86579
NoteViewer: Add a footer
2018-05-21 19:23:25 +02:00
a7b5afb817
NoteViewer: Align the header text properly
2018-05-21 18:47:44 +02:00
90c75439ce
JournalView: Add a header depicting the date + time
2018-05-21 18:22:49 +02:00
af81fd5a45
Move a widget into its own dir
2018-05-21 18:03:56 +02:00
71d1aca6b5
Implement note deletion
...
It looks quite ugly, but it works.
2018-05-21 17:16:21 +02:00
973f21a24c
Give each Note a unique id
...
Otherwise we're overwriting that one note.
2018-05-21 17:04:03 +02:00
0cb36b2981
Make the state global and connect the add note screen
...
This is a huge work in progress, but it finally seems to kinda work.
2018-05-21 16:51:29 +02:00
4fcc6d9120
Add a FileStorage class
...
With a test!
2018-05-21 15:31:34 +02:00
40caa985d7
Split the JournalList into its own file
...
This way the widgets are separate
2018-05-20 11:35:44 +02:00
8adfb776d0
Split NoteViewer into another file
2018-05-17 18:28:20 +02:00
469e25b08f
Pass the correct note to the viewer
2018-05-17 17:59:36 +02:00
d2af7534cc
Note Json now has a body
2018-05-17 17:59:21 +02:00
0230ed50f5
Move Editor to its own file
2018-05-17 17:59:09 +02:00
fdc07ee94e
Show the actual date and time
2018-05-17 17:25:13 +02:00
f3165c2eec
Load the notes from the server
2018-05-17 17:18:11 +02:00
173682f40f
Make the state explicit
2018-05-17 16:26:18 +02:00
1bb515be87
Cleanup pubspec
2018-05-15 20:10:56 +02:00
79617f155a
Add a very simple text editor
2018-05-15 18:25:52 +02:00
017f6d25c7
Add a screen to show a journal entry
2018-05-15 16:49:36 +02:00
7b2d27ebf6
JournalList doesn't have any internal state
2018-05-15 16:20:53 +02:00
44b54bdc36
Add a simple journal list
2018-05-15 16:17:09 +02:00
27023eec84
Implement first tutorial of startup names
2018-05-13 07:38:17 +02:00
321d42c77e
Remove README
2018-05-13 06:40:51 +02:00
72712bd4de
Initial import from 'flutter create'
2018-05-12 18:45:42 +02:00