39 Commits

Author SHA1 Message Date
9051d1e7dc Add a 'Report Bug' button
This also attaches the entire 'adb logcat' in Android. This way, we can
hopefully get useful info about why something is not working.

This currently breaks the build as we need to migrate to Android X
2019-05-20 14:35:27 +02:00
689e783bb3 AppDrawer: Send event per button
This way we can track how many % of the users started the git hosting
setup and did not complete it.
2019-05-19 19:01:11 +02:00
ad2e4ac9b1 Rename markdownToPlainText -> stripMarkdownFormatting
It better reflects what the function actually does
2019-05-13 22:57:49 +02:00
f2af5c9c75 Improve markdown to text conversion
Use a proper markdown parser to convert the text. This way more of the
formatting is correctly removed.
2019-05-13 22:36:32 +02:00
0e88479db2 JournalList: Remove #
They are jarring, as reported by a user.
2019-05-13 21:58:04 +02:00
6e5a6255a3 Move empty text inside the JournalList 2019-05-01 23:59:00 +02:00
139f1bc5cd JournalList: Show the fileName if the note has an invalid date 2019-02-16 19:57:20 +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
a32f01b2c4 Implement undo delete properly
This way the git History is not modified.
2019-02-15 19:58:58 +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
0ff71dda2b JournalList: Add a separator between the entries 2019-02-15 12:48:55 +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
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
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
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
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
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
06812d3fa1 Show a badge to indicate that the 'Git Host' has not been setup 2019-01-25 12:45:33 +01:00
b9b42d950f ListView: Remove the padding
This way it properly aligns up with the hamburger menu.

I also discovered this 'debugShowMaterialGrid' option which makes
working with padding issues much much easier.
2019-01-23 15:19:54 +01:00
4ca40ee08b Note Browsing: Allow swiping along the notes
I'd implemented an adhoc method of doing this which clearly sucked. It's
easier to just use the PageView class.
2019-01-23 13:00:49 +01:00
cdc6fd9ed7 Git: Add a simplistic way to migrate between 2 git repos
This way initially all the changes are performed on the local git repo,
and then later they are applied on the remote git repo. Currently we
just copy the files, but we should be cherry-picking each commit and
applying it properly.
2019-01-23 11:24:51 +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
ccefc3c769 NoteHeader: Make it prettier
* Align the header better
* Show the full month name
2019-01-20 13:46:46 +01:00
c99fe854a1 Note: Replace 'id' with 'fileName'
It all just makes far more since when each Note has a fileName.

Though we don't save the fileName in the YAML header. It seems quite
redundant to do that.

Another advantage of this is that if we can read any file ending with a
'.md' in a git repo. It doesn't need to be named exactly how we want it,
and we will still save the details correctly.
2019-01-18 16:12:03 +01:00
4fc8201427 Add an empty Settings page 2019-01-18 13:13:13 +01:00
370cce523d Journal Entry Header: Show time with leading zeros 2019-01-17 14:16:18 +01:00
fc40e4cef1 JournalList: Use color from Theme
Also cleanup the code a bit
2019-01-15 14:14:29 +01:00
a29389d4bb Note Editing: Add the NoteHeader
It looks much prettier this way.
2019-01-15 13:59:58 +01:00
735698bfaa AppDrawer: Add the icon instead of my name + email
There doesn't seem to be any way to automatically get the name + email
of the user, so then there isn't anything to show. I'm adding the icon
as a placeholder. It's better than nothing.
2019-01-11 19:51:43 +01:00
eb2c9eb33f Note: Rename 'createdAt' to 'created'
My notes already use the key 'created', and I don't want to have to
change that.
2018-06-01 19:04:48 +02:00
c30ed0c9f4 Add a sample Drawer 2018-05-25 01:17:49 +02:00
0551cc0538 Note Deletion: Implement undo 2018-05-25 01:05:17 +02:00
69eb5f2ed5 JournalList: Only show the first 2 lines of the note
Instead of trying to guess how many characters one should show.
2018-05-25 00:47:35 +02:00
b588cdc66b NoteBrowser: Allow browsing via swipes
This is the first prototype for swiping. It really needs a lot of work,
and it needs some kind of animation.
2018-05-25 00:46:17 +02:00
46c0abc525 NoteViewer: Implement the left/right buttons works 2018-05-25 00:09:22 +02:00
b6c38dde3c Use an InheritedWidget instead of passing the callbacks
This simplifies the code quite a bit, at the cost of using this
strange flutter magic of an 'InheritedWidget'.

It basically make a class a global variable.
2018-05-24 12:33:46 +02:00
af81fd5a45 Move a widget into its own dir 2018-05-21 18:03:56 +02:00