Commit c4468480 authored by Phil Hughes's avatar Phil Hughes

Merge branch '48942-rename-backlog-list-to-open-issue-boards' into 'master'

Change `Backlog` list title to `Open` in Issue Boards

Closes #48942

See merge request gitlab-org/gitlab-ce!21131
parents bbbcb914 046bc2bf
/* eslint-disable no-underscore-dangle, class-methods-use-this, consistent-return, no-shadow, no-param-reassign, max-len */ /* eslint-disable no-underscore-dangle, class-methods-use-this, consistent-return, no-shadow, no-param-reassign, max-len */
/* global ListIssue */ /* global ListIssue */
import { __ } from '~/locale';
import ListLabel from '~/vue_shared/models/label'; import ListLabel from '~/vue_shared/models/label';
import ListAssignee from '~/vue_shared/models/assignee'; import ListAssignee from '~/vue_shared/models/assignee';
import queryData from '../utils/query_data'; import queryData from '../utils/query_data';
...@@ -30,7 +31,7 @@ class List { ...@@ -30,7 +31,7 @@ class List {
this.id = obj.id; this.id = obj.id;
this._uid = this.guid(); this._uid = this.guid();
this.position = obj.position; this.position = obj.position;
this.title = obj.title; this.title = obj.list_type === 'backlog' ? __('Open') : obj.title;
this.type = obj.list_type; this.type = obj.list_type;
const typeInfo = this.getTypeInfo(this.type); const typeInfo = this.getTypeInfo(this.type);
......
---
title: Change 'Backlog' list title to 'Open' in Issue Boards
merge_request: 21131
author:
type: changed
...@@ -144,7 +144,7 @@ Example response: ...@@ -144,7 +144,7 @@ Example response:
## List board lists ## List board lists
Get a list of the board's lists. Get a list of the board's lists.
Does not include `backlog` and `closed` lists Does not include `open` and `closed` lists
``` ```
GET /projects/:id/boards/:board_id/lists GET /projects/:id/boards/:board_id/lists
......
...@@ -119,7 +119,7 @@ Example response: ...@@ -119,7 +119,7 @@ Example response:
## List board lists ## List board lists
Get a list of the board's lists. Get a list of the board's lists.
Does not include `backlog` and `closed` lists Does not include `open` and `closed` lists
``` ```
GET /groups/:id/boards/:board_id/lists GET /groups/:id/boards/:board_id/lists
......
doc/user/project/img/issue_board.png

98.3 KB | W: | H:

doc/user/project/img/issue_board.png

320 KB | W: | H:

doc/user/project/img/issue_board.png
doc/user/project/img/issue_board.png
doc/user/project/img/issue_board.png
doc/user/project/img/issue_board.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -119,10 +119,10 @@ Issue Board, that is, create or delete lists and drag issues from one list to an ...@@ -119,10 +119,10 @@ Issue Board, that is, create or delete lists and drag issues from one list to an
## Issue Board terminology ## Issue Board terminology
- **Issue Board** - Each board represents a unique view for your issues. It can have multiple lists with each list consisting of issues represented by cards. - **Issue Board** - Each board represents a unique view for your issues. It can have multiple lists with each list consisting of issues represented by cards.
- **List** - A column on the issue board that displays issues matching certain attributes. In addition to the default lists of 'Backlog' and 'Closed' issue, each additional list will show issues matching your chosen label or assignee. On the top of that list you can see the number of issues that belong to it. - **List** - A column on the issue board that displays issues matching certain attributes. In addition to the default lists of 'Open' and 'Closed' issue, each additional list will show issues matching your chosen label or assignee. On the top of that list you can see the number of issues that belong to it.
- **Label list**: a list based on a label. It shows all opened issues with that label. - **Label list**: a list based on a label. It shows all opened issues with that label.
- **Assignee list**: a list which includes all issues assigned to a user. - **Assignee list**: a list which includes all issues assigned to a user.
- **Backlog** (default): shows all open issues that do not belong to one of the other lists. Always appears as the leftmost list. - **Open** (default): shows all open issues that do not belong to one of the other lists. Always appears as the leftmost list.
- **Closed** (default): shows all closed issues. Always appears as the rightmost list. - **Closed** (default): shows all closed issues. Always appears as the rightmost list.
- **Card** - A box in the list that represents an individual issue. The information you can see on a card consists of the issue number, the issue title, the assignee, and the labels associated with the issue. You can drag cards from one list to another to change their label or assignee from that of the source list to that of the destination list. - **Card** - A box in the list that represents an individual issue. The information you can see on a card consists of the issue number, the issue title, the assignee, and the labels associated with the issue. You can drag cards from one list to another to change their label or assignee from that of the source list to that of the destination list.
...@@ -353,9 +353,9 @@ To remove an assignee list, just as with a label list, click the trash icon. ...@@ -353,9 +353,9 @@ To remove an assignee list, just as with a label list, click the trash icon.
When dragging issues between lists, different behavior occurs depending on the source list and the target list. When dragging issues between lists, different behavior occurs depending on the source list and the target list.
| | To Backlog | To Closed | To label `B` list | To assignee `Bob` list | | | To Open | To Closed | To label `B` list | To assignee `Bob` list |
| --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- |
| From Backlog | - | Issue closed | `B` added | `Bob` assigned | | From Open | - | Issue closed | `B` added | `Bob` assigned |
| From Closed | Issue reopened | - | Issue reopened<br/>`B` added | Issue reopened<br/>`Bob` assigned | | From Closed | Issue reopened | - | Issue reopened<br/>`B` added | Issue reopened<br/>`Bob` assigned |
| From label `A` list | `A` removed | Issue closed | `A` removed<br/>`B` added | `Bob` assigned | | From label `A` list | `A` removed | Issue closed | `A` removed<br/>`B` added | `Bob` assigned |
| From assignee `Alice` list | `Alice` unassigned | Issue closed | `B` added | `Alice` unassigned<br/>`Bob` assigned | | From assignee `Alice` list | `Alice` unassigned | Issue closed | `B` added | `Alice` unassigned<br/>`Bob` assigned |
......
...@@ -3854,6 +3854,9 @@ msgstr "" ...@@ -3854,6 +3854,9 @@ msgstr ""
msgid "Oops, are you sure?" msgid "Oops, are you sure?"
msgstr "" msgstr ""
msgid "Open"
msgstr ""
msgid "Open in Xcode" msgid "Open in Xcode"
msgstr "" msgstr ""
......
...@@ -44,7 +44,7 @@ describe 'Issue Boards', :js do ...@@ -44,7 +44,7 @@ describe 'Issue Boards', :js do
end end
it 'creates default lists' do it 'creates default lists' do
lists = ['Backlog', 'To Do', 'Doing', 'Closed'] lists = ['Open', 'To Do', 'Doing', 'Closed']
page.within(find('.board-blank-state')) do page.within(find('.board-blank-state')) do
click_button('Add default lists') click_button('Add default lists')
......
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