Skip to content

Move 'Activity' user profile navigation from tabs to the sidebar

Shane Maglangit requested to merge 497486-move-acitvity-tabs-to-sidebar into master

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
image image
image image
image

How to set up and validate locally

  1. In rails console enable the profile_tabs_vue flag.
    Feature.enable(:profile_tabs_vue)
  2. Visit a user's profile page (e.g. http://localhost:3000/root)
  3. Assert: The Activity tab should be removed.
  4. Navigate to the Activity page using the sidebar menu.
  5. 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

Merge request reports

Loading