Skip to content

Commit 6808a60

Browse files
authored
Merge pull request github#6105 from github/repo-sync
repo sync
2 parents fbed540 + bcb35ef commit 6808a60

File tree

18 files changed

+179
-63
lines changed

18 files changed

+179
-63
lines changed
Loading
128 KB
Loading
Loading
Loading
Loading

content/discussions/collaborating-with-your-community-using-discussions/participating-in-a-discussion.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ versions:
1212

1313
{% data reusables.discussions.about-discussions %} For more information, see "[About discussions](/discussions/collaborating-with-your-community-using-discussions/about-discussions)."
1414

15-
In addition to starting or viewing a discussion, you can comment in response to the original comment from the author of the discussion. You can also create a comment thread by replying to an individual comment that another community member made within the discussion, and react to comments with emoji. For more information about reactions, see "[About conversations on {% data variables.product.prodname_dotcom %}](/github/collaborating-with-issues-and-pull-requests/about-conversations-on-github#reacting-to-ideas-in-comments)."
15+
In addition to starting or viewing a discussion, you can comment in response to the original comment from the author of the discussion. You can also create a comment thread by replying to an individual comment that another community member made within the discussion, and react to comments with emoji.
1616

1717
You can block users and report disruptive content to maintain a safe and pleasant environment for yourself on {% data variables.product.product_name %}. For more information, see "[Maintaining your safety on {% data variables.product.prodname_dotcom %}](/communities/maintaining-your-safety-on-github)."
1818

content/github/collaborating-with-issues-and-pull-requests/about-conversations-on-github.md

-49
This file was deleted.

content/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To reply to an existing line comment, you'll need to navigate to the comment on
3636

