Track browser performance widget expansions
What does this MR do?
For more context, see #224603 (closed)
This MR adds a new usage ping event (i_testing_web_performance_widget_total
) that tracks the number of unique users per instance that expand the browser performance MR widget.
Per the Usage Ping Guide, this MR adds a new feature flag (usage_data_i_testing_web_performance_widget_total
) which is enabled by default, and the event is only tracked when the feature flag is enabled.
Rather than adding specs for this to the already-too-large ee_mr_widget_options_spec.js
, I made the browser performance MR widget into its own component and added the spec there. This way, we can start moving the browser performance logic into the component and moving the related specs into a dedicated file.
Screenshots
Event tracking request from the network panel (gdk):
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done