d5f91cb898
More prefer_const
...
It seems like flutter analyze might have some kind of cache
2019-10-20 01:24:43 +01:00
ffc0af12a3
Enable prefer_const_constructors
2019-10-20 01:11:53 +01:00
3d26ba0beb
OnBoarding: Dynamically change the text size
...
This way it looks a bit better on smaller devices
2019-06-17 20:23:49 +02:00
406c32c2b4
flutter upgrade
...
The dots_indicator package seems to have changed their API without
bumping the major version number :(
2019-06-16 17:34:24 +02:00
c79249cbe1
Dart: Give all functions explicit types
...
It makes the code easier to understand and this way the static type
checker will catch bugs for us.
2019-06-02 15:51:43 +02:00
8e75fc0b6f
Upgrade screenshot taking script to handle onboarding
2019-02-16 16:27:18 +01:00
28a430ecdb
OnBoarding: Center the text
2019-02-16 13:56:57 +01:00
531f76f9fd
Add the third OnBoarding Page
...
For me this one is the least polished, and doesn't look that great. But
for now I guess it's fine. In the future, the different parts should not
be one images, but rather multiple ones which are animated properly.
2019-02-16 13:23:31 +01:00
1c01be81b1
Add a second OnBoarding Page
2019-02-16 13:01:24 +01:00
8aa92c4908
OnBoarding buttons: Add keys
...
This way the flutter driver can easily find them even if the text
changes, which it probably will when I start localizing this app.
2019-02-16 12:54:15 +01:00
e5e60ef5db
Create the first OnBoarding page
2019-02-16 12:25:20 +01:00
b28dc47702
OnBoarding BottomBar: Add an animation
...
Now the "Get Started" button opens up with an animation!
2019-02-16 12:15:33 +01:00
0a2c1d0b92
OnBoarding Bottom Bar: Show a 'Get Started' on the last page
2019-02-16 12:05:49 +01:00
c12d7b69c5
OnBoarding: Add 'Skip' and 'Next' buttons
2019-02-16 11:55:38 +01:00
c819f49afe
Add a very basic onBoardingScreen
2019-02-14 01:44:57 +01:00
285a900e76
Rename OnBoarding to GitHostSetup
...
It was either GitHost or GitRemote.
2019-01-25 12:05:32 +01:00
c5135ff822
OnBoarding: Integrate GitLab api
...
Now we can also automatically create a GitLab repo + configure it.
2019-01-25 11:34:30 +01:00
a342eada0f
OnBoarding Screen AutoConfigure: Let the user swipe back
2019-01-24 18:21:39 +01:00
4c1009f42f
OnBoarding: Add auto-configure mode for Github
...
In this mode the user doesn't need to do anything but give the
GitJournal app permissions, and then it will go and create the repo, add
the ssh key and everything.
This currently does not work for Gitlab.
2019-01-24 16:45:40 +01:00
de6968606d
Gitlab: link to the exact Deploy Keys part
...
Gitlab guys were quite promt!
https://gitlab.com/gitlab-org/gitlab-ce/issues/56589#note_134106654
2019-01-23 14:52:27 +01:00
170983024c
Fix Clone screen not disappearing
...
and other misc changes
2019-01-23 12:48:37 +01:00
2b1ac6cad7
Hookup onBoarding screen to app
...
* I should probably stop calling in an onboarding screen, since it's now
just a way to setup sync.
* It overall feels quite ugly, and unpolished.
2019-01-23 12:13:02 +01:00
a29a102667
Move git api to apis folder
2019-01-23 11:54:02 +01:00
8693545fe5
OnBoardingScreen: Do not quit when pressing back
...
We're no longer the first screen to be shown.
2019-01-23 11:51:39 +01:00
519de8fcff
Remove onboarding screen
...
For now just create a local git repo and commit all the changes over
there, we're going to allow the user to first see the app and use it
however they want, and later connect it to a remote git repo.
This commit breaks the app, as the on-boarding screen is no longer
connected so you cannot push to a remote app.
2019-01-21 13:43:33 +01:00
e6648c183e
Remove the old snackbar before showing a new one
2019-01-18 12:57:14 +01:00
d6d68a5a0f
OnBoarding: Send analytics on each button press
2019-01-18 12:28:32 +01:00
cd11d1358f
Fix typo
2019-01-17 18:29:35 +01:00
a24837314c
OnBoarding: The back button should not result in the app quitting
2019-01-17 18:17:52 +01:00
708c3785a2
OnBoarding:: Do not show 'clone' button untill the key is generated
2019-01-17 14:37:49 +01:00
49e775203f
OnBoarding: Fix deploy key page url
2019-01-17 14:37:40 +01:00
197211e490
Main Screen: Put the GitJournal text below the logo
...
It doesn't fit on my OnePlus5 otherwise, and the only other fix is
making the logo super small.
Though this information which I'm showing - the logo + text, is totally
just filler info. It isn't required, as the user knows which app they
launched.
2019-01-17 14:14:58 +01:00
aaeea1552c
OnBoarding: Add a dots indicator at the bottom
...
This way we clearly know that we can go back in the onboarding process.
I hope. It definitely looks much better now.
2019-01-17 13:40:07 +01:00
6c07510c4d
OnBoarding ssh key screen: Make it prettier
...
Also add a button for copying the public key. Ideally I would have liked
the text to be selectable but Flutter doesn't have a widget for that,
and it's much easier to just add a button instead -
https://github.com/flutter/flutter/issues/5422
2019-01-17 13:21:03 +01:00
0aa2b1f4eb
OnBoarding: Trim the gitClone url just in case
2019-01-16 22:55:11 +01:00
3d88ed9c05
OnBoarding: Move cloning logic to parent widget
...
There were a few cases when since we were calling an async function in
initState, which would then call setState, we would get an exception.
Also this way, the entire logic of the onboarding is in one place, and
the individual screens are far far simpler.
2019-01-16 22:47:30 +01:00
f7e67309bd
Move onboarding git clone
screen to its own file
2019-01-16 22:33:49 +01:00
297aef57f2
Fix the styling in the other onboarding screens
2019-01-16 22:30:24 +01:00
65480a2aa0
Reduce code duplication by introducing an OnBoardingButton
2019-01-16 22:24:48 +01:00
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
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
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
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