Commit f923cc7a authored by Simon Knox's avatar Simon Knox

Merge branch '276444-default-vue_issue_header-feature-flag-to-on' into 'master'

Default `vue_issue_header` feature flag to on

See merge request gitlab-org/gitlab!47690
parents 6b65ecb2 022cf2b4
...@@ -44,7 +44,7 @@ class Projects::IssuesController < Projects::ApplicationController ...@@ -44,7 +44,7 @@ class Projects::IssuesController < Projects::ApplicationController
push_frontend_feature_flag(:vue_issuable_sidebar, project.group) push_frontend_feature_flag(:vue_issuable_sidebar, project.group)
push_frontend_feature_flag(:tribute_autocomplete, @project) push_frontend_feature_flag(:tribute_autocomplete, @project)
push_frontend_feature_flag(:vue_issuables_list, project) push_frontend_feature_flag(:vue_issuables_list, project)
push_frontend_feature_flag(:vue_issue_header, @project) push_frontend_feature_flag(:vue_issue_header, @project, default_enabled: true)
end end
before_action only: :show do before_action only: :show do
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
%a.btn.gl-button.btn-default.float-right.gl-display-block.d-sm-none.gutter-toggle.issuable-gutter-toggle.js-sidebar-toggle{ href: "#" } %a.btn.gl-button.btn-default.float-right.gl-display-block.d-sm-none.gutter-toggle.issuable-gutter-toggle.js-sidebar-toggle{ href: "#" }
= sprite_icon('chevron-double-lg-left') = sprite_icon('chevron-double-lg-left')
- if Feature.enabled?(:vue_issue_header, @project) - if Feature.enabled?(:vue_issue_header, @project, default_enabled: true)
.js-issue-header-actions{ data: issue_header_actions_data(@project, issuable, current_user) } .js-issue-header-actions{ data: issue_header_actions_data(@project, issuable, current_user) }
- else - else
.detail-page-header-actions.js-issuable-actions.js-issuable-buttons{ data: { "action": "close-reopen" } } .detail-page-header-actions.js-issuable-actions.js-issuable-buttons{ data: { "action": "close-reopen" } }
......
---
title: Convert issue header actions to an ellipsis dropdown menu
merge_request: 47690
author:
type: added
--- ---
name: vue_issue_header name: vue_issue_header
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/44440 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/44440
rollout_issue_url: rollout_issue_url:
milestone: '13.6' milestone: '13.6'
type: development type: development
group: group::project management group: group::project management
default_enabled: false default_enabled: true
...@@ -18,7 +18,7 @@ You can find all the information for that issue on one screen. ...@@ -18,7 +18,7 @@ You can find all the information for that issue on one screen.
![Issue view](img/issues_main_view_numbered.png) ![Issue view](img/issues_main_view_numbered.png)
- **1.** [New Issue, close issue (reopen issue, report issue)](#new-issue-close-issue-reopen-issue-report-issue) - **1.** [Issue actions](#issue-actions)
- **2.** [To Do](#to-do) - **2.** [To Do](#to-do)
- **3.** [Assignee](#assignee) - **3.** [Assignee](#assignee)
- **3.1.** [Multiple Assignees **(STARTER)**](#multiple-assignees) - **3.1.** [Multiple Assignees **(STARTER)**](#multiple-assignees)
...@@ -55,22 +55,21 @@ Many of the elements of the issue screen refresh automatically, such as the titl ...@@ -55,22 +55,21 @@ Many of the elements of the issue screen refresh automatically, such as the titl
description, when they are changed by another user. Comments and system notes also description, when they are changed by another user. Comments and system notes also
update automatically in response to various actions and content updates. update automatically in response to various actions and content updates.
### New Issue, close issue (reopen issue, report issue) ### Issue actions
Clicking on **New issue** will open a new window to create a new issue in the same project. In an open issue, you can close it by selecting the **Close issue** button.
Clicking on **Close issue** will close this issue, but it will not be deleted. If the The issue is marked as closed but is not deleted.
issue is already closed, you can still access it and the button will show **Reopen issue**, as shown below,
which you can click to reopen the issue. A reopened issue is no different from any
other issue.
![Reopen Issue](img/reopen-issue.png) To reopen a closed issue, select the **Reopen issue** button.
A reopened issue is no different from any other open issue.
If you do not have rights to modify the issue, the **close issue** button will be To access additional actions, select the vertical ellipsis
replaced with **report issue**, which you can click to [submit an abuse report](../../abuse_reports.md) (**{ellipsis_v}**) button:
about the issue. It will also appear if you have rights to modify the issue, but only
after it is closed.
![Report Abuse](img/report-abuse.png) - To create a new issue in the same project, select **New issue** in the dropdown menu.
- If you are not the issue author, you can [submit an abuse report](../../abuse_reports.md).
Select **Report abuse** in the dropdown menu.
### To Do ### To Do
......
...@@ -28,10 +28,10 @@ There are many ways to get to the New Issue form from within a project: ...@@ -28,10 +28,10 @@ There are many ways to get to the New Issue form from within a project:
![New issue from the issue list view](img/new_issue_from_tracker_list.png) ![New issue from the issue list view](img/new_issue_from_tracker_list.png)
- From an **opened issue** in your project, click **New Issue** to create a new - From an **open issue** in your project, click the vertical ellipsis (**{ellipsis_v}**) button
issue in the same project: to open a dropdown menu, and then click **New Issue** to create a new issue in the same project:
![New issue from an open issue](img/new_issue_from_open_issue.png) ![New issue from an open issue](img/new_issue_from_open_issue_v13_6.png)
- From your **Project's Dashboard**, click the plus sign (**+**) to open a dropdown - From your **Project's Dashboard**, click the plus sign (**+**) to open a dropdown
menu with a few options. Select **New Issue** to create an issue in that project: menu with a few options. Select **New Issue** to create an issue in that project:
...@@ -178,7 +178,7 @@ end; nil ...@@ -178,7 +178,7 @@ end; nil
When you decide that an issue is resolved, or no longer needed, you can close the issue When you decide that an issue is resolved, or no longer needed, you can close the issue
using the close button: using the close button:
![close issue - button](img/button_close_issue.png) ![close issue - button](img/button_close_issue_v13_6.png)
You can also close an issue from the [Issue Boards](../issue_board.md) by dragging an issue card You can also close an issue from the [Issue Boards](../issue_board.md) by dragging an issue card
from its list and dropping it into the **Closed** list. from its list and dropping it into the **Closed** list.
......
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