Skip to content

Introduced snippet_title component

Denys Mishunov requested to merge 34820-snippets-title-vue into master

What does this MR do?

MR 4/6 in the plan for #34820 (closed). Hence this should not close original issue (though merging in master should happen) as the development happens behind the feature flag

The MR refactors snippet view's title (Title + Description + Edited information) component into Vue with support for GraphQL and Apollo.

Screenshots

Before After
Screenshot_2019-12-17_at_16.37.59 Screenshot_2019-12-17_at_16.37.24

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

  1. Enable the snippets_vue feature flag in Rails console (rails c):
Feature.enable(:snippets_vue)
  1. Navigate to any snippet. Only the header (the component in question for this MR) will be rendered. The component will be implemented in Vue rather than in HAML

Relates to #34820 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports