27 Commits

Author SHA1 Message Date
e3e513ef65 Log device info
This way it's easier to debug user's issues
2021-02-04 10:51:29 +01:00
05aca7a013 Logs: Output the version number
This ways it's easier to understand logs sent by users
2021-02-04 10:36:38 +01:00
63cc668db2 Improve log messages
* Remove one annoying one
* Event is an enum and prints a 'Event.'
2020-11-09 11:35:46 +01:00
0d22fa76c4 isolate firebase analytics code to one file
This way it'll be easier to remove in the future
2020-11-09 11:16:21 +01:00
1dd1366774 Analytics - use 'Unknown' when screen name is empty
Instead of reporting this to Sentry. This seems to be rather common.
2020-10-09 10:55:52 +02:00
27cad98937 Send app_update in analytics
I'm calling this event gj_app_update as firebase automatically sends an
app_update event. This is being done so that I can easily remove
firebase analytics in the future.
2020-09-30 11:27:27 +02:00
da459c65e3 NNBD: try fixing some of the errors 2020-09-13 20:52:16 +02:00
60b2478a29 Log search page in analytics 2020-09-07 17:14:25 +02:00
01a436d182 Replace FirebaseAnalyticsObserver with our own
This way we have the screen names in the debug log and diagnosing issues
becomes easier. Also, this brings me closer to being able to drop
Firebase Analytics.
2020-09-04 08:41:38 +02:00
d11c9e076d Feature Timline: Track when the user clicks on the link 2020-08-31 10:16:22 +02:00
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