17 Commits

Author SHA1 Message Date
b15da0677a Document firebase's automatic events
We just need to duplicate these events ourselves, and then we could
replace firebase with our own solution.
2020-08-18 11:34:33 +02:00
7936cc70b8 Analytics: Make all events into enums
No more random strings
2020-08-17 15:29:38 +02:00
b82b5ee658 PurchaseScreen Analytics: Record with new format 2020-08-10 15:32:39 +02:00
1379fcfb0b AppDrawer: Use enum Events instead of strings
It's easier when all the events are declared in one place. This patch
gets us one step closer to that.
2020-08-09 02:10:39 +02:00
9d00fdac06 Use import_sorter
flutter pub run import_sorter:main --no-comments

The code feels much cleaner
2020-07-24 12:43:28 +02:00
97812e1501 Convert more prints to logs
This way they will show up in the LogViewer
2020-06-10 13:25:22 +02:00
267ecb7499 Implement a very basic file system view
This will show all the files and not just the "notes". This way the user
can easily figure out why a file isn't included in the list of notes.

It's currently disabled by default as it clearly needs a lot more work.
2020-06-10 00:54:15 +02:00
29ec2d1a90 Remove unused import 2020-05-26 13:48:59 +02:00
8b4fa886ba Add a CustomRouteObserver
This basically asserts if we move to a route without a name. This way
I'll always catch when a route doesn't have a name, and I can start
getting better analytics on which screens are used most frequently.
2020-05-26 13:43:41 +02:00
6dbc372cac Analytics: Log every event 2020-05-08 12:08:10 +02:00
49bf02bf15 logEvent: Parameters must be <String, String>{}
Not string, dynamic. Sentry wants strings.
2020-05-01 10:50:09 +02:00
d3aa78c39b Ananlytics: Initialize firebase properly 2020-04-22 22:39:06 +02:00
152a95d4e9 Record when an action is performed on a Note/Folder
This way I'll have statistics about how the app is used and more
importantly, figuring out crash reports will be easier as there will be
a rough trail of actions.
2020-04-22 01:31:48 +02:00
c0623d1c3c Sentry: Add error breadcrumbs
This way we will have some context as to why an error happened.
2020-04-22 01:31:32 +02:00
d511dab346 Abstract out the analytics class 2020-04-22 00:51:25 +02:00
69003cf0ac Rename package from journal -> gitjournal
It's about time.
2019-10-07 19:30:50 +02:00
94006c3d7d Analytics: Send an event for page changes
This is not perfect as we do not get an event for the first page.

https://github.com/flutter/flutter/issues/19249
2019-01-14 13:54:54 +01:00