62 Commits

Author SHA1 Message Date
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
4bcbf8226a Move onBoardingCompleted from AppState to Settings
I want to get rid of the AppState entirely. It serves exactly the same
purpose as Settings.
2020-08-16 15:29:49 +02:00
1a4d3bef9a Add Zettelkasten filename format as an option
Fixes #216
2020-08-15 11:28:24 +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
c7d8568529 Settings RemoteSyncFreq: Make strings translatable 2020-08-11 14:13:42 +02:00
9d55b449d3 Settings: Access it through the Provider
Make it a ChageNotifier and try to access it through the Provider
instead of like a global variable. This way, the state is better
managed and it'll be easier to split out Settings into smaller classes.
2020-08-09 01:29:22 +02:00
33c5aae23e MarkdownToolBar: First attempt at the toolbar
This can be enabled via 'Settings -> Experimental'. It's very rough
right now and a lot still needs to be done.

Related to #157
2020-08-06 13:40:45 +02:00
619023660f NoteMetaData: Allow tags key to be configured
Fixes #206
2020-08-06 10:55:41 +02:00
c5deb3e988 Allow the 'created' YAML metadata to be configured
Related to #206
2020-08-03 00:46:41 +02:00
41447027f2 Allow 'title' saving to be configured
We now allow it be to either saved as the H1 or in the YAML metadata.
I'm not sure what the default should be. Still deciding.

Fixes #112
2020-07-28 17:26:42 +02:00
175bf85531 Save zenMode in settings
That way we don't need to toggle it each time.

Maybe it would be nice to have this exposed via the settings as well,
per editor. So I could enable it / disable it per editor.
2020-07-27 10:08:17 +02:00
2396b34b75 Allow the FS view to be experimentaly enabled 2020-07-26 19:05:47 +02:00
e96893552b Settings: Remove unused change observer code 2020-07-26 16:59:37 +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
915237285e Force last view to default to Edit 2020-07-09 10:02:08 +02:00
c31edc3b57 MarkdownEditor: Change default mode to "Last Used"
Add an extra option of Last Used, along with Edit / View.
2020-07-06 17:14:07 +02:00
bb8cb5e442 IAP: Always check
Disable the optimization of not checking for pro mode on boot. The
optimization fails and pro members cannot always get the pro features.
This is not good.

As a workaround, opening the but pro mode page also checks if already
purchased.
2020-07-05 20:38:06 +02:00
d8772e882a Allow backlinks preview to be disabled from the settings
This adds a new Experimental Settings page.
2020-07-04 19:51:59 +02:00
2dbc2dda77 Add support for filenames based on Uuid 2020-06-04 02:12:13 +02:00
633c8c4567 DebugLogLevel: Save the last used log level
This way it's easier to return back to see what's going wrong.
2020-05-29 12:44:46 +02:00
4c56ddc4df Allow the default Image location to be configured
Fixes #10
2020-05-20 00:32:13 +02:00
2d62216b01 Settings: Only store the value if different that the default
This should result in faster save operations, and it will let us easily
change the defaults in the future.
2020-05-13 11:32:24 +02:00
132df379a7 Fix settings typo 2020-05-13 11:26:47 +02:00
faf561f104 Allow configuring the Home Screen
It can either be the Folders view or the All Notes view.
2020-05-08 19:30:53 +02:00
db8e9ef43b Fix logging of settings 2020-05-01 20:59:12 +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
45a57da88a Only check if subscription is valid if it has expired
This way we avoid extra network access.
2020-04-22 23:30:50 +02:00
db677f876b Fix settings crash 2020-04-16 17:20:19 +02:00
afe94da638 MarkdownEditor: Allow the default view to be configurable
Fixes #98
2020-04-16 13:16:40 +02:00
fd7ad7d92b Generate a random uuid for each user for Sentry
This way, we know if one particular user has lots of errors. Firebase
Crashlytics used to do this automatically, I think.
2020-04-16 11:49:20 +02:00
20a5ad8043 AppDrawer: Only show Pro Mode button if we aren't in Pro Mode 2020-04-08 14:18:47 +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
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
b78acb73ff Allow the JournalEditor to be made the default 2020-03-14 23:33:00 +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
65e3b2a9f4 Settings: Save folderViewHeaderType 2020-03-11 14:58:31 +01:00
645131b936 Settings: Save showNoteSummary 2020-03-11 14:53:15 +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
8e9b23982c Add support for a simpler filename format
Also make this the default when one doesn't have a title.

This is important as now the filename is far more visible with the new
standard view.
2020-03-05 19:14:27 +01:00
7bdcd5dd82 Moving SortingMode into its own file 2020-03-01 13:42:09 +01:00
d137fb83cf Add experimental support for not saving the yaml header
Fixes #19

This is experimental as it changes the whole concept of a Note - We have
till now always assumed that a Note can have attached metadata. With
this, there is no longer any metadata. So other parts of the application
need to start reacting accordingly. For example the Mardkown Editor
should not allow you to modify the title.

This also makes it easier to implement '.txt' file support.
2020-02-18 22:29:16 +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
1d0cf3ab6d Save the selected sorting mode 2020-02-09 22:41:16 +01:00
e0f03d703e Allow remote sync frequency to be controller
For now the only 2 options are - automaitic and manual.

I rather name it "Automatic" instead of "After each change" as that way
I can choose to do it more frequently, if desired.

Fixes #8
2020-02-09 22:23:39 +01:00
95dce61479 Allow the new folder for notes to be configurable
This is currently disabled as it requires a substantial change in the
JournalList.
2020-01-31 16:16:12 +01:00
5d0054fd7e Remove FontSize configuration
Ever since we had a proper markdown renderer, this option has been
broken as it only scales the body text and not the headers, and other
text in code-blocks. Additionally it only modifies the viewing text size
and not the editing text size. Fixing this feature is way too much work,
and barely any users are using this feature.

Maybe we will introduce it again in the future.
2020-01-28 15:56:59 +01:00
4be91f92f0 Note FileName: Save them by default with the title
If that title already exists add an _Num at the end.

This won't change the default for existing users, as our settings system
saves the default value and will just load it the next time. This really
needs to be improved.
2020-01-07 23:54:44 +01:00