Skip to content

User Profile - Convert Snippets to Vue

Zack Cuddy requested to merge 378685-vue-user-profile-snippets into master

What does this MR do and why?

Part 2 / 2 for #378685 (closed)
Previous MR !121051 (merged)

The goal of this change is to make progress towards converting the User Profile into Vue from the current HAML implementation.

This change is behind the feature flag Feature.enable(:profile_tabs_vue)

Screenshots or screen recordings

Before (w/o Feature Flag) After (w/ Feature Flag)
Profile Snippets Before_-_Snippets After_-_Snippets
Pagination Before_-_Pagination After_-_Pagination
Comments and Files Before After
Empty State Before_-_Empty_State After_-_Empty_State

How to set up and validate locally

Important: This implementation does not currently work with the new Sidebar Nav! Please use the legacy nav and see #389842 for more info

  1. Enable the feature flag Feature.enable(:profile_tabs_vue)
  2. Checkout this branch
  3. Disable New sidebar navigation
  4. Head over to your user profile by clicking your icon in the top right of top nav
  5. Go to snippets tab
  6. Ensure the snippets still work as expected (you can test by comparing experience to gitlab.com

MR acceptance checklist

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

Related to #378685 (closed)

Edited by Zack Cuddy

Merge request reports

Loading