-
Notifications
You must be signed in to change notification settings - Fork 338
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 selection analytics for NetworkScreen #3360
Conversation
|
||
void _initTabController() { | ||
_tabController?.removeListener(_onTabChanged); | ||
_tabController?.dispose(); |
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.
I imagine we want to start tracking analytics on other cases we have tabs in DevTools. Would it make sense to define a AnalyticsTabController that handles logging the tab name each time a different tab is selected?
Seem annoying to have to change from a stateless to stateful widget just to make tabs work with our analytics.
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.
Done - Added AnalyticsTabbedView that handles sending tab switches to analytics.
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.
Work towards #3270.
This PR tracks selections for the network profiler controls (pause, resume, clear) as well as for tab changes on the request inspector to understand usage of the different request inspector views.