Commit 5b2bdf4a authored by Simon Knox's avatar Simon Knox

Merge branch 'epic-boards/clean-up' into 'master'

Prevent loading of legacy sidebar on epic and graphQL boards

See merge request gitlab-org/gitlab!63712
parents 3820b1ec 65bdcf16
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
- @no_container = true - @no_container = true
- @content_wrapper_class = "#{@content_wrapper_class} gl-relative" - @content_wrapper_class = "#{@content_wrapper_class} gl-relative"
- @content_class = "issue-boards-content js-focus-mode-board" - @content_class = "issue-boards-content js-focus-mode-board"
- if board.to_type == "EpicBoard" - is_epic_board = board.to_type == "EpicBoard"
- if is_epic_board
- breadcrumb_title _("Epic Boards") - breadcrumb_title _("Epic Boards")
- else - else
- breadcrumb_title _("Issue Boards") - breadcrumb_title _("Issue Boards")
...@@ -19,5 +20,6 @@ ...@@ -19,5 +20,6 @@
= render 'shared/issuable/search_bar', type: :boards, board: board = render 'shared/issuable/search_bar', type: :boards, board: board
#board-app.boards-app.position-relative{ "v-cloak" => "true", data: board_data, ":class" => "{ 'is-compact': detailIssueVisible }" } #board-app.boards-app.position-relative{ "v-cloak" => "true", data: board_data, ":class" => "{ 'is-compact': detailIssueVisible }" }
%board-content{ ":lists" => "state.lists", ":disabled" => "disabled" } %board-content{ ":lists" => "state.lists", ":disabled" => "disabled" }
= render "shared/boards/components/sidebar", group: group - if !is_epic_board && !Feature.enabled?(:graphql_board_lists, default_enabled: :yaml)
= render "shared/boards/components/sidebar", group: group
%board-settings-sidebar %board-settings-sidebar
...@@ -9,7 +9,6 @@ import { mapActions, mapState } from 'vuex'; ...@@ -9,7 +9,6 @@ import { mapActions, mapState } from 'vuex';
import initFilteredSearch from 'ee/boards/epic_filtered_search'; import initFilteredSearch from 'ee/boards/epic_filtered_search';
import { fullEpicBoardId, transformBoardConfig } from 'ee_component/boards/boards_util'; import { fullEpicBoardId, transformBoardConfig } from 'ee_component/boards/boards_util';
import BoardSidebar from 'ee_component/boards/components/board_sidebar';
import toggleLabels from 'ee_component/boards/toggle_labels'; import toggleLabels from 'ee_component/boards/toggle_labels';
import BoardAddNewColumnTrigger from '~/boards/components/board_add_new_column_trigger.vue'; import BoardAddNewColumnTrigger from '~/boards/components/board_add_new_column_trigger.vue';
...@@ -63,7 +62,6 @@ export default () => { ...@@ -63,7 +62,6 @@ export default () => {
el: $boardApp, el: $boardApp,
components: { components: {
BoardContent, BoardContent,
BoardSidebar,
BoardSettingsSidebar: () => import('~/boards/components/board_settings_sidebar.vue'), BoardSettingsSidebar: () => import('~/boards/components/board_settings_sidebar.vue'),
}, },
provide: { provide: {
......
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