2622 Commits

Author SHA1 Message Date
07de868b26 Move Note screens in the screens folder 2019-02-15 20:49:54 +01:00
475315785c Delete Note: Do not sync untill the snackbar has gone
Otherwise we would have already pushed that change to the server, and
undo-ing it will be impossible.
2019-02-15 20:12:13 +01:00
a32f01b2c4 Implement undo delete properly
This way the git History is not modified.
2019-02-15 19:58:58 +01:00
7128e736d9 NoteSerializer: Do not serialize the filePath as metadata
This is a bug since we change this field from fileName to filePath.
2019-02-15 19:30:12 +01:00
2b1ac39a9d Disable crashalytics in debug mode 2019-02-15 19:28:02 +01:00
1f7871fe12 Add a GitResetLast command
This way we can revert the last committed change.
2019-02-15 19:27:40 +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
8593f79445 Revert "Add proguard to shrink apk size"
This reverts commit 72b30688b482058ba628fdb163e4957f553e77ce.

The release app is crashing because of this. It's not worth the
space saved by a few megabytes.
2019-02-15 13:59:02 +01:00
c085475d9b Feedback: Send us the version number of the app 2019-02-15 13:13:35 +01:00
9e5548dbc9 AppDrawer: Add a 'Rate us' button 2019-02-15 13:03:53 +01:00
e93e2a2b34 NoteViewer: Add a delete action
Having to swipe the note is not obvious.
2019-02-15 12:58:18 +01:00
0ff71dda2b JournalList: Add a separator between the entries 2019-02-15 12:48:55 +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
4344d4d618 JournalList: Make it slightly prettier
I'm not using the Theme everywhere, and I should ideally be changing
it instead of using custom fonts, but lets just go with this for now.
2019-02-15 12:23:53 +01:00
9390848257 NoteViewer: Put empty space at the end
This way the Floating Action Button is not covering up the text.
2019-02-15 12:07:58 +01:00
72b30688b4 Add proguard to shrink apk size
Went down from 8.5 to 6.7 mb.
2019-02-15 09:39:33 +01:00
7d380e1ea2 GitMigration: Change commit message
Lets keep it as 'Added Journal Entry', as this way it isn't obvious
that'we loosing the history of the changes when moving from the local to
the remote repo.

Implementing proper migration would take me hours, and its not a
priority right now.
2019-02-15 00:24:51 +01:00
428c0bb611 Note Edit: Immediately update that note in the list
Otherwise, it's only after syncing and reloading the entire list of
notes do we see the update. This process is usually quite fast, but
not always.
2019-02-14 23:45:50 +01:00
cc7774707f AppDrawer: Follow the Theme
This also looks way prettier as the icons are the same color as the
text.
2019-02-14 23:36:41 +01:00
2017fb36ea Android: Add a splash screen
It just has the GitJournal icon, but it's way better than a plain white
screen.
2019-02-14 23:30:58 +01:00
2ec3cc6e76 AppDrawer: Add icons 2019-02-14 22:48:54 +01:00
f1413961f2 AppDrawer: Add a 'Feedback' option
This just sends an email
2019-02-14 22:46:30 +01:00
fbd86fa3aa NoteEditor: Remove floating action button
It comes in the way of writing.
2019-02-14 22:37:00 +01:00
892fc07b89 App Drawer: Implement the share button
It's very basic, but it's a decent start.
2019-02-14 18:22:56 +01:00
8d778d7e1f Fix flutter analyze
Forgot to update the paramters in the test code.
2019-02-14 14:51:13 +01:00
ac7d7f7445 Disable onBoarding screen for now
I want to make a new release, and the onboarding is clearly not ready.
2019-02-14 14:35:04 +01:00
7075d412ba Bump version number 2019-02-14 13:36:39 +01:00
03e46ce8cd Allow notes to be stored inside a sub-folder in a git repo 2019-02-14 12:59:43 +01:00
8345f1424e Note: Rename 'fileName' to 'filePath'
A note can reside in a subfolder, so lets just use the path as an
identifier instead of using just the fileName.
2019-02-14 12:07:23 +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