c1d81da15d
NewFolder: Fix mix up between Create and Discard
...
Fixes #139
2020-05-19 11:30:44 +02:00
4208b05bb4
NoteEditor: Only enable 'Discard Changes' option if we have changes
...
Otherwise disable the button.
2020-05-19 00:02:07 +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
8aa96c1b9c
GridView: Use CardView internally
...
Just with a fixed height card. This way we save on lots of code
duplication, specially as each of these views will become more complex
as we add dismissable, animations and selectable notes.
2020-05-18 23:46:36 +02:00
aa52f49fff
CardView: Make it responsive
2020-05-18 23:38:46 +02:00
630b4896e6
RepoSelector: Allow text to be easily cleared
2020-05-18 23:09:14 +02:00
5133dfadf7
Update mysterious ios stuff
...
No clue.
2020-05-18 19:54:41 +02:00
d488bb535a
Bump version
2020-05-18 18:26:20 +02:00
b193b75254
Setup: Move generating ssh key + deploy key code out of widget
...
It's strange, but this widget routinely gets constructed twice. So
performing a long async operation (generating the ssh key + adding it as
a deploy key) from initState, results in it being called twice. I'm not
sure where the state is initialized twice.
Even adding a unique key to the widget did not help. In the end, I've
just moved the code to its parent widget.
2020-05-18 18:19:26 +02:00
5123938e53
Setup: Rename screen to Loading/Error screen
...
It's all that it does. This way we can re-use this screen in other
places.
2020-05-18 18:13:21 +02:00
1570daa412
keygen: Try generating the key in dart instead of using git_bindings
...
This seems to work rather decently, but I'm not ready to put it into
production until it is tested quite thoroughly on lots of different
platforms.
2020-05-18 01:23:18 +02:00
53f02db7f4
ChecklistEditor: Rename variable
...
More accurately describes its role
2020-05-18 00:49:32 +02:00
140954e7d1
ChecklistEditor: Remove trailing empty items
2020-05-18 00:42:15 +02:00
c6ec94dab6
Log when lock obtained
...
Notes don't always seem to get deleted, and I'm not sure why that's
happening.
2020-05-18 00:35:48 +02:00
07576bb624
Do not let the RootFolder be renamed
2020-05-18 00:31:55 +02:00
26ed82fdbc
Make "Root Folder" translatable
...
It was earlier duplicated all over the place.
2020-05-18 00:26:00 +02:00
816cb0c3ed
Reduce code duplication
...
Avoid code for determining the publicName of a folder.
2020-05-18 00:23:14 +02:00
f4ad226341
NoteFileName Format: Move it to Folder Settings
...
This way each folder can have its own default file naming scheme.
2020-05-18 00:13:20 +02:00
a2b72a1a81
DebugScreen: Add buttons to jump to top and bottom
2020-05-17 19:56:25 +02:00
c62d5e469f
Remove some logging
2020-05-17 19:51:26 +02:00
2a84962cb2
DebugScreen: Do not show microseconds
...
Way too much info
2020-05-17 19:49:51 +02:00
a324d0f755
Logging: Allow logging structured fields
...
Display this in the Debug Screen app. Additionally, add a reason why a
file was not loaded.
2020-05-17 19:47:11 +02:00
2339f50d89
DebugScreen: Make it prettier
2020-05-17 19:24:00 +02:00
804254cb2e
Fix crash while parsing logs
...
So ironic
2020-05-16 20:59:11 +02:00
1b235fdf62
Update README.md
2020-05-16 15:26:40 +02:00
ca934f79d5
CloneRepo: Avoid creating a .gitignore file if not required
...
It's easier if there is always at least 1 commit in a repo. Creating a
commit with a .gitignore file was a simple way to ensure that. However,
we can also just check for the presence of any other file. This way, we
avoid the extra commit.
2020-05-15 15:31:16 +02:00
18db4899b2
GitHostSetup: Allow the user to choose between repos
...
This way they don't need to use a repo called 'journal'.
2020-05-15 15:28:44 +02:00
2cc1707ef7
Bump version
2020-05-14 17:07:56 +02:00
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