Skip to content

Remove legacy header code

Lukas Eipert requested to merge leipert-remove-legacy-header-js into master

What does this MR do and why?

Remove legacy tracking for "buy minutes" link

The legacy buy minutes link isn't used any longer. The new one has tracking enabled as well. So this part of the code can be deleted.

See also: https://gitlab.com/gitlab-org/gitlab/-/blob/ea882a427be6a45857664ceb73e88ed83936f2a6/app/assets/javascripts/super_sidebar/components/user_menu.vue#L105-116

Remove old todo counter logic

The legacy sidebar used to update todo counts by manipulating the DOM directly. As we do not use the sidebar any longer, we can remove this code. The new sidebar still has this functionality, see: app/assets/javascripts/super_sidebar/user_counts_manager.js

Screenshots or screen recordings

N/A

How to set up and validate locally

N/A

MR acceptance checklist

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

Merge request reports

Loading