Commit 9de94ac9 authored by Florie Guibert's avatar Florie Guibert

Use labels widget on epic board and mr sidebar

Review feedback
parent 5b721c53
......@@ -341,7 +341,6 @@ export default {
:labels-create-title="labelsCreateTitle"
:selected-labels="issuableLabels"
:variant="variant"
:issuable-type="issuableType"
:is-visible="edit"
:full-path="fullPath"
:workspace-type="workspaceType"
......@@ -364,7 +363,6 @@ export default {
:labels-create-title="labelsCreateTitle"
:selected-labels="issuableLabels"
:variant="variant"
:issuable-type="issuableType"
:full-path="fullPath"
:workspace-type="workspaceType"
:attr-workspace-path="attrWorkspacePath"
......
......@@ -472,7 +472,7 @@
}
.show.dropdown .dropdown-menu {
width: 100%;
@include gl-w-full;
}
}
......
......@@ -42,7 +42,7 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
push_frontend_feature_flag(:restructured_mr_widget, project, default_enabled: :yaml)
push_frontend_feature_flag(:mr_changes_fluid_layout, project, default_enabled: :yaml)
push_frontend_feature_flag(:mr_attention_requests, project, default_enabled: :yaml)
push_frontend_feature_flag(:labels_widget, @project, default_enabled: :yaml)
push_frontend_feature_flag(:labels_widget, project, default_enabled: :yaml)
# Usage data feature flags
push_frontend_feature_flag(:users_expanding_widgets_usage_data, @project, default_enabled: :yaml)
......
......@@ -33,6 +33,19 @@ RSpec.describe BoardsHelper do
end
end
describe '#build_issue_link_base' do
context 'when epic board' do
let_it_be(:epic_board) { create(:epic_board, group: group) }
it 'generates the correct url' do
assign(:board, epic_board)
assign(:group, group)
expect(helper.build_issue_link_base).to eq "/groups/#{group.full_path}/-/epics"
end
end
end
describe '#board_base_url' do
context 'when epic board' do
let_it_be(:epic_board) { create(:epic_board, group: group) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment