A common theme during Desktop Improvements (Vector 2022) we're often interested in user when behaviour inside resized windows/smaller windows.
- One example is the table of contents where the behaviour for desktop users will not be the same as for < 1000px.
- Another example is where we collapse certain items into the user menu .g. watchlist icon
TODO
- Check that legal team would be okay with us recording window width as categories e.g. 1000-1200px, 800-1000, <800
- Update DesktopWebUIClickTracking schema to have windowBucket field.
- Record this data in DesktopWebUIClickTracking
QA steps
Trigger a click event in the beta cluster. Inspect the network tab to see the request. Inside the request JSON there should be a field relating to a window width bucket.
Resize the window and check clicks have different buckets.
https://phabricator.wikimedia.org/T301391#7823760
https://phabricator.wikimedia.org/T301391#7823765
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T301391#7823760 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T301391#7823765 |
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T301391#7850276 |
Additional production QA steps
- Verify that events are being sent to production. To do this use hue.wikimedia.org/ and run query select * from event.desktopwebuiactionstracking where year = 2022 and month = 4 and day = 5 and event.name = 'ui.toc' and webhost = 'www.mediawiki.org' and event.viewportsizeBucket is not null