Skip to content
Snippets Groups Projects

Resolve "Add missing snowplow tracking to primary navigation"

All threads resolved!

What does this MR do and why?

Fires structured snowplow events for actions which currently lack them. Specifically, this adds events to the main menu toggle button (the hamburger icon), and the focus state of the global search input.

Screenshots or screen recordings

after global search focus
focus
after global search blur and menu toggle
toggle

How to set up and validate locally

  1. Set up Snowplow tracking in your local GDK instance
  2. Install the Snowplow debugger Chrome extension
  3. Navigate to your local GDK and sign in
  4. Visit any page where the top navigation menu is visible
  5. Open the snowplow debugger panel
  6. Click on the navigation menu toggle and notice the click_nav event is firing with label hamburger_menu
  7. Click on the global search input and notice the focus_input event is fired with label global_search
  8. Click anywhere else to blur the field and notice the blur_input event is fired with label global_search

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #376712 (closed)

Edited by Mike Greiling

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Zack Cuddy
  • Zack Cuddy
  • Zack Cuddy
  • Zack Cuddy removed review request for @zcuddy

    removed review request for @zcuddy

  • Mike Greiling added 814 commits

    added 814 commits

    • a1179268...9c5b571a - 808 commits from branch master
    • 2468ec86 - Add snowplow event tracking to hamburger menu toggle
    • c047325c - Add test for tracking event in top nav toggle
    • cd59b55f - Add focus and blur events to the global search input
    • 3582bd52 - Update event name for primary menu toggle
    • 1ed67242 - Add tests for header search snowplow events
    • abc8cab9 - Prevent duplicate `focus` events on global search

    Compare with previous version

  • Mike Greiling added 51 commits

    added 51 commits

    • abc8cab9...d211ffb3 - 45 commits from branch master
    • f2e10fd7 - Add snowplow event tracking to hamburger menu toggle
    • 2f139519 - Add test for tracking event in top nav toggle
    • add651ee - Add focus and blur events to the global search input
    • f70ef8f0 - Update event name for primary menu toggle
    • 10fab58c - Add tests for header search snowplow events
    • fb5bcbaa - Prevent duplicate `focus` events on global search

    Compare with previous version

  • Mike Greiling added 59 commits

    added 59 commits

    • fb5bcbaa...c980eb97 - 52 commits from branch master
    • 27761dbf - Add snowplow event tracking to hamburger menu toggle
    • f337d8e4 - Add test for tracking event in top nav toggle
    • 930b8777 - Add focus and blur events to the global search input
    • c4068273 - Update event name for primary menu toggle
    • fefa68d4 - Add tests for header search snowplow events
    • 6a42ecbd - Prevent duplicate `focus` events on global search
    • 3db19f70 - Add test for isFocused state check and specify event data

    Compare with previous version

  • Mike Greiling added 1 commit

    added 1 commit

    • 59c0ec58 - Add specific event data to tracking test for hamburger toggle

    Compare with previous version

  • Mike Greiling requested review from @zcuddy

    requested review from @zcuddy

  • Zack Cuddy
  • Zack Cuddy resolved all threads

    resolved all threads

  • Zack Cuddy approved this merge request

    approved this merge request

  • :wave: @zcuddy, thanks for approving this merge request.

    This is the first time the merge request is approved. To ensure full test coverage, a new pipeline will be started shortly.

    For more info, please refer to the following links:

  • 🤖 GitLab Bot 🤖 added 1 deleted label

    added 1 deleted label

  • Zack Cuddy enabled an automatic merge when the pipeline for bdbc79c6 succeeds

    enabled an automatic merge when the pipeline for bdbc79c6 succeeds

  • merged

  • Zack Cuddy mentioned in commit 0ec72d35

    mentioned in commit 0ec72d35

  • added workflowstaging label and removed workflowcanary label

  • 🤖 GitLab Bot 🤖 added devopsmanage label and removed 1 deleted label

    added devopsmanage label and removed 1 deleted label

  • mentioned in issue #376712 (closed)

  • Please register or sign in to reply
    Loading