128 Commits

Author SHA1 Message Date
6e5a6255a3 Move empty text inside the JournalList 2019-05-01 23:59:00 +02:00
954573bcce NoteViewer: Render the markdown 2019-05-01 23:53:21 +02:00
4029971a63 Fix null value
Text widget cannot accept a null value as the text value.
2019-02-23 02:11:43 +01:00
8ff5d02033 DartLinter: Add unnecessary_this 2019-02-23 01:33:34 +01:00
bad9aa2bd9 NoteViewer: Add a Share button 2019-02-23 01:24:38 +01:00
456b45c2d6 NoteHeader: Only show if note has a valid date 2019-02-16 19:59:00 +01:00
eb617eafa0 GitHostSetup: Remove unnecessary GlobalKey
It's not required as we can get the Scaffold from the BuildContext.
2019-02-16 19:37:08 +01:00
62f22ef18d Give some widgets keys
This should result in a bit of a performance boost. I'm not sure if I
understand the concept of keys correctly, though.
2019-02-16 19:32:49 +01:00
0762bd98c3 NoteEditor: Improve cancel alert box
Better wording, and avoid a generic 'Yes' or 'No' in the buttons.
2019-02-16 18:32:48 +01:00
3c9a773e18 NoteViewer: Show a confirmation dialog before deleting 2019-02-16 18:29:44 +01: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
2c6e5b2e9c Screenshots: Add more screenshots
* Add another note and then take a screenshot of the list view
* Take a screenshot of the Git Host Setup
2019-02-16 00:54:58 +01:00
e97300b7b1 Integration Test: Make it take a few screenshots
* Default value
* App Drawer
* Note Editing
2019-02-16 00:46:03 +01:00
07de868b26 Move Note screens in the screens folder 2019-02-15 20:49:54 +01:00
0a4c20f12f GitHostSetup Manual: Write better instructions 2019-02-15 15:23:30 +01:00
783eef32e5 HomeScreen: Show some text when we have no journal entries
Ideally, I would want something way prettier, but this is a good
enough start.
2019-02-15 15:16:08 +01:00
c085475d9b Feedback: Send us the version number of the app 2019-02-15 13:13:35 +01:00
f854baa3b1 Make the settings page a bit prettier 2019-02-15 12:40:02 +01:00
6aedcfce96 Settings Screen: Remove minor code duplication 2019-02-15 12:28:42 +01:00
03e46ce8cd Allow notes to be stored inside a sub-folder in a git repo 2019-02-14 12:59:43 +01:00
882c4eb024 GitSetup: Add a screen to choose a subFolder
This is only shows if there are subFolders with '.md' files. This
feature is super important for me as it allows me to finally dogfood
this app and use it

This patch just adds the screen, but the subFolder selection
currently doesn't do anything.
2019-02-14 12:04:21 +01:00
f5e7a92546 GitHost: Remove InitialChoice page
It is no longer used. Our first choice is now to choose between
different hosting providers.
2019-02-14 11:23:24 +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
c819f49afe Add a very basic onBoardingScreen 2019-02-14 01:44:57 +01:00
6fea27e0ca Show +1 notification badge after user has made a journal entry 2019-02-14 01:11:35 +01:00
c9ddf67e46 GitSetup SSH: Make the 2nd instruction different for custom provider 2019-02-14 01:02:20 +01:00
28fcc65772 GitSetup: Add instructions on SSH Key page 2019-02-14 00:54:35 +01:00
b7c687eee5 GitSetup: Autofill the clone url with the last value
Makes it easier to fix typos
2019-02-14 00:53:29 +01:00
74d167e503 GitSetup SSH Keys: Show an explicit loading page
When the SSH Key is being generated, nothing can really be done. The
text can be read, but it cannot really be acted upon, and it's not super
clear that one is just supposed to wait.
2019-02-14 00:35:21 +01:00
eab5506fe2 GitHostSetup: Reduce code duplication 2019-02-14 00:30:45 +01:00
ce80e4d9f8 GitHostSetup: Move SSH Key page to its own file 2019-02-13 23:12:07 +01:00
a63950bd10 GitHostSetup: Show a different page for entering cloneUrl
In the case when they don't want to use OAuth, but are still going to
use Github or Gitlab.
2019-02-13 23:08:46 +01:00
52b844e6e8 GitHostSetup: Move the button to its own file 2019-02-13 22:49:42 +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
5452fc0a78 GitHostSetup: Automatically open the correct url
This is a behaviour that got lost during the refactor.
2019-02-13 21:02:33 +01:00
6a8f8f4044 Rename GitHostSetupUrl -> GitCloneUrlPage 2019-02-13 20:59:15 +01:00
22c457b0f1 GitHostSetup: Do not manually count the number of pages
It's error prone.

The '+ 2' seems cryptic - +1 is because the variable is a 'count' and
not 'index'. Another '+1' because we now have one more page.
2019-02-13 20:54:15 +01:00