e87a096c7d
Allow Delete dialogs to be configured
...
Fixes #330
2020-11-18 13:01:33 +01:00
85d21a62e5
Avoid logging note data
2020-11-07 15:32:36 +01:00
770394a8f9
Rename StateContainer to Respository
2020-10-23 01:38:47 +02:00
bc06efc446
Create new note when clicking on non existing Wiki Link
...
Fixes #240
2020-10-22 23:57:53 +02:00
eac7ff3c63
Auto save the note when the App loses focus
2020-10-22 15:11:48 +02:00
f81b2ed167
NoteEditor Discard Changes: Do a git checkout
on the file
...
This way it will go back to the exact original version. Our Note loading
and saving sometimes changes the yaml metadata order.
Also, this allows us to autosave the note file.
2020-10-22 14:57:12 +02:00
40349b5660
Add missing trailing commas
...
How did this file ever even get saved?
2020-09-28 00:09:49 +02:00
43269bbe53
Add lots of listen: false when using Provider
...
Provider version 4 has an assert which fires if used incorrectly.
2020-09-28 00:09:14 +02:00
265e253584
Generate one journal entry per day
...
Fixes #243
2020-09-16 11:08:16 +02:00
984fc6864e
Make all remaining strings translatable
2020-09-08 23:01:39 +02:00
49dee11a26
Move Note Delete dialog to its own file
...
+ translate
2020-09-07 16:24:52 +02:00
6ba0f3974a
NoteEditor: Pass it the parentFolder
...
A note has a parent which is the physical folder it is inside, and a
parent folder which it is being displayed inside. It's useful to have
the latter as that can be used to display the next note - in the case of
the Journal Editor, and open the graph view as well.
2020-08-20 10:42:39 +02:00
9d00fdac06
Use import_sorter
...
flutter pub run import_sorter:main --no-comments
The code feels much cleaner
2020-07-24 12:43:28 +02:00
b14e094e59
Copy Note to clipboard when it cannot be saved
...
Also avoid showing the actual exception. It's not very useful to the
user, and we're logging the exception to Sentry anyway.
Related to #124
2020-07-13 17:27:39 +02:00
84fab89f48
Do not allow us to edit the Note Editor if the Note cannot be saved
...
In some rare cases the note just doesn't get saved on disk - in those
cases instead of silently failing we will refuse to exit the note
editor, forcing the user to copy the note and paste it somewhere else in
order to not lose the date.
This isn't the best solution, but it prevents data loss, in a few edge
cases which I cannot reproduce.
Fixes #124
2020-07-13 17:13:02 +02:00
fb9b69bb46
TagsFolder: Auto add relevant tag to new notes
2020-07-09 18:03:06 +02:00
ae74e02fa7
Rename Note: Ensure markdown files end with .md
...
This broke when supporting txt files
2020-06-10 15:16:14 +02:00
5714642e15
NoteEditing: Make sure we report exceptions on save
...
We don't want to silently ignore these.
2020-06-10 13:18:48 +02:00
d1677327c2
Do not show the Markdown Editor for txt files
...
Fixes #55
2020-06-02 00:33:36 +02:00
8b4fa886ba
Add a CustomRouteObserver
...
This basically asserts if we move to a route without a name. This way
I'll always catch when a route doesn't have a name, and I can start
getting better analytics on which screens are used most frequently.
2020-05-26 13:43:41 +02:00
e5cd707ac1
Editor: 'Discard Changes' -> Do not show confirmation dialog
...
It's annoying. This action is not easy to accidentally trigger.
2020-05-18 23:58:25 +02:00
5c04bf204e
Add Tags sidebar
...
Fixes #114
This was there because I couldn't figure out how to configure Billing in
iOS, now that it is done, I can have the pro mode in iOS as well.
2020-05-14 16:09:22 +02:00
7ef9cfe60f
Minor refactor
2020-05-14 13:03:12 +02:00
867f6df14c
[Android] Implement sharing images to GitJournal
...
Fixes #38
2020-05-13 18:30:33 +02:00
1d68d3a4a5
[Android] Implement sharing text to GitJournal
...
Related to #38
2020-05-13 17:40:23 +02:00
321d05664c
TagEditor: Show the tags from all the notes
...
This could get a bit slow, but since we aren't doing it very often, it
should be fine.
2020-05-13 01:24:54 +02:00
2847e3f60f
Add basic tag support
...
This allows you to be modify the tags from the NoteEditor. Related to
#114 . We still need to add some way to filter the notes by tag. Also,
the current tag editor doesn't show the tags from the other notes.
2020-05-13 01:01:40 +02:00
48b6fa21f7
NoteEditor: Build a bottom bar which shows the current folder
...
Also allow notes to be moved to a folder.
2020-05-05 10:00:14 +02:00
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