41 Commits

Author SHA1 Message Date
d4463d8b60 TagListing: Show text when empty 2020-09-03 08:46:59 +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
9859aa6106 Allow custom metadata to be specifiec for any note
This way we can add 'draft: true' to all new notes.

Fixes #168
2020-08-18 10:47:26 +02:00
d94a1e1630 Remove another use of Settings.instance
I really want to remove this global variable, and only access it through
the Provider.
2020-08-16 15:51:53 +02:00
46269dd94a Implementing controlling of the sorting order
The dialog looks quite ugly right now, but at least everything works. I
can work on making it prettier after this.
2020-08-14 19:17:38 +02:00
a98b99dcb5 refactor: Move SortingOrderSelector into its own widget
Also translate it
2020-07-31 21:39:27 +02:00
8e8c11c5ef FolderView: Refactor NewNoteNavBar into its own widget 2020-07-31 20:47:18 +02:00
b85f9028fe Half implement Note selection in a FolderView
This allows you to long press on a note and select it, thereby allowing
you to perform actions on it, without opening the note.

This is disabled for note, as it isn't completely implemented. I'm not
sure how to pass down the informatin on which Note is selected.
2020-07-31 20:36:20 +02:00
73e3f7d5bc default editor should be updated without requiring a restart 2020-07-27 10:57:56 +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
5d7f616c6e const++ 2020-07-21 10:46:03 +02:00
fb9b69bb46 TagsFolder: Auto add relevant tag to new notes 2020-07-09 18:03:06 +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
816cb0c3ed Reduce code duplication
Avoid code for determining the publicName of a folder.
2020-05-18 00:23:14 +02:00
0dfb86788e Minor refactor 2020-05-13 16:56:20 +02:00
4375d0cf6d Add const 2020-05-13 01:21:40 +02:00
6ebd44505c FolderView: Hide the scaffold of a previously deleted note
When moving to create a new note, it's confusing if when we return to
the FolderView there is still the scaffold of undo-ing the last deleted
note.
2020-05-08 10:29:16 +02:00
317f75799f Add Title + FileName sorting modes 2020-05-03 16:01:21 +02:00
a12026a121 JournalEditor: Allow a default folder to be specified
This way all Journal Entries can go to that folder by default. It makes
adding a new journal entry easier.

Related to #118
2020-05-01 11:38:39 +02:00
e5e27e9a1d Add a bottom padding in the folderView
This way the FAB bar doesn't cover the last element.
2020-04-14 08:29:17 +02:00
9de5f913ed Improve screenshot script
Which also acts as our integration test.
2020-04-03 19:38:33 +02:00
6798eb0829 FolderView: Do not clip the body by the bottomNavigationBar
It looks weird as sometimes there is a grey border otherwise.
2020-04-02 18:20:29 +02:00
28ef551805 On sync error: Show the error a bit better
Do not show 'GitException: error'. We do not need to expose that it was
an exception.
2020-04-02 17:29:03 +02:00
fe08b53539 Add a .gitjournal.yaml file in a folder
This file will be added to save the settings of how we want that folder
to behave. For example - default Editor, view, sorting mode, etc.

This feature is currently disabled as it will only be a part of the pro
mode.
2020-03-31 14:02:38 +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
930356aaf1 Add a GridView
This doesn't really work for small notes, but meh.
2020-03-30 11:45:17 +02:00
22c9d1208a FolderView: Show the correct title 2020-03-21 00:19:57 +01: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
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
b252f037b3 Rename NotesFolder -> NotesFolderFS
And NotesFolderReadOnly to NotesFolder. It just makes more sense this
way as we're now getting more and more different "types" of
NotesFolders.
2020-03-15 02:01:07 +01:00
f4dd4fd148 Add experimental card view
This notes are displayed as cards. This is meant to emulate a more
google keep style.
2020-03-12 14:23:15 +01:00
494d866686 Make the home screen show all the notes
It can show call the notes recursively, instead of showing just the root
folder. This makes it much easier to access a note recently modified.
2020-03-12 01:35:48 +01:00
65e3b2a9f4 Settings: Save folderViewHeaderType 2020-03-11 14:58:31 +01:00
645131b936 Settings: Save showNoteSummary 2020-03-11 14:53:15 +01:00
7aea2611bf Allow the StandardFolderView to be customized
The customization screen is very ugly and this entire thing feels
extremely hacky with the abstractions leaking out everywhere. However,
it does work.

I'll clean it up another day.
2020-03-11 14:48:32 +01:00
d2b6b0eb08 Remove the Compact View
I need to merge it into the StandardView. The more I think about it, the
more this view doesn't make sense. Specially since I need to add the
same extra configuration options in both views.
2020-03-11 13:19:50 +01:00
1e21f487b8 Save default folder view on change 2020-03-08 20:51:15 +01:00
2f9f8b3e73 Add a Compact View
Fixes #66
2020-03-05 19:24:20 +01:00
702c97c9dd Add a JournalView and allow it to be switched 2020-03-05 18:47:12 +01:00
b25ed00830 Add the concept of a FolderView
For now we just have the StandardView which is the same as it was
previously.
2020-03-05 02:10:27 +01:00
6d3b093499 Rename JournalListingScreen to FolderView 2020-03-05 01:48:50 +01:00