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
f421b61fd4
Editor: Replace the scroll view
...
This one supresses the top glow animation, has a decent padding by
default, and occupies the entire space of its parent.
2020-05-06 14:20:56 +02:00
be4dad579b
ios: Add requied permissions to add images
2020-05-06 13:17:11 +02:00
ea733aacb5
Add a very simple Debug screen
...
This will show all the debug messages, which include when a file is
being ignored and not loaded, and hopefully all the exceptions. So the
user should be able to better understand why a file has been ignored.
It's not an ideal solution, but it's a quick fix.
Fixes #122
2020-05-06 01:09:57 +02:00
63e7d0e927
Logger: Log all messages to a file
...
For Bug reports we were calling 'adb logcat' and fetching the logs, but
the amount of logs we got was quite arbitrary, also this wasn't possible
in iOS.
With this approach, we don't get the lower level logs of Android/iOS or
from libgit2, but since we're slowly moving away from libgit2 anyway, it
will have to do.
2020-05-06 00:17:46 +02:00
99a3d6214f
Settings: Make some of the strings translatable
...
Man, this is going to be exhausting. There are some 165 Text instances.
So this mean probably around 200+ strings.
2020-05-05 17:29:04 +02:00
efec0500f3
Add basic scaffolding for translations
...
I still need to go through all the public string and document them.
2020-05-05 17:16:07 +02:00
b26cfe8b81
Avoid mutating the state while building the Editor's bottom bar
...
getNote() mutates the state
2020-05-05 12:33:20 +02:00
b17c184900
Add very basic Image support [Android only]
...
This adds a '+' button to the NoteEditor which allows you to add an
image from either the Gallery or Take a photo. It then accordingly adds
updates markdown.
The file is added in the same directory as the note for now.
Related to #10
2020-05-05 12:02:36 +02:00
d0ab323356
Revert "Editor: Bring back 'Move to Folder' in the dropdown menu"
...
This reverts commit f129f2ac94e825b978f9c735ef2e110e2bfb6664.
2020-05-05 10:21:09 +02:00
f946fe487a
Editor: Make the BottomAppBar stick above the keyboard
...
Workaround for https://github.com/flutter/flutter/issues/26499
2020-05-05 10:20:15 +02:00
f129f2ac94
Editor: Bring back 'Move to Folder' in the dropdown menu
...
I cannot seem to position the BottomAppBar on top of the keyboard, and
until I can do that lets keep this action over here.
https://github.com/flutter/flutter/issues/26499
2020-05-05 10:10:56 +02:00