Hide legacy sidebar menu items on the profile page when `profile_tabs_vue` flag is enabled
In the effort to move profile tabs into the sidebar (https://gitlab.com/gitlab-org/gitlab/-/issues/389842), we should first remove the menu items that's linked to the old profile pages.
# Implementation Guide
1. Prevent legacy menu items from getting added to the UserProfile Panel https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/sidebars/user_profile/panel.rb#L28-38 when the `profile_tabs_vue` flag is enabled.
Note: Exclude `Sidebars::UserProfile::Menus::OverviewMenu.new(context)` from this change as its the temporary starting point for the page with Profile Tabs.
task