Provide a way to opt in to the navigation alpha and beta

Problem to solve

As we work to implement the navigation redesign, we need to provide a means for users to opt in to this experience in order to use it and provide feedback (feedback mechanism may be a separate issue).

Intended users

Proposal

  • Add a Toggle switch in User Profile Menu - see Design Management
  • Toggle opts-in to the Navigation Alpha (non-supported and will be broken)
  • Once feature-complete, we begin Navigation Beta (non-supported and beta testing).
    • For some, the toggle will be disabled, they will receive the Current OR Beta navigation UI and participate in tests.

Documentation

  • Add page in GitLab Docs for switching to North Star opt-in @rdickenson
    • Note that if beta's are running it may not be available

Data

  • Determine how we'll track clicks in both states (Old nav vs North Star) @mikegreiling @thutterer

  • Determine how we can query for all users who have this setting turned on @thutterer

    UserPreference.where(use_new_navigation: true).count

Testing

What does success look like, and how can we measure that?

  • We can detect who has the opt-in switched on in the data
  • We can seamlessly switch between both states and are able to have the events update accordingly

Implementation Guide

Resources

Tasks

  • Include a toggle within the User menu to turn on/off the navigation redesign
  • Clicking any portion of the dropdown option updates the toggle (user doesn't have to click specifically on the toggle element)
Edited by Nick Brandt