• Francisco Javier López's avatar
    Instrumenting project sidebar menus · 6e4caf1f
    Francisco Javier López authored
    In this commit, we're adding some tracking attributes
    to the project sidebar. This way we can track the state of
    menus and menu items when they're clicked.
    
    In order to trigger the tracking, the menus and menu items
    must have the `data-track-label` attribute. Based on that
    attr and also the context of the sidebar, we calculate
    the other tracking attributes.
    
    Changelog: added
    6e4caf1f
sidebar_tracking_spec.js 5.58 KB