[Engineering] What's New - Alert Users to New Updates and Track if an Update has been Viewed
Overview
As part of our work for What's New, we want to dispay a visual indicator when an update is new and have the ability to know if a user has seen it so we can remove the indicator.
Given/When/Then
-
GIVEN: A user is enabled to see What's New updates
WHEN: There is a new set of updates available
THEN: The user will see an indicator on the question mark menu (same indicator regardless of the number of updates) -
WHEN: The user selects the question mark menu
THEN: They will see the number of What's New updates listed to the right of the "See what's new at GitLab" link (ex: "3" if there are 3 new updates since they last engaged with What's New) -
WHEN: The user selects "See what's new at GitLab" and opens the drawer to display the updates
THEN: The number indicator and question mark indicator should be cleared and no longer display until there are subsequent updates
Notes
- We do not need to track which updates the user has actually seen in their viewport. For example, if there are 5 updates but the user only actually sees 3 of them because they are on mobile then we don't need to change the number from 5 to 2.
- Tracking should be at the user level, not group/instance
**Additional info: **
Demo video from @timnoah: https://www.loom.com/share/9638e5e8aaca4113a7a779593278b6f8