GitLab Upgrade Alert - Non-Dismissible Alert for Admins
What / Why
Split off from #344682 (closed)
We want to further emphasize to Admins that their GitLab instance is behind a severe security patch. Pushing our customers to upgrade helps them stay safe and inline with the more recent features of GitLab.
We have a Version Check endpoint (/admin/version_check.json
) that currently powers the GitLab Version Badge that is shown to Admins to visualize the version health of their Instance. This change is ready to take that one step farther and show a non-dismissible GlAert
to the user when there is a Security Patch available to them.
Designs
See attached screenshots
Snowplow Analytics
Tracking upgrade metrics is very important to this initiative. We should track the follow events:
- Render
- Learn more link click
- Upgrade now link click
Proposal
- Extend the version check application to share the API call for the version check
- Along with the Version Check badge also show a
GlAlert
when the upgrade includes a security patch - Add snowplow tracking as described above