[2023-01-26]: Issue Add Modal on Projects (#33991)

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Vanessa <vgrl@github.com>
This commit is contained in:
Steve Guntrip 2023-01-26 17:13:51 +00:00 коммит произвёл GitHub
Родитель 819f10f1a2
Коммит ba0045b0fa
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
15 изменённых файлов: 67 добавлений и 4 удалений

Двоичные данные
assets/images/help/projects-v2/add-bulk-menu-item-draft-option.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.0 KiB

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 7.0 KiB

После

Ширина:  |  Высота:  |  Размер: 7.2 KiB

Двоичные данные
assets/images/help/projects-v2/add-issue-menu-item.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 8.2 KiB

Двоичные данные
assets/images/help/projects-v2/issue-modal-create.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 6.3 KiB

Двоичные данные
assets/images/help/projects-v2/issue-modal-description.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 18 KiB

Двоичные данные
assets/images/help/projects-v2/issue-modal-menus.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 13 KiB

Двоичные данные
assets/images/help/projects-v2/issue-modal-more.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 6.3 KiB

Двоичные данные
assets/images/help/projects-v2/issue-modal-repo.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 12 KiB

Двоичные данные
assets/images/help/projects-v2/issue-modal-title.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 13 KiB

Просмотреть файл

@ -20,7 +20,7 @@ You can use {% data variables.product.prodname_projects_v2 %} to manage your wor
Breaking a large issue into smaller issues makes the work more manageable and enables team members to work in parallel. It also leads to smaller pull requests, which are easier to review.
To track how smaller issues fit into the larger goal, use task lists, milestones, or labels. For more information, see "[About task lists](/issues/tracking-your-work-with-issues/creating-issues/about-task-lists)", "[About milestones](/issues/using-labels-and-milestones-to-track-work/about-milestones)", and "[Managing labels](/issues/using-labels-and-milestones-to-track-work/managing-labels)."
To track how smaller issues fit into the larger goal, use task lists, milestones, or labels. For more information, see {% ifversion projects-v2-tasklists %}"[About Tasklists](/issues/tracking-your-work-with-issues/about-tasklists)"{% else %}"[About task lists](/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists)"{% endif %}, "[About milestones](/issues/using-labels-and-milestones-to-track-work/about-milestones)", and "[Managing labels](/issues/using-labels-and-milestones-to-track-work/managing-labels)."
## Communicate

Просмотреть файл

@ -67,7 +67,7 @@ You can add multiple issues and pull requests from your project and use filters,
1. In the bottom row of the project, click {% octicon "plus" aria-label="plus icon" %}.
![Screenshot showing + button at the bottom of the project](/assets/images/help/projects-v2/omnibar-add.png)
1. Click **Add item from repository**.
![Screenshot showing "add item from repository" menu item](/assets/images/help/projects-v2/add-bulk-menu-item.png)
{% ifversion projects-v2-create-issue-modal %}![Screenshot showing "add item from repository" menu item](/assets/images/help/projects-v2/add-bulk-menu-item.png){% else %}![Screenshot showing "add item from repository" menu item](/assets/images/help/projects-v2/add-bulk-menu-item-draft-option.png){% endif %}
{% data reusables.projects.bulk-add %}
#### Adding multiple issues or pull requests from a repository
@ -105,6 +105,16 @@ You can use the command palette when viewing your project to quickly add items.
1. Start typing "Add items" and press <kbd>Return</kbd>.
{% data reusables.projects.bulk-add %}
{% ifversion projects-v2-create-issue-modal %}
### Creating issues
{% data reusables.projects.about-issue-modal %}
{% data reusables.projects.create-issue-modal %}
{% endif %}
### Creating draft issues
Draft issues are useful to quickly capture ideas. Unlike issues and pull requests that are referenced from your repositories, draft issues exist only in your project.

Просмотреть файл

@ -117,9 +117,24 @@ When you create an issue from a discussion, the contents of the discussion post
{% endif %}
## Creating an issue from a project board note
{% ifversion projects-v2-create-issue-modal %}
If you're using a project board to track and prioritize your work, you can convert project board notes to issues. For more information, see "[About project boards](/github/managing-your-work-on-github/about-project-boards)" and "[Adding notes to a project board](/github/managing-your-work-on-github/adding-notes-to-a-project-board#converting-a-note-to-an-issue)."
## Creating an issue from a project
{% data reusables.projects.about-issue-modal %} For more information about Projects, see "[About Projects](/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)."
1. Navigate to your project.
{% data reusables.projects.create-issue-modal %}
{% endif %}
{% ifversion projects-v1 %}
## Creating an issue from a {% data variables.projects.projects_v1_board %} note
If you're using a {% data variables.projects.projects_v1_board %} to track and prioritize your work, you can convert notes to issues. For more information, see "[About {% data variables.product.prodname_projects_v1 %}](/github/managing-your-work-on-github/about-project-boards)" and "[Adding notes to a {% data variables.projects.projects_v1_board %}](/github/managing-your-work-on-github/adding-notes-to-a-project-board#converting-a-note-to-an-issue)."
{% endif %}
{% ifversion fpt or ghec %}

Просмотреть файл

@ -0,0 +1,6 @@
# Issue 9065
# Create issue modal via project
versions:
fpt: '*'
ghec: '*'
ghes: '>=3.9'

Просмотреть файл

@ -0,0 +1 @@
You can quickly create issues without leaving your project. When using a view that is grouped by a field, creating an issue in that group will automatically set the new issue's field to the group's value. For example, if you group your view by "Status", when you create an issue in the "Todo" group, the new issue's "Status" will automatically be set to "Todo."

Просмотреть файл

@ -0,0 +1,31 @@
1. At the bottom of a table, group of items, or a column in board layout, click {% octicon "plus" aria-label="plus icon" %}.
![Screenshot showing + button at the bottom of the project](/assets/images/help/projects-v2/omnibar-add.png)
1. Click **Create new issue**.
![Screenshot showing "Create new issue" menu item](/assets/images/help/projects-v2/add-issue-menu-item.png)
1. At the top of the "Create new issue" dialog, select the repository where you want the new issue to be created.
![Screenshot showing the repository dropdown menu](/assets/images/help/projects-v2/issue-modal-repo.png)
1. Below the repository dropdown, type a title for the new issue.
![Screenshot showing the issue title field](/assets/images/help/projects-v2/issue-modal-title.png)
1. Optionally, use the fields below the title field to set assignees, labels, and milestones, and add the new issue to other projects.
![Screenshot showing the assignee, label, project, and milestone options](/assets/images/help/projects-v2/issue-modal-menus.png)
1. Optionally, type a description for your issue.
![Screenshot showing the description field](/assets/images/help/projects-v2/issue-modal-description.png)
1. Optionally, if you want to create more issues, select **Create more** and the dialog will reopen when you create your issue.
![Screenshot showing the create more checkbox](/assets/images/help/projects-v2/issue-modal-more.png)
1. Click **Create**.
![Screenshot showing the create button](/assets/images/help/projects-v2/issue-modal-create.png)