9ee16ebe50
Editor: Show ✕ or ✓ in AppBar depending on if the note has been modified
...
Fixes #123
2020-05-01 10:14:18 +02:00
bc32e5bbb3
Editors: Rename autofocus to isNewNote
...
It's more descriptive, and lets each edit decide how it wants to handle
new notes vs existing.
2020-04-25 21:33:42 +02:00
90dcb72ccf
NoteEditor: Fix debug variable
2020-04-14 17:53:02 +02:00
965639e6f2
Add the concept of Folder Settings
...
This contains the default editor / view / sortingMode / etc. For now the
folder settings are shared among all Folders. But the idea is that we
should be able to set different settings per folder (real or virtual)
2020-03-31 11:16:04 +02:00
564fa4cbc0
move NoteEditorSelector to its own file
2020-03-30 13:09:19 +02:00
610c4ea8a7
Allow the default folder for new notes to be configured
...
In the "All Notes" screen
2020-03-21 00:14:38 +01:00
3e38628102
Add a 'type' to each Note
...
This way we can load the appropirate editor according to the types
available.
2020-03-19 02:36:59 +01:00
a235048b2a
Allow a note of a different 'type' to easily created
...
This adds a bottom bar, which hopefully doesn't make the app too
cluttered.
2020-03-19 01:46:51 +01:00
b78acb73ff
Allow the JournalEditor to be made the default
2020-03-14 23:33:00 +01:00
7aee2e34bc
Make sure note modifications are stored
...
Also bump the version. This is a very important bug fix.
2020-03-03 14:45:56 +01:00
ec11f09b2e
More thorough checking for if a Note has been modified
2020-03-01 14:08:04 +01:00
e65fbdbc71
Add experimental Journal Editor
...
It removes the title and displays the journal header. This provides a
much better experience for writing a journal.
2020-02-28 12:47:53 +01:00
27ebd9686b
RawEditor: Give focus when using it for a new note
2020-02-18 16:31:34 +01:00
59d379ab62
Allow the default editor to be configured
...
This doesn't solve #41 , but it does provide a good workaround.
2020-02-18 16:26:12 +01:00
46a38cdedf
Rename NoteData -> MdYamlDoc
...
It more clearly defines what exactly it is.
This is important as its less confusing for when we add support for
other file types.
2020-02-14 08:12:41 +01:00
3a3ec76529
StateContainer: Use Provider
...
This way we can avoid listening for changes in many places.
2020-02-11 19:10:34 +01:00
9f5f7c39eb
Remove the todo editor toggle
...
I anyway accidentally set it to true.
2020-02-10 16:17:50 +01:00
4a93850c22
Rename todo editor to Checklist editor
...
With todos - we could get feature requests for more advanced stuff such
as due dates and all. For now I just want simple checklist support.
2020-02-09 22:55:48 +01:00
20f8d7f7fe
NoteEditor: Improve modified check
...
If the only modification is the addition of a 'modified' tag, then we
shouldn't count it as modified.
I'm not too fond of this logic.
2020-02-09 17:34:12 +01:00
55b05926c1
Log why the note was modified
...
We are getting bug reports about the modified tag being changed even
when the note hasn't been modified.
2020-02-06 00:48:56 +01:00
8761f96bbe
UndoSnackBar: Stop using Fimber
...
It makes everything far more complicated, but at least this way the FAB
moves along with the scaffold. With Fimber, that is not the case, and it
is very annoying.
2020-01-31 17:41:05 +01:00
23c6192162
Editor: Add 'Discard Changes' button
...
It got removed while merging the editor/viewer
2020-01-31 15:55:25 +01:00
7c2cde03b7
Add the first draft of a TodoEditor
...
It's a small proof of concept and still needs a lot of work.
2020-01-30 18:41:27 +01:00
43281bd2bb
Add support for moving a Note to another folder
...
The Folder selection dialog needs a lot of work, but it's a start.
2020-01-29 16:51:57 +01:00
3f40a2992a
Add the concept of Editors
...
* We no longer have a separate editing and browsing view - This does
mean we loose the ability to quick flip between notes by swiping.
However, this is more how a note editor would behave. I do later want to
add that capability back.
* We have 2 editors for now - Markdown and Raw. By default we use the
Markdown editor which can be toggled between Preview / Edit mode.
I later want to add a rich text editor and a todo editor as well.
2020-01-29 00:04:24 +01:00
abd5f09453
Renamed NoteEditor -> JournalEditor
2019-12-02 13:56:38 +01:00
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