353 Commits

Author SHA1 Message Date
4029971a63 Fix null value
Text widget cannot accept a null value as the text value.
2019-02-23 02:11:43 +01:00
9f9c472255 DartLinter: Enable a few more options 2019-02-23 01:43:58 +01:00
9ce4e5b1b9 DartLinter: Add prefer_collection_literals 2019-02-23 01:36:32 +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
139f1bc5cd JournalList: Show the fileName if the note has an invalid date 2019-02-16 19:57:20 +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
b8a6691327 Bump version 2019-02-16 16:58:09 +01:00
7fd5813f99 Update screenshots 2019-02-16 16:44:45 +01:00
8e75fc0b6f Upgrade screenshot taking script to handle onboarding 2019-02-16 16:27:18 +01:00
7c9e5c00c8 Bump version number 2019-02-16 14:31:06 +01:00
28a430ecdb OnBoarding: Center the text 2019-02-16 13:56:57 +01:00
40a12b8af1 Consider emulated devices to be debug devices
So do not run analytics on them.
2019-02-16 13:56:23 +01:00
29c8da11fb Enable OnBoarding 2019-02-16 13:24:48 +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
7dc6433538 Add a helper script to choose the device and run flutter on it
It makes the entire process so much easier when you have multiple adb
devices.
2019-02-16 11:33:18 +01:00
892a575227 Add a script to add the status bar to the screenshots
The ones generated by the flutter driver do not have status bars
2019-02-16 10:19:28 +01:00
06adf4c3b9 Disable Advertising ID collection
I don't care about collecting this data, all I care about is anonymized
data collection about the number of users + screens used.
2019-02-16 09:50:30 +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
00355c532b Add a trivial integration test which just takes a screenshot
This required refactoring the code. With this we can now write an
integration test to test the main parts of the app, but more importantly
we can automate the process of generating the screenshots.
2019-02-16 00:16:32 +01:00
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