14 Commits

Author SHA1 Message Date
8ff5d02033 DartLinter: Add unnecessary_this 2019-02-23 01:33:34 +01:00
e9304bd2d1 GitSetup: Improve wording 2019-02-14 11:07:09 +01:00
06dc62e967 GitSetup: Use the 'journal' repo if it already exists 2019-02-14 11:06:49 +01:00
22b022be82 GitHost SSH Key: Make the message more informative
This way, the user will have more feedback about what step in the
process are they.
2019-02-14 10:32:00 +01:00
4690aa7d5c GitHost AutoConfigure: Add some info before asking for OAuth access
This way the user knows what we will do with the permissions
granted, and the entire process will seem less scarier.
2019-02-14 10:25:03 +01:00
994b6f2ccd GitHostSetup: Reduce code duplication
Make the ErrorPage into its own widget, instead of duplicating the code.
2019-02-14 10:13:46 +01:00
eab5506fe2 GitHostSetup: Reduce code duplication 2019-02-14 00:30:45 +01:00
af8d30165f GitHostSetup: Simplify the entire process
We are now no longer shown an option to choose between an existing repo
or creating a new one. We just directly jump into choosing a hosting
provider.

I'm trying to optimize the git host setup for the happy path.
2019-02-13 22:45:44 +01:00
c5c4d44431 GitHost: Improve error handling
In the case of OAuth errors which we get through the message
channel, throwing an exception doesn't help us as the init function
will not be aware about it.

So for now, I've moved the nodejs style error handling in this
particular case.
2019-02-13 22:43:34 +01:00
acede95536 Dart: Add analysis_options
For now I've mostly tried to follow the same style guide as the flutter
repository, with many options disabled. Eventually, maybe it would make
sense to be far stricter.
2019-02-13 13:08:15 +01:00
dc29d523cc GitSetup: Get the user's name + email from the GitHost
This way they aren't committing under the name of 'GitJournal'.
2019-02-09 16:47:53 +01:00
d6515bf507 GitHost AutoConfigure: Show the error
It looks super ugly, but it's better than not showing anything.
2019-01-25 15:11:24 +01:00
fb202e0f1f GitHost AutoConfigure: Handle errors a bit better 2019-01-25 14:52:56 +01:00
285a900e76 Rename OnBoarding to GitHostSetup
It was either GitHost or GitRemote.
2019-01-25 12:05:32 +01:00