diff --git a/assets/images/help/copilot/coding-agent/mobile-status-dropdown.png b/assets/images/help/copilot/coding-agent/mobile-status-dropdown.png new file mode 100644 index 0000000000..8a5221d09c Binary files /dev/null and b/assets/images/help/copilot/coding-agent/mobile-status-dropdown.png differ diff --git a/content/copilot/how-tos/chat-with-copilot/chat-in-mobile.md b/content/copilot/how-tos/chat-with-copilot/chat-in-mobile.md index ff6bc58c9a..7666c26ad3 100644 --- a/content/copilot/how-tos/chat-with-copilot/chat-in-mobile.md +++ b/content/copilot/how-tos/chat-with-copilot/chat-in-mobile.md @@ -81,7 +81,7 @@ You can ask a general question about software development{% ifversion ghec %} th You can ask questions about a specific repository, to get help with understanding the code, or to get help with a specific task you're working on. -1. In {% data variables.product.prodname_mobile %}, navigate to a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon in the bottom right corner of the screen. +1. In {% data variables.product.prodname_mobile %}, navigate to a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon in the bottom right corner of the screen. 1. At the bottom of the page, use the "Ask {% data variables.product.prodname_copilot_short %}" box, type a question and send the message. For example, if you chose the repository you are working in as the context, you could ask: @@ -132,7 +132,7 @@ You can chat with {% data variables.product.prodname_copilot_short %} about a fi You can ask questions about a specific pull request in a repository. -1. In {% data variables.product.prodname_mobile %}, navigate to a pull request in a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon in the bottom right corner of the screen. +1. In {% data variables.product.prodname_mobile %}, navigate to a pull request in a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon in the bottom right corner of the screen. 1. At the bottom of the page, use the "Ask {% data variables.product.prodname_copilot_short %}" box, type a question and send the message. For example, you could ask: @@ -150,7 +150,7 @@ You can ask questions about a specific pull request in a repository. You can ask questions about a specific issue in a repository. -1. In {% data variables.product.prodname_mobile %}, navigate to an issue in a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon in the bottom right corner of the screen. +1. In {% data variables.product.prodname_mobile %}, navigate to an issue in a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon in the bottom right corner of the screen. 1. At the bottom of the page, use the "Ask {% data variables.product.prodname_copilot_short %}" box, type a question and send the message. For example, you could ask: @@ -168,7 +168,7 @@ You can ask questions about a specific issue in a repository. You can ask questions about a specific discussion in a repository. -1. In {% data variables.product.prodname_mobile %}, navigate to a discussion in a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon in the bottom right corner of the screen. +1. In {% data variables.product.prodname_mobile %}, navigate to a discussion in a repository, and tap the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon in the bottom right corner of the screen. 1. At the bottom of the page, use the "Ask {% data variables.product.prodname_copilot_short %}" box, type a question and send the message. For example, you could ask: diff --git a/content/copilot/how-tos/use-copilot-agents/coding-agent/assign-copilot-to-an-issue.md b/content/copilot/how-tos/use-copilot-agents/coding-agent/assign-copilot-to-an-issue.md index 4f461e6070..ece839f53c 100644 --- a/content/copilot/how-tos/use-copilot-agents/coding-agent/assign-copilot-to-an-issue.md +++ b/content/copilot/how-tos/use-copilot-agents/coding-agent/assign-copilot-to-an-issue.md @@ -34,11 +34,11 @@ You can ask {% data variables.product.prodname_copilot_short %} to start working You can assign an issue to {% data variables.product.prodname_copilot_short %}: * On {% data variables.product.prodname_dotcom_the_website %} (see the [next section](#assigning-an-issue-to-copilot-on-githubcom)) -* On [{% data variables.product.prodname_mobile %}](/get-started/using-github/github-mobile) -* Via the {% data variables.product.github %} API (see [later in this article](#assigning-an-issue-to-copilot-via-the-github-api)) +* On [{% data variables.product.prodname_mobile %}](#assigning-an-issue-to-copilot-on-github-mobile) +* Via the [{% data variables.product.github %} API](#assigning-an-issue-to-copilot-via-the-github-api) * Using {% data variables.product.prodname_cli %} (see [`gh issue edit`](https://cli.github.com/manual/gh_issue_edit)) -### Assigning an issue to {% data variables.product.prodname_copilot_short %} on {% data variables.product.prodname_dotcom_the_website %} +## Assigning an issue to {% data variables.product.prodname_copilot_short %} on {% data variables.product.prodname_dotcom_the_website %} You can assign an issue to {% data variables.product.prodname_copilot_short %} on {% data variables.product.prodname_dotcom_the_website %} in exactly the same way as you assign another user. @@ -77,11 +77,21 @@ You can also assign issues to {% data variables.product.prodname_copilot_short % * From the list of issues on a repository's **{% octicon "issue-opened" aria-hidden="true" aria-label="issue-opened" %} Issues** page. * When viewing an issue in {% data variables.product.github %} {% data variables.projects.projects_v2_caps %}. -### Assigning an issue to {% data variables.product.prodname_copilot_short %} via the {% data variables.product.github %} API +## Assigning an issue to {% data variables.product.prodname_copilot_short %} on {% data variables.product.prodname_mobile %} + +1. In {% data variables.product.prodname_mobile %}, navigate to the repository that contains the issue you want to assign to {% data variables.product.prodname_copilot_short %}. +1. Click **Issues**. +1. Open the issue that you want to assign to {% data variables.product.prodname_copilot_short %}. +1. Tap the **{% octicon "info" aria-label="information" %}** icon. +1. Beside "Assignees", tap **Edit**. +1. Beside "{% data variables.product.prodname_copilot_short %}", click the plus sign. +1. Click **Done**. + +## Assigning an issue to {% data variables.product.prodname_copilot_short %} via the {% data variables.product.github %} API You can assign issues to {% data variables.product.prodname_copilot_short %} using the GraphQL API. -#### Creating and assigning a new issue +### Creating and assigning a new issue 1. Make sure you're authenticating with the API using a user token, for example a {% data variables.product.pat_generic %} or a {% data variables.product.prodname_github_app %} user-to-server token. 1. Verify that {% data variables.copilot.copilot_coding_agent %} is enabled in the repository by checking if the repository's `suggestedActors` in the GraphQL API includes {% data variables.product.prodname_copilot_short %}. Replace `octo-org` with the repository owner, and `octo-repo` with the repository name. @@ -139,7 +149,7 @@ You can assign issues to {% data variables.product.prodname_copilot_short %} usi } ``` -#### Assigning an existing issue +### Assigning an existing issue 1. Make sure you're authenticating with the API using a user token, for example a {% data variables.product.pat_generic %} or a {% data variables.product.prodname_github_app %} user-to-server token. 1. Verify that {% data variables.copilot.copilot_coding_agent %} is enabled in the repository by checking if the repository's `suggestedActors` in the GraphQL API includes {% data variables.product.prodname_copilot_short %}. Replace `octo-org` with the repository owner, and `octo-repo` with the repository name. diff --git a/content/copilot/how-tos/use-copilot-agents/coding-agent/create-a-pr.md b/content/copilot/how-tos/use-copilot-agents/coding-agent/create-a-pr.md index b521be2719..50e9679539 100644 --- a/content/copilot/how-tos/use-copilot-agents/coding-agent/create-a-pr.md +++ b/content/copilot/how-tos/use-copilot-agents/coding-agent/create-a-pr.md @@ -100,6 +100,20 @@ You can ask {% data variables.product.prodname_copilot_short %} to open a pull r {% data variables.product.prodname_copilot_short %} will start a new session and respond with a link to the pull request it creates. It will work on the task and push changes to the pull request, and then add you as a reviewer when it has finished, triggering a notification. +## Asking {% data variables.product.prodname_copilot_short %} to create a pull request from {% data variables.product.prodname_mobile %} + +1. In {% data variables.product.prodname_mobile %}, navigate to the repository where you want to create a pull request. +1. Tap the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon in the bottom right corner of the screen. +1. Enter a prompt to ask {% data variables.product.prodname_copilot_short %} to create a pull request. + + For example: `Create a pull request to ...`. + + {% data variables.product.prodname_copilot_short %} responds with a brief summary of the task it will perform, asking for your confirmation before it proceeds. + +1. Check that {% data variables.product.prodname_copilot_short %} has interpreted your prompt correctly, then tap **Accept** or **Dismiss**. + + {% data variables.product.prodname_copilot_short %} creates a pull request and gives you a link to it. It will work on the task and push changes to the pull request, and then add you as a reviewer when it has finished, triggering a notification. + ## Asking {% data variables.product.prodname_copilot_short %} to create a pull request from the {% data variables.product.prodname_cli %} > [!NOTE] @@ -116,13 +130,10 @@ You can use command line options to: * Select a repository, instead of targeting the current repository (`--repo`) * Follow the session log in real time (`--follow`) - To see all of the available options, run `gh agent-task create --help`. ## Asking {% data variables.product.prodname_copilot_short %} to create a pull request from the {% data variables.product.github %} MCP server -As an alternative to using {% data variables.copilot.copilot_chat_short %}, you can use the remote {% data variables.product.github %} MCP server to trigger {% data variables.copilot.copilot_coding_agent %} from any MCP host. - > [!NOTE] > * This capability is only available on the remote {% data variables.product.github %} MCP server and host applications where remote MCP servers are supported. diff --git a/content/copilot/how-tos/use-copilot-agents/coding-agent/track-copilot-sessions.md b/content/copilot/how-tos/use-copilot-agents/coding-agent/track-copilot-sessions.md index c533cebd65..10eedbeb21 100644 --- a/content/copilot/how-tos/use-copilot-agents/coding-agent/track-copilot-sessions.md +++ b/content/copilot/how-tos/use-copilot-agents/coding-agent/track-copilot-sessions.md @@ -82,6 +82,20 @@ To view the session logs, click on the pull request in the list, then click **Vi You can also start new agent sessions from {% data variables.product.prodname_vscode %}. See [AUTOTITLE](/copilot/how-tos/agents/copilot-coding-agent/asking-copilot-to-create-a-pull-request#asking-copilot-to-create-a-pull-request-from-copilot-chat-in-visual-studio-code). +## Tracking sessions from {% data variables.product.prodname_mobile %} + +You can see a list of your running and past pull requests generated by agents in {% data variables.product.prodname_mobile %}. + +1. In the "Agents" section on the {% data variables.product.prodname_mobile %} Home page, tap **Agent Tasks**. + + A list of the currently open pull requests, that you asked {% data variables.product.prodname_copilot_short %} to generate, is displayed. + +1. Use the buttons at the top of the list to filter the list of pull requests. + + For example, to show only merged tasks, tap **Open** and then, in the dropdown, tap **Merged**. + + Screenshot of the status dropdown list with a check mark against 'Open'. + ## Using the session logs to understand {% data variables.product.prodname_copilot_short %}'s approach You can dive into {% data variables.product.prodname_copilot_short %}'s session logs in {% data variables.product.github %} or {% data variables.product.prodname_vscode %} to understand how it approached your task. diff --git a/content/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github.md b/content/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github.md index bb9d17cba9..f5b2b93466 100644 --- a/content/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github.md +++ b/content/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github.md @@ -52,7 +52,7 @@ If you've been active on {% data variables.product.prodname_dotcom %}, you can f Before getting started contributing to an open source repository, it's recommended to check if the repository is being actively maintained. {% data variables.product.prodname_copilot_short %} can analyze a repository and tell you about its recent activity. 1. On the {% data variables.product.prodname_dotcom %} website, go to the repository you want to chat about. -1. Click the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon at the top right of the page. +1. Click the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon at the top right of the page. The full-page, immersive, mode {% data variables.copilot.copilot_chat %} is displayed. The heading at the top of the chat panel will show the name of the repository as an attachment. 1. In the prompt box, type "Is this repository being actively maintained?" and press Enter. {% data variables.product.prodname_copilot_short %} replies in the chat panel. diff --git a/content/get-started/exploring-projects-on-github/using-github-copilot-to-explore-projects.md b/content/get-started/exploring-projects-on-github/using-github-copilot-to-explore-projects.md index a8628a2df6..90b1ee7b31 100644 --- a/content/get-started/exploring-projects-on-github/using-github-copilot-to-explore-projects.md +++ b/content/get-started/exploring-projects-on-github/using-github-copilot-to-explore-projects.md @@ -21,7 +21,7 @@ When you’re new to a project, it can be challenging to understand the purpose 1. On the {% data variables.product.prodname_dotcom %} website, go to the repository you want to chat about. -1. Click the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon at the top right of the page. +1. Click the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon at the top right of the page. 1. The heading at the top of the chat panel should read "Chatting about" followed by the name of the current repository. If the wrong repository name is displayed, because you were previously chatting about another repository, click **All repositories** then choose the repository you want to chat about. diff --git a/content/get-started/learning-to-code/finding-and-understanding-example-code.md b/content/get-started/learning-to-code/finding-and-understanding-example-code.md index ce12b6381e..d5e35602f0 100644 --- a/content/get-started/learning-to-code/finding-and-understanding-example-code.md +++ b/content/get-started/learning-to-code/finding-and-understanding-example-code.md @@ -71,7 +71,7 @@ In the [`github/choosealicense.com`](https://github.com/github/choosealicense.co If the README.md file doesn't give you all the answers, you can ask {% data variables.product.prodname_copilot_short %} to help you navigate the repository and locate functionality. -To open {% data variables.copilot.copilot_chat_short %}, click the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon next to the search bar and ask your question. For example: +To open {% data variables.copilot.copilot_chat_short %}, click the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon next to the search bar and ask your question. For example: >What is the main landing page for this Jekyll website? diff --git a/content/get-started/using-github/communicating-on-github.md b/content/get-started/using-github/communicating-on-github.md index 6d79432390..8ee6bf9f82 100644 --- a/content/get-started/using-github/communicating-on-github.md +++ b/content/get-started/using-github/communicating-on-github.md @@ -121,7 +121,7 @@ If you need more context or clarity on a specific issue or discussion, you can u To ask a question about an issue or discussion: -1. From anywhere on {% data variables.product.github %}, click the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon next to the search bar in the top right of the page. +1. From anywhere on {% data variables.product.github %}, click the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon next to the search bar in the top right of the page. ![Screenshot of the new conversation button, highlighted with a dark orange outline.](/assets/images/help/copilot/copilot-icon-top-right.png) diff --git a/content/get-started/using-github/github-mobile.md b/content/get-started/using-github/github-mobile.md index 692ac4ec35..b8b5f41cc7 100644 --- a/content/get-started/using-github/github-mobile.md +++ b/content/get-started/using-github/github-mobile.md @@ -34,11 +34,12 @@ With {% data variables.product.prodname_mobile %} you can: The following documentation contains more information about using {% data variables.product.company_short %} features on {% data variables.product.prodname_mobile %}. -* For more information about notifications for {% data variables.product.prodname_mobile %}, see [AUTOTITLE](/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#enabling-push-notifications-with-github-mobile).{% ifversion mobile-code-search %} -* For more information about using {% data variables.product.prodname_dotcom %} code search on {% data variables.product.prodname_mobile %}, see [AUTOTITLE](/search-github/github-code-search/using-github-code-search#using-github-code-search-on-github-mobile).{% endif %}{% ifversion fpt or ghec %} -* For more information on two-factor authentication using {% data variables.product.prodname_mobile %}, see [AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-github-mobile) and [Authenticating using {% data variables.product.prodname_mobile %}](/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication#verifying-with-github-mobile). {% endif %}{% ifversion copilot-chat-for-mobile %} -* For more information about using {% data variables.copilot.copilot_mobile %}, see [AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-in-github-mobile/using-github-copilot-chat-in-github-mobile).{% endif %}{% ifversion copilot-chat-for-mobile %} -* For more information about using {% data variables.copilot.copilot_extensions %} in {% data variables.product.prodname_mobile %}, see [Extending {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_mobile %}](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-github-mobile#extending-copilot-chat-in-github-mobile).{% endif %} +* Notifications for {% data variables.product.prodname_mobile %}, see [AUTOTITLE](/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#enabling-push-notifications-with-github-mobile).{% ifversion mobile-code-search %} +* Using {% data variables.product.prodname_dotcom %} code search on {% data variables.product.prodname_mobile %}, see [AUTOTITLE](/search-github/github-code-search/using-github-code-search#using-github-code-search-on-github-mobile).{% endif %}{% ifversion fpt or ghec %} +* Two-factor authentication using {% data variables.product.prodname_mobile %}, see [AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-github-mobile) and [Authenticating using {% data variables.product.prodname_mobile %}](/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication#verifying-with-github-mobile). {% endif %}{% ifversion copilot-chat-for-mobile %} +* Using {% data variables.copilot.copilot_mobile %}, see [AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-in-github-mobile/using-github-copilot-chat-in-github-mobile).{% endif %}{% ifversion copilot-chat-for-mobile %} +* Assigning issues to {% data variables.product.prodname_copilot_short %} from {% data variables.product.prodname_mobile %}, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/assign-copilot-to-an-issue).{% endif %}{% ifversion copilot-chat-for-mobile %} +* Using {% data variables.copilot.copilot_extensions %} in {% data variables.product.prodname_mobile %}, see [Extending {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_mobile %}](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-github-mobile#extending-copilot-chat-in-github-mobile).{% endif %} ## Installing {% data variables.product.prodname_mobile %} diff --git a/data/reusables/copilot/chat-mobile-start-chat.md b/data/reusables/copilot/chat-mobile-start-chat.md index ba95415633..0dcafeb114 100644 --- a/data/reusables/copilot/chat-mobile-start-chat.md +++ b/data/reusables/copilot/chat-mobile-start-chat.md @@ -1,4 +1,4 @@ -1. In {% data variables.product.prodname_mobile %}, tap the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon in the bottom right corner of the screen. +1. In {% data variables.product.prodname_mobile %}, tap the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon in the bottom right corner of the screen. > [!NOTE] - > The **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon is not shown on every page in {% data variables.product.prodname_mobile %}. If you don't see the icon, navigate to a different page in {% data variables.product.prodname_mobile %} and look for the icon there. + > The **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon is not shown on every page in {% data variables.product.prodname_mobile %}. If you don't see the icon, navigate to a different page in {% data variables.product.prodname_mobile %} and look for the icon there. diff --git a/data/reusables/copilot/go-to-copilot-page.md b/data/reusables/copilot/go-to-copilot-page.md index c0cd880112..f707bf6a87 100644 --- a/data/reusables/copilot/go-to-copilot-page.md +++ b/data/reusables/copilot/go-to-copilot-page.md @@ -1,4 +1,4 @@ -1. In the top right of any page on {% data variables.product.github %}, click the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon next to the search bar. +1. In the top right of any page on {% data variables.product.github %}, click the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon next to the search bar. The {% data variables.copilot.copilot_chat %} panel is displayed. To resize the panel, click and drag the top or left edge. diff --git a/data/reusables/copilot/open-copilot.md b/data/reusables/copilot/open-copilot.md index f5771a0e33..b36658f88d 100644 --- a/data/reusables/copilot/open-copilot.md +++ b/data/reusables/copilot/open-copilot.md @@ -1,4 +1,4 @@ -1. In the top right of any page on {% data variables.product.github %}, click the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** {% data variables.product.prodname_copilot %} icon next to the search bar. +1. In the top right of any page on {% data variables.product.github %}, click the **{% octicon "copilot" aria-hidden="true" aria-label="Copilot" %}** icon next to the search bar. The {% data variables.copilot.copilot_chat %} panel is displayed. To resize the panel, click and drag the top or left edge.