Move 'Activity' user profile navigation from tabs to the sidebar
What does this MR do and why?
- Refactor the "activity" tab it into a page under the user profile's vue router.
- Adds the menu item in the sidebar for navigation.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- In rails console enable the
profile_tabs_vue
flag.Feature.enable(:profile_tabs_vue)
- Visit a user's profile page (e.g. http://localhost:3000/root)
-
Assert: The
Activity
tab should be removed. - Navigate to the
Activity
page using the sidebar menu. -
Assert: Should be redirected to
/users/<name>/activity
and/router_views/activity.vue
should be the rendered content.
Related to #497486
Edited by Shane Maglangit