Skip to content

[Part 1] Add Vue Issuable sidebar feature flag & app bundle

Kushal Pandya requested to merge 31910-add-vue-sidebar-container into master

What does this MR do?

Background

This MR is a part of series of MRs related Right Sidebar refactor effort. Everything done in this MR is behind following group-level feature flags;

  • :vue_issuable_sidebar - This flag controls feature visibility on Issue and MR pages.
  • :vue_issuable_epic_sidebar - This flag controls feature visibility on Epic page.

You can enable feature flag locally for a specific group by running following commands;

# Open rails console

$ bin/rails console

# Enable feature flag

# replace path value with desired group path

> Feature.enable(:vue_issuable_sidebar, Group.find_by(path: 'gitlab-org'))

MR Summary

This MR adds feature flag for responsible controllers and adds bare-bones Vue Issuable Sidebar app under path app/assets/javascripts/issuable_sidebar which is initialized when feature flag is enabled (and it replaces older sidebar).

Screenshots

image

Conformity

Performance and Testing

#31910 (closed)

Merge request reports