3737
**Tips:**
3838
- Pull request comments support the same [formatting](/categories/writing-on-github) as regular comments on {% data variables.product.product_name %}, such as @mentions, emoji, and references.
39-
- You can [add reactions](/articles/about-conversations-on-github#reacting-to-ideas-in-comments) to comments in pull requests in the **Files changed** tab.
39+
- You can add reactions to comments in pull requests in the **Files changed** tab.
4040

4141
{% endtip %}
4242

content/github/collaborating-with-issues-and-pull-requests/overview.md renamed to content/github/collaborating-with-issues-and-pull-requests/getting-started.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
---
2-
title: Overview
2+
title: Getting started
3+
shortTitle: Getting started
34
intro: 'Learn about the {% data variables.product.prodname_dotcom %} flow and different ways to collaborate on and discuss your projects.'
45
mapTopic: true
6+
redirect_from:
7+
- /github/collaborating-with-issues-and-pull-requests/overview
58
versions:
69
free-pro-team: '*'
710
enterprise-server: '*'
811
github-ae: '*'
912
topics:
1013
- Pull requests
14+
- Issues
15+
- Discussions
16+
- Fundamentals
1117
---
12-

content/github/collaborating-with-issues-and-pull-requests/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ topics:
1818

1919
### Table of Contents
2020

21-
{% topic_link_in_list /overview %}
21+
{% topic_link_in_list /getting-started %}
22+
{% link_in_list /quickstart-for-communicating-on-github %}
2223
{% link_in_list /github-flow %}
2324
{% link_in_list /about-collaborative-development-models %}
24-
{% link_in_list /about-conversations-on-github %}
2525
{% topic_link_in_list /working-with-forks %}
2626
{% link_in_list /about-forks %}
2727
{% link_in_list /configuring-a-remote-for-a-fork %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
---
2+
title: Quickstart for communicating on GitHub
3+
intro: 'You can discuss specific projects and changes, as well as broader ideas or team goals, using different types of discussions on {% data variables.product.product_name %}.'
4+
miniTocMaxHeadingLevel: 4
5+
redirect_from:
6+
- /articles/about-discussions-in-issues-and-pull-requests/
7+
- /github/collaborating-with-issues-and-pull-requests/about-conversations-on-github
8+
versions:
9+
free-pro-team: '*'
10+
enterprise-server: '*'
11+
github-ae: '*'
12+
topics:
13+
- Pull requests
14+
- Issues
15+
- Discussions
16+
- Fundamentals
17+
---
18+
19+
### Introduction
20+
21+
{% data variables.product.product_name %} provides built-in collaborative communication tools allowing you to interact closely with your community. This quickstart guide will show you how to pick the right tool for your needs.
22+
23+
{% if currentVersion == "free-pro-team@latest" %}
24+
You can create and participate in issues, pull requests, {% data variables.product.prodname_discussions %}, and team discussions, depending on the type of conversation you'd like to have.
25+
{% endif %}
26+
{% if currentVersion ver_gt "[email protected]" or currentVersion == "github-ae@latest" %}
27+
You can create and participate in issues, pull requests and team discussions, depending on the type of conversation you'd like to have.
28+
{% endif %}
29+
30+
#### Issues
31+
- are useful for discussing specific details of a project such as bug reports, planned improvements and feedback.
32+
- are specific to a repository, and usually have a clear owner.
33+
- are often referred to as {% data variables.product.prodname_dotcom %}'s bug-tracking system.
34+
35+
#### Pull requests
36+
- allow you to propose specific changes.
37+
- allow you comment directly on proposed changes suggested by others.
38+
- are specific to a repository.
39+
40+
{% if currentVersion == "free-pro-team@latest" %}
41+
#### {% data variables.product.prodname_discussions %}
42+
- are like a forum, and are best used for open-form ideas and discussions where collaboration is important.
43+
- may span many repositories.
44+
- provide a collaborative experience outside the codebase, allowing the brainstorming of ideas, and the creation of a community knowledge base.
45+
- often don’t have a clear owner.
46+
- often do not result in an actionable task.
47+
{% endif %}
48+
49+
#### Team discussions
50+
- can be started on your team's page for conversations that span across projects and don't belong in a specific issue or pull request. Instead of opening an issue in a repository to discuss an idea, you can include the entire team by having a conversation in a team discussion.
51+
- allow you to hold discussions with your team about planning, analysis, design, user research and general project decision making in one place.{% if currentVersion ver_gt "[email protected]" or currentVersion == "github-ae@latest" %}
52+
- provide a collaborative experience outside the codebase, allowing the brainstorming of ideas.
53+
- often don’t have a clear owner.
54+
- often do not result in an actionable task.{% endif %}
55+
56+
### Which discussion tool should I use?
57+
58+
#### Scenarios for issues
59+
60+
- I want to keep track of tasks, enhancements and bugs.
61+
- I want to file a bug report.
62+
- I want to share feedback about a specific feature.
63+
- I want to ask a question about files in the repository.
64+
65+
##### Issue example
66+
67+
This example illustrates how a {% data variables.product.prodname_dotcom %} user created an issue in our documentation open source repository to make us aware of a bug, and discuss a fix.
68+
69+
![Example of issue](/assets/images/help/issues/issue-example.png)
70+
71+
- A user noticed that the blue color of the banner at the top of the page in the Chinese version of the {% data variables.product.prodname_dotcom %} Docs makes the text in the banner unreadable.
72+
- The user created an issue in the repository, stating the problem and suggesting a fix (which is, use a different background color for the banner).
73+
- A discussion ensues, and eventually, a consensus will be reached about the fix to apply.
74+
- A contributor can then create a pull request with the fix.
75+
76+
#### Scenarios for pull requests
77+
78+
- I want to fix a typo in a repository.
79+
- I want to make changes to a repository.
80+
- I want to make changes to fix an issue.
81+
- I want to comment on changes suggested by others.
82+
83+
##### Pull request example
84+
85+
This example illustrates how a {% data variables.product.prodname_dotcom %} user created a pull request in our documentation open source repository to fix a typo.
86+
87+
In the **Conversation** tab of the pull request, the author explain why they created the pull request.
88+
![Example of pull request - Conversation tab](/assets/images/help/pull_requests/pr-conversation-example.png)
89+
90+
The **Files changed** tab of the pull request shows the implemented fix.
91+
![Example of pull request - Files changed tab](/assets/images/help/pull_requests/pr-files-changed-example.png)
92+
93+
- This contributor notices a typo in the repository.
94+
- The user creates a pull request with the fix.
95+
- A repository maintainer reviews the pull request, comments on it, and merges it.
96+
97+
{% if currentVersion == "free-pro-team@latest" %}
98+
#### Scenarios for {% data variables.product.prodname_discussions %}
99+
100+
- I have a question that's not necessarily related to specific files in the repository.
101+
- I want to share news with my collaborators, or my team.
102+
- I want to start or participate in an open-ended conversation.
103+
- I want to make an announcement to my community.
104+
105+
##### {% data variables.product.prodname_discussions %} example
106+
107+
This example shows the {% data variables.product.prodname_discussions %} welcome post for the {% data variables.product.prodname_dotcom %} Docs open source repository, and illustrates how the team wants to collaborate with their community.
108+
109+
![Example of {% data variables.product.prodname_discussions %}](/assets/images/help/discussions/github-discussions-example.png)
110+
111+
This community maintainer started a discussion to welcome the community, and to ask members to introduce themselves. This post fosters an inviting atmosphere for visitors and contributors. The post also clarifies that the team's happy to help with contributions to the repository.
112+
113+
{% endif %}
114+
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "[email protected]" or currentVersion == "github-ae@latest" %}
115+
#### Scenarios for team discussions
116+
117+
- I have a question that's not necessarily related to specific files in the repository.
118+
- I want to share news with my collaborators, or my team.
119+
- I want to start or participate in an open-ended conversation.
120+
- I want to make an announcement to my team.
121+
122+
{% if currentVersion == "free-pro-team@latest" %}
123+
As you can see, team discussions are very similar to {% data variables.product.prodname_discussions %}. For {% data variables.product.prodname_dotcom_the_website %}, we recommend using {% data variables.product.prodname_discussions %} as the starting point for conversations. You can use {% data variables.product.prodname_discussions %} to collaborate with any community on {% data variables.product.prodname_dotcom %}. If you are part of an organization, and would like to initiate conversations within your organization or team within that organization, you should use team discussions.
124+
{% endif %}
125+
126+
##### Team discussion example
127+
128+
This example shows a team post for the `octo-team` team.
129+
130+
![Example of team discussion](/assets/images/help/projects/team-discussions-example.png)
131+
132+
The `octocat` team member posted a team discussion, informing the team of various things:
133+
- A team member called Mona started remote game events.
134+
- There is a blog post describing how the teams uses {% data variables.product.prodname_actions %} to produce their docs.
135+
- Material about the April All Hands is now available for all team members to view.
136+
137+
{% endif %}
138+
139+
### Next steps
140+
141+
These examples showed you how to decide which is the best tool for your conversations on {% data variables.product.product_name %}. But this is only the beginning; there is so much more you can do to tailor these tools to your needs.
142+
143+
For issues, for example, you can tag issues with labels for quicker searching and create issue templates to help contributors open meaningful issues. For more information, see "[About issues](/github/managing-your-work-on-github/about-issues#working-with-issues)" and "[About issue and pull request templates](/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates)."
144+
145+
For pull requests, you can create draft pull requests if your proposed changes are still a work in progress. Draft pull requests cannot be merged until they're marked as ready for review. For more information, see "[About pull requests](/github/collaborating-with-issues-and-pull-requests/about-pull-requests#draft-pull-requests)."
146+
147+
{% if currentVersion == "free-pro-team@latest" %}
148+
For {% data variables.product.prodname_discussions %}, you can set up a code of conduct and pin discussions that contain important information for your community. For more information, see "[About discussions](/discussions/collaborating-with-your-community-using-discussions/about-discussions)."
149+
{% endif %}
150+
151+
For team discussions, you can edit or delete discussions on a team's page, and you can configure notifications for team discussions. For more information, see "[About team discussions](/organizations/collaborating-with-your-team/about-team-discussions)."

content/github/getting-started-with-github/be-social.md

+4
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ Click **Watch** at the top of a repository to watch it.
3838

3939
{% data reusables.support.ask-and-answer-forum %}
4040

41+
### Communicating on {% data variables.product.product_name %}
42+
43+
{% data variables.product.product_name %} provides built-in collaborative communication tools, such as issues and pull requests, allowing you to interact closely with your community when building great software. For an overview of these tools, and information about the specificity of each, see "[Quickstart for communicating on {% data variables.product.prodname_dotcom %}](/github/collaborating-with-issues-and-pull-requests/quickstart-for-communicating-on-github)."
44+
4145
### Doing even more
4246

4347
#### Creating pull requests

content/github/managing-your-work-on-github/sorting-issues-and-pull-requests.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ You can sort any filtered view by:
1919
* The least commented issues or pull requests
2020
* The newest updated issues or pull requests
2121
* The oldest updated issues or pull requests
22-
* The most added [reaction](/articles/about-conversations-on-github#reacting-to-ideas-in-comments) on issues or pull requests
22+
* The most added reaction on issues or pull requests
2323

2424
{% data reusables.repositories.navigate-to-repo %}
2525
{% data reusables.repositories.sidebar-issue-pr %}
26-
3. In the upper-right corner, select the Sort drop-down menu.
26+
1. In the upper-right corner, select the Sort drop-down menu.
2727
![Using the Sort drop-down tab](/assets/images/help/issues/issues_sort_dropdown.png)
2828

2929
To clear your sort selection, click **Sort** > **Newest**.

content/github/writing-on-github/autolinked-references-and-urls.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ For more information on creating links, see "[Basic writing and formatting synta
2121

2222
### Issues and pull requests
2323

24-
Within conversations on {% data variables.product.product_name %}, references to issues and pull requests are automatically converted to shortened links. For more information, see "[About conversations on {% data variables.product.prodname_dotcom %}](/articles/about-conversations-on-github)."
24+
Within conversations on {% data variables.product.product_name %}, references to issues and pull requests are automatically converted to shortened links.
2525

2626
{% note %}
2727

content/organizations/collaborating-with-your-team/about-team-discussions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ For more information, see {% if currentVersion == "free-pro-team@latest" or curr
4343

4444
### Further reading
4545

46-
- "[About conversations on {% data variables.product.prodname_dotcom %}](/articles/about-conversations-on-github)"
46+
- "[Quickstart for communicating on {% data variables.product.prodname_dotcom %}](/github/collaborating-with-issues-and-pull-requests/quickstart-for-communicating-on-github)"
4747
- "[About teams](/articles/about-teams)"
4848
- "[Creating a team discussion](/organizations/collaborating-with-your-team/creating-a-team-discussion)"
4949
- "[Editing or deleting a team discussion](/organizations/collaborating-with-your-team/editing-or-deleting-a-team-discussion)"

data/allowed-topics.js

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ module.exports = [
2626
'Contacting sponsors',
2727
'Containers',
2828
'Codespaces',
29+
'Discussions',
2930
'Docker',
3031
'Events',
3132
'Fundamentals',
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Article with redirect_from string
3+
versions: '*'
4+
redirect_from: /redirect-string
5+
---

tests/routing/redirects.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,12 @@ describe('redirects', () => {
4646

4747
test('converts single `redirect_from` strings values into arrays', async () => {
4848
const page = await Page.init({
49-
relativePath: 'github/collaborating-with-issues-and-pull-requests/about-conversations-on-github.md',
50-
basePath: path.join(__dirname, '../../content'),
49+
relativePath: 'article-with-redirect-from-string.md',
50+
basePath: path.join(__dirname, '../fixtures'),
5151
languageCode: 'en'
5252
})
5353
page.buildRedirects()
54-
const expected = '/en/github/collaborating-with-issues-and-pull-requests/about-conversations-on-github'
55-
expect(page.redirects['/en/articles/about-discussions-in-issues-and-pull-requests']).toBe(expected)
54+
expect(page.redirects['/redirect-string']).toBe('/en/article-with-redirect-from-string')
5655
})
5756

5857
describe('query params', () => {

0 commit comments

Comments
 (0)