136 Commits

Author SHA1 Message Date
8c262e2a7d OnBoarding Git Url: Move to its own file
This onboarding file is getting too huge
2019-01-16 22:09:57 +01:00
a21c32ea85 OnBoarding: Remove keyboard
Sometimes when going back and forward, we want to keyboard to disappear.
2019-01-16 18:29:38 +01:00
1a070b2c41 OnBoarding: Launch the page for adding a deploy key
I'd added BitBucket, but bitbucket sucks as it doesn't have any way to
add an ssh key with write access.

With Gitlab I couldn't link to the exact point in the page, but oh well.
I'll try to file a bug with them.
2019-01-16 18:14:07 +01:00
2876abb05d MainOnBoardingPage: Increase the spacing in the logo
I don't like the fact that I'm arbitrarily chosing these numbers, but oh
well, lets just go with this for now.
2019-01-16 17:30:16 +01:00
7692f851f2 OnBoarding main screen: Use the custom Lato font for the heading
I'm not sure if I should use this font all over, or if just in this
place.
2019-01-16 17:27:57 +01:00
f7aa214002 Add a basic README 2019-01-16 17:22:56 +01:00
e596fbc478 Add fastlane to gitignore 2019-01-16 17:10:30 +01:00
a5ac547ecc Note: Allow extra yaml metadata to be set
This way if there is existing metadata, we aren't removing it when
writing the notes. The order isn't preserved, but meh, that's fine for
now.
2019-01-15 23:27:32 +01:00
4ba27e9b16 Fastlane: Publish to beta track from now on 2019-01-15 21:46:50 +01:00
33e705d7b4 Bump version number
It's needed since the flag overwriting via command line still doesn't
work, so my fastlane script won't work :(
2019-01-15 21:44:01 +01:00
d6c2d5d05a Note id: Default to created and do not save if not required
For this journaling app, even though we are treating journal entries as
notes, we don't really any 'id'. Just the filename is quite adequate. In
the future, we can figure out this 'id' nonsense, and if it is even
required given that we're always going to be built on top of a FS.
2019-01-15 21:41:39 +01:00
38218fd9a3 Only save and load .md files
For now I only want to deal with markdown. In the future, we can move
towards maybe accepting all .txt files as well? Not sure.
2019-01-15 21:23:26 +01:00
f5592a2fde OnBoarding: Hook up the new screens properly 2019-01-15 18:10:56 +01:00
1bad32d4bf Add some more landing pages
This totally breaks everything, but the commit is already too large, and
I want to save it.
2019-01-15 17:54:33 +01:00
6db080b5f4 GitMerge: For now just take THEIRS as the Merge Strategy
In the future, our strategy can be that we take whichever file has been
modified the latest. That's actually far more reasonable.
2019-01-15 15:39:17 +01:00
315414ae73 Fix datetime to string conversion 2019-01-15 15:35:41 +01:00
5a2b0f1f4b Allow the notes to be refreshed by pulling from the top 2019-01-15 15:26:15 +01:00
075d353447 Write the date time in iso8601 + timezone
This is not perfect as when parsing the datetime, we're ignoring the
timezone.
2019-01-15 15:10:43 +01:00
04b65fbf95 Filename: Use iso8601 string
This sucks balls. Overall, the datetime handling in Dart is really
really bad. It just has the concept of local time or utc time. There are
a few packages which attempt to solve this, but none which really solve
it in the way I would like.

All I want is someway to generate an iso8601 string with the timezone.
And that my DateTime should be aware of the timezone as an offset east
of UTC. Is that really so hard?
2019-01-15 14:41:51 +01:00
fc40e4cef1 JournalList: Use color from Theme
Also cleanup the code a bit
2019-01-15 14:14:29 +01:00
a29389d4bb Note Editing: Add the NoteHeader
It looks much prettier this way.
2019-01-15 13:59:58 +01:00
7e084ac0e9 Allow Journal Entries to be editted 2019-01-15 13:39:50 +01:00
eceae0abd4 Editor: Change title to New Journal Entry 2019-01-15 13:06:22 +01:00
72edf6e11c Fastlane: Add a lane to build + upload to playstore
In the alpha version for now. The --build-number flag fails right now,
this seems to be a regression in flutter which has been fixed, but the
new version has yet to be released.

