Commit b370cbd2 authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch '238222-default-boards-with-swimlanes-ff-to-true' into 'master'

Default boards_with_swimlanes feature flag to true

See merge request gitlab-org/gitlab!47036
parents 3ae7e96f 6553d9b1
...@@ -8,7 +8,7 @@ class Groups::BoardsController < Groups::ApplicationController ...@@ -8,7 +8,7 @@ class Groups::BoardsController < Groups::ApplicationController
before_action :assign_endpoint_vars before_action :assign_endpoint_vars
before_action do before_action do
push_frontend_feature_flag(:graphql_board_lists, group, default_enabled: false) push_frontend_feature_flag(:graphql_board_lists, group, default_enabled: false)
push_frontend_feature_flag(:boards_with_swimlanes, group, default_enabled: false) push_frontend_feature_flag(:boards_with_swimlanes, group, default_enabled: true)
end end
feature_category :boards feature_category :boards
......
...@@ -8,7 +8,7 @@ class Projects::BoardsController < Projects::ApplicationController ...@@ -8,7 +8,7 @@ class Projects::BoardsController < Projects::ApplicationController
before_action :authorize_read_board!, only: [:index, :show] before_action :authorize_read_board!, only: [:index, :show]
before_action :assign_endpoint_vars before_action :assign_endpoint_vars
before_action do before_action do
push_frontend_feature_flag(:boards_with_swimlanes, project, default_enabled: false) push_frontend_feature_flag(:boards_with_swimlanes, project, default_enabled: true)
end end
feature_category :boards feature_category :boards
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
= 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 }" }
- if Feature.enabled?(:boards_with_swimlanes, current_board_parent) || Feature.enabled?(:graphql_board_lists, current_board_parent) - if Feature.enabled?(:boards_with_swimlanes, current_board_parent, default_enabled: true) || Feature.enabled?(:graphql_board_lists, current_board_parent)
%board-content{ "v-cloak" => "true", %board-content{ "v-cloak" => "true",
"ref" => "board_content", "ref" => "board_content",
":lists" => "state.lists", ":lists" => "state.lists",
......
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
= render 'shared/issuable/board_create_list_dropdown', board: board = render 'shared/issuable/board_create_list_dropdown', board: board
- if @project - if @project
#js-add-issues-btn.gl-ml-3{ data: { can_admin_list: can?(current_user, :admin_list, @project) } } #js-add-issues-btn.gl-ml-3{ data: { can_admin_list: can?(current_user, :admin_list, @project) } }
- if current_user && Feature.enabled?(:boards_with_swimlanes, @group) - if current_user && Feature.enabled?(:boards_with_swimlanes, @group, default_enabled: true)
#js-board-epics-swimlanes-toggle #js-board-epics-swimlanes-toggle
#js-toggle-focus-btn #js-toggle-focus-btn
- elsif is_not_boards_modal_or_productivity_analytics && show_sorting_dropdown - elsif is_not_boards_modal_or_productivity_analytics && show_sorting_dropdown
......
--- ---
name: boards_with_swimlanes name: boards_with_swimlanes
introduced_by_url: introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/issues/218040
rollout_issue_url: rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/238222
milestone: milestone: 13.6
group: group::product planning
type: development type: development
group: group::project management default_enabled: true
default_enabled: false
...@@ -16,7 +16,7 @@ module Resolvers ...@@ -16,7 +16,7 @@ module Resolvers
def resolve(**args) def resolve(**args)
return Epic.none unless board.present? return Epic.none unless board.present?
return Epic.none unless group.present? return Epic.none unless group.present?
return unless ::Feature.enabled?(:boards_with_swimlanes, group) return unless ::Feature.enabled?(:boards_with_swimlanes, group, default_enabled: true)
context.scoped_set!(:board, board) context.scoped_set!(:board, board)
......
---
title: Epics Swimlanes for group and project issue boards
merge_request: 47036
author:
type: added
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