Resolve "Instrument left sidebar for tracking"
What does this MR do?
In this MR, we're adding instrumentation when clicking on menus and menu items. These events will be recorded in Snowplow.
The data we're adding is:
- the menu label
- the menu action (
click_menu
andclick_menu_item
) - Some menu extra attributes:
- if the sidebar is collapsed or expanded
- if the menu is expanded or
fly out
Does this MR meet the acceptance criteria?
Conformity
-
I have included a changelog entry, or it's not needed. (Does this MR need a changelog?) -
I have properly separated EE content from FOSS, or this MR is FOSS only. (Where should EE code go?) -
I have self-reviewed this MR per code review guidelines. -
This MR does not harm performance, or I have asked a reviewer to help assess the performance impact. (Merge request performance guidelines) -
I have followed the style guides.
Related to #329238 (closed)
Edited by Francisco Javier López (ex-Gitlab)