So, when I put this into a proper CI, it's going to fail :(
2019-01-14 19:12:21 +01:00
0dcd051028 Add fastlane for Android
Just with the defaults
2019-01-14 18:43:57 +01:00
3711c81259 Add a LICENSE 2019-01-14 18:24:45 +01:00
6053d6064e Add a License 2019-01-14 18:24:15 +01:00
c73bfa84e9 Android: Add release apk signing info 2019-01-14 16:20:59 +01:00
a1cf29e4a5 Add version number
New versions of flutter allow us to specify the version number in the
pubspec.yaml file.
2019-01-14 16:20:14 +01:00
361ee40868 Add crashanalytics 2019-01-14 14:35:05 +01:00
1cddeaec00 OnBoarding: Add all relevant analytics 2019-01-14 14:01:11 +01:00
94006c3d7d Analytics: Send an event for page changes
This is not perfect as we do not get an event for the first page.

https://github.com/flutter/flutter/issues/19249
2019-01-14 13:54:54 +01:00
1df6829aea Analytics: Mark when onboarding has been completed 2019-01-14 13:27:42 +01:00
ca1eac6f23 Journal Editor: Change FAB icon to Check
I think it looks nicer, and adds some variety in comparison to the +
icon, which was also in the previous screen.
2019-01-12 12:27:28 +01:00
9867d607db Fix app name in AppBar 2019-01-11 20:04:13 +01:00
55de42cba6 Change git author name and email 2019-01-11 20:01:37 +01:00
735698bfaa AppDrawer: Add the icon instead of my name + email
There doesn't seem to be any way to automatically get the name + email
of the user, so then there isn't anything to show. I'm adding the icon
as a placeholder. It's better than nothing.
2019-01-11 19:51:43 +01:00
8a35470ad1 JournalView: Do not mention the day twice in the header 2019-01-11 19:29:39 +01:00
89c878f1cd Remove half cloned git repos
It can fail to clone and leave some residual .git files
2019-01-11 19:29:34 +01:00
760d1bff9f Make the DeployKey page a bit prettier
It's still ugly as shit.
2019-01-11 19:04:36 +01:00
79e289bf7b OnBoardingScreen: Add more padding 2019-01-11 18:51:12 +01:00
19ae26cadc OnBoardingScreens: Do not call setState in the constructor
Even though it is called with a future, it seems to provoke an
exception. My flutter skills are not good enough to know why this is not
okay.
2019-01-11 18:48:51 +01:00
839da00307 OnBoardingScreens: Do not let us skip screens
This requires us to dynamically generate the screens based on if we have
completed the screen or not.
2019-01-11 18:42:26 +01:00
fe4f6effe7 Main OnBoading Screen: Add some padding
+ some color to the input box

I would have assumed that the background color would have come by
default.
2019-01-11 18:23:46 +01:00
f63439f6cc Update android icon
It has a horrible white circle around it, and I cannot seem to figure
out how to fix it.
2019-01-11 17:49:16 +01:00
ad2c53acf5 Add icon assets 2019-01-11 17:40:05 +01:00
d5eaefb849 Update secondary color to brown
It gives a nicer earthier feel to the app, instead of red, which is a
bit too strong.
2019-01-11 17:26:16 +01:00
1ad2a2cb62 Copy public key to clipboard 2019-01-10 18:33:12 +01:00
1c315836d3 OnBoarding: Simplify the code 2019-01-10 18:21:03 +01:00
62ecd016f7 Move the PageController into a state widget
Doesn't it have some state since it's fundamentally storing which page
we are one? Or where is that stored otherwise?
2019-01-10 18:18:14 +01:00