16 Commits

Author SHA1 Message Date
ffc0af12a3 Enable prefer_const_constructors 2019-10-20 01:11:53 +01:00
af36bbdfd4 Move note empty checking to the Note class 2019-10-11 18:35:00 +02:00
704c8f4ce1 NoteEditor: Do not save a note if it has not been modified
This would result in empty commits :(
2019-10-11 17:24:48 +02:00
e9cfb1fde7 NoteEditor: The backButton should save the note
It used to get discarded which was really bad usability. The worst case
is that the user didn't want to save the note, and then they can easily
just delete it, but we shouldn't loose information.
2019-10-11 17:20:53 +02:00
cb399a9586 RawEditor: Use a monospace font
It looks way way nicer. Also it really highlights how you're editing the
raw contents of the file.
2019-10-11 17:07:39 +02:00
8e5f0c84c7 NoteEditor: Disable autocorrect
For me, there are still some strange quirks and it hasn't been
completely disabled. Also, isn't there some way to just follow the
system default?
2019-10-10 16:57:23 +02:00
2eb83c16ff NoteEditor: Dispose of TextEditingController in the end
The docs say we should
2019-10-10 16:56:57 +02:00
48b3cf6ba7 NoteEditor: Allow switching between Raw and Rich Editor 2019-10-09 16:46:17 +02:00
adf28a4e78 Add a RawEditing option
This way one can directly modify the YAML to add whatever tags they
want.
2019-10-07 20:21:59 +02:00
69003cf0ac Rename package from journal -> gitjournal
It's about time.
2019-10-07 19:30:50 +02:00
78b4a25c30 Note: Add a setter for body
Hides the 'NoteData' internals.
2019-09-27 01:12:47 +02:00
475251df61 Preserve the YAML sorting order
Also refactor this a bit so Note contains a NoteData. I'm really not
convinced about today's abstractions, and feel I might have made this
entire thing much much worse.
2019-09-26 18:52:01 +02:00
8ff5d02033 DartLinter: Add unnecessary_this 2019-02-23 01:33:34 +01:00
0762bd98c3 NoteEditor: Improve cancel alert box
Better wording, and avoid a generic 'Yes' or 'No' in the buttons.
2019-02-16 18:32:48 +01:00
2c6e5b2e9c Screenshots: Add more screenshots
* Add another note and then take a screenshot of the list view
* Take a screenshot of the Git Host Setup
2019-02-16 00:54:58 +01:00
07de868b26 Move Note screens in the screens folder 2019-02-15 20:49:54 +01:00