Background
Around Oct 2021, changes were made to Vector's menu HTML to better support icons. The introduction of a wrapper span element introduced a bug to our event logging, where clicks on menu item text would not log an event.
Clicks to the areas surrounded by the red dotted line would not log an event
This has impacted our data for clicks on menu items, most notably to the user links menu items, and the sticky header user links menu items.
QA steps
- Trigger a click event on one of of the user menu items in the beta cluster by clicking on the text of the label. Inspect the network tab to check a request to events is made.
- Trigger a click event in the beta cluster by clicking outside the text of the label.
- Trigger a click event in the beta cluster by clicking on the icon inside the menu item
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T304366#7823773 |
2 | ✅ | T304366#7823773 |
3 | ✅ | T304366#7823773 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T304366#7823776 |
2 | ✅ | T304366#7823776 |
3 | ✅ | T304366#7823776 |