87393ac588
NoteCache: Avoid duplicates
...
This should ideally never happen, but it seems to be occasionally happening
for some reason.
2020-05-14 16:59:03 +02:00
89deac3770
Note toString: Print loadState
...
Makes it easier to debug
2020-05-14 16:58:45 +02:00
db37bfbf81
Note: Not all files end with a '.md'
...
This was only supposed to be done for new files
2020-05-14 16:58:16 +02:00
109b5f7d37
Update purchase screen with new pro features
2020-05-14 16:47:24 +02:00
f478d1c9ad
Make Tags a pro feature
2020-05-14 16:22:15 +02:00
ef57e263ba
ProSettingsOverlay -> ProOverlay
...
Also move it to its own file
2020-05-14 16:10:09 +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
9b878bf2bb
Remove useless method
2020-05-14 12:51:12 +02:00
79ece901a8
Editors: Implement didUpdateWidget
...
The parent sometimes changes the noteModified parameter. It's strange
for me that the stateless widgets aren't always rebuilt if their parent
widget's properties change.
2020-05-14 12:49:52 +02:00
c9b755862b
Folder ListView: Reset the listeners
...
I clearly didn't understand the State lifecycle
2020-05-14 12:42:08 +02:00
a959101010
Make some strings translatable
...
Instead of hard-coding the strings.
2020-05-14 12:00:40 +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
b3facb16de
Minor refactor
2020-05-13 17:31:43 +02:00
6857047f36
Add App Shorcuts
...
I've added 3 app shortcuts -
* New Note
* New Checklist
* New Journal Entry
The icons for these shortcuts are horrible, and I cannot seem to make it
prettier, so this will have to do for now. It's also a bit slow as first
the home screen in built and then a NoteEditor is shown.
Fixes #134
2020-05-13 16:56:25 +02:00
0dfb86788e
Minor refactor
2020-05-13 16:56:20 +02:00
132b3ddcb8
Sanitize the filename derived from the note's title
...
Not all characters are supported on all platforms. Additionally, we
don't want it to have the path seperator.
Fixes #132
2020-05-13 12:10:32 +02:00
31e3e8c806
Ensure Note's fileName always ends with a .md
...
We were missing it in some cases :(
Fixes #135
2020-05-13 12:03:04 +02:00
188740974f
Firebase Analytics: Set onboarded property
...
This makes it easier to calculate the actual retention rate as some
40-50% of the users never land up setting up a git sync.
.
2020-05-13 11:56:36 +02:00
66eeaa552b
Bump git_bindings and pass fresh version of gitAuthor/Email
...
This way the Settings change for git author is immediately reflected.
Fixes #130
2020-05-13 11:36:08 +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
d8cf323dce
Bump yaml_serializer
2020-05-13 09:26:56 +02:00
08a0c4c21a
Make editing of Tags a pro feature
2020-05-13 01:38:52 +02:00
b7124b37bb
Note Tag Editor: Capture back button
...
This way the tags are even updated with the back button.
2020-05-13 01:37:06 +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
4375d0cf6d
Add const
2020-05-13 01:21:40 +02:00
a5ad172790
NoteTest: Remove datetime value
...
Causes the test to fail on the CI as Dart doesn't have proper timezone
support.
2020-05-13 01:12:37 +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
52fd859990
Note: Make tags a set instead of a list
...
This way we don't need to check for duplicates
2020-05-12 23:33:57 +02:00
e7cae7b07a
NoteEditor: Convert top drop-down menu to bottom menu
...
It's easier to access from the bottom right as the finger is closer.
2020-05-12 23:18:41 +02:00
86264a15fe
NoteEditor: Convert addIcon to attach icon
...
It's more accurate.
2020-05-12 23:01:25 +02:00
59ab66844f
Note: Allow tags to be read and serialized
...
This is just exposing the tags on the Note class. Not making it
available through any interface.
2020-05-12 22:59:45 +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
cc45894a07
Simplify page transition code
...
This way each time we can just use pushNamed instead of having to
construct the MaterialPageRoute each time.
2020-05-08 17:53:59 +02:00
dea5ba3479
HomeScreen: Simplify code
2020-05-08 17:15:02 +02:00
5640aa48ea
Bump other dependencies
2020-05-08 17:00:22 +02:00
cc8d7d24f9
Update flutter_email_sender
2020-05-08 16:56:07 +02:00
d86e8124e8
ListPreference: Make the dialog a bit prettier
2020-05-08 12:09:04 +02:00
6dbc372cac
Analytics: Log every event
2020-05-08 12:08:10 +02:00
f28d548d9a
Bump version
2020-05-08 10:55:00 +02:00
0023346e60
Port away from deprecated runZoned
2020-05-08 10:55:00 +02:00
b2d0cf44ab
Stop using deprecated TextStyle properties
2020-05-08 10:55:00 +02:00
600738fc0e
FolderLoading: Output loading info to logs as verbose
...
The most common issue is why a certain file is not being loaded. This
isn't the ideal way, but it's a quick fix in order to diagnose what is
going on.
2020-05-08 10:35:45 +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
55ea402899
flutter upgrade
2020-05-08 10:16:02 +02:00
533d837b05
ChecklistEditor: Make the Add Item more tappable
...
I would often tap on it and nothing would happen.
2020-05-08 10:15:36 +02:00
62b5761ec4
Editors: Do not use BottomAppBar in the scaffold property
...
The BottomAppBar when given in the Scaffold gets hidden when the
keyboard is visible. We had hacked around that by translating its
position, however that resulted in the cursor at the bottom being hidden
when we were typing a long note.
It is not just part of the body of the scaffold.
Also converted many functions into widgets.
2020-05-06 15:16:37 +02:00
81eb605e98
MarkdownViewer: Use EditorScrollView
...
This way we don't show that annoying animation, and we now occupy the
entire available width. Otheriwse if you had text which was required
scrolling, but only had 1 word in each line, then you couldn't scroll by
dragging on the empty area as the widget didn't occupy that space.
2020-05-06 14:27:49 +02:00