-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add editor session startup time #11411
Conversation
a92f1ce
to
68c042b
Compare
Sorry for the force-push, I realized my |
You can test the changes on this Pull Request by downloading the APK here. |
@@ -2669,6 +2669,10 @@ private void onEditorFinalTouchesBeforeShowing() { | |||
|
|||
@Override | |||
public void onEditorFragmentContentReady(ArrayList<Object> unsupportedBlocksList) { | |||
// Note that this method is also used to track startup performance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
WordPress/src/main/java/org/wordpress/android/ui/posts/PostEditorAnalyticsSession.java
Show resolved
Hide resolved
We're freezing |
Thanks for taking care of that @koke - good job on your 2020 Android patch ;) |
Adds startup time to the
editor_session_start
event.Fixes wordpress-mobile/gutenberg-mobile#1988
iOS PR: wordpress-mobile/WordPress-iOS#13605
I do like one Android PR a year on average, so please let me know if there's a better way to do this 😅
To test:
Set a breakpoint or some extra logging on
AnalyticsTracker.track()
, and ensure thestartup_time_ms
gets added toeditor_session_start
and it reflects the actual startup time of the editor.PR submission checklist:
RELEASE-NOTES.txt
if necessary.