diff --git a/content/copilot/how-tos/chat-with-copilot/chat-in-github.md b/content/copilot/how-tos/chat-with-copilot/chat-in-github.md index 2503b0aebdca..670cdf1fad56 100644 --- a/content/copilot/how-tos/chat-with-copilot/chat-in-github.md +++ b/content/copilot/how-tos/chat-with-copilot/chat-in-github.md @@ -34,7 +34,7 @@ You can open {% data variables.copilot.copilot_chat_short %} from any page on {% Depending on the question you ask, and your enterprise and organization settings, {% data variables.product.prodname_copilot_short %} may respond using information based on the results of a Bing search. By using Bing search, {% data variables.product.prodname_copilot_short %} can answer a broad range of tech-related questions with up-to-date details based on information currently available on the internet. For information on how to enable or disable Bing search integration, see [AUTOTITLE](/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/managing-copilot-policies-as-an-individual-subscriber#enabling-or-disabling-web-search-for-github-copilot-chat) and [AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise). -{% data reusables.copilot.immersive-mode-instructions %} +{% data reusables.copilot.access-chat-instructions %} 1. In the prompt box, type a question and press Enter. Some examples of general questions you could ask are: @@ -61,11 +61,11 @@ Depending on the question you ask, and your enterprise and organization settings > [!NOTE] > This feature is currently in {% data variables.release-phases.public_preview %} and subject to change. -When you ask a question, {% data variables.product.prodname_copilot_short %} may generate one or more files as part of its response. In the {% data variables.copilot.copilot_chat_short %} panel, the files are displayed inline, within the chat response. In immersive view (that is, at [https://github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text)), the generated files are displayed in a side panel. You can view and edit the files in the panel, or download them to your computer. +When you ask a question, {% data variables.product.prodname_copilot_short %} may generate one or more files as part of its response. The generated files are displayed in a side panel. You can view and edit the files in the panel, or download them to your computer. For example, asking {% prompt %}Generate a simple calculator using HTML, CSS, and JavaScript{% endprompt %} may generate multiple files, such as `index.html`, `styles.css`, and `script.js`. -In immersive view, you can also preview how some file formats, such as Markdown, render by toggling to the "Preview" tab in the side panel. +You can also preview how some file formats, such as Markdown, render by toggling to the "Preview" tab in the side panel. ### Regenerating a response with a different model @@ -79,9 +79,9 @@ For help deciding which model to use, see [AUTOTITLE](/copilot/reference/ai-mode Subthreads are branches of a conversation that are created from a point in a conversation where you asked a question. Subthreads offer more control and flexibility for exploring aspects of a topic, or new topics, all within the same thread. -You can create and navigate through subthreads in {% data variables.copilot.copilot_chat_short %}'s immersive view. In the {% data variables.copilot.copilot_chat_short %} panel, if you open a conversation that contains subthreads, only the most recently edited subthread is displayed. +You can create and navigate through subthreads in {% data variables.copilot.copilot_chat_short %}. -You can create a subthread in immersive mode by either editing or retrying any of your questions in the conversation. +You can create a subthread in {% data variables.copilot.copilot_chat_short %} by either editing or retrying any of your questions in the conversation. To edit a question: @@ -136,7 +136,6 @@ You can ask {% data variables.copilot.copilot_chat_short %} different types of q > [!NOTE] > * Attaching images to chat prompts is currently in {% data variables.release-phases.public_preview %} and is subject to change. -> * You can only attach an image in the immersive view of {% data variables.copilot.copilot_chat_short %} ([https://github.com/copilot](https://github.com/copilot)), not in the chat panel. You can attach an image to {% data variables.product.prodname_copilot_short %} and then ask about the image. For example, you can attach: @@ -144,7 +143,7 @@ You can attach an image to {% data variables.product.prodname_copilot_short %} a ### Attaching an image to your chat prompt -1. Go to the immersive view of {% data variables.copilot.copilot_chat_short %} ([https://github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text). +1. Go to {% data variables.copilot.copilot_chat_short %} ([https://github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text)). 1. If you see the AI model picker at the top of the page, select one of the models that supports adding images to prompts: ![Screenshot of the model picker with the list of models expanded.](/assets/images/help/copilot/model-picker-copilot-immersive.png) @@ -181,14 +180,14 @@ You can ask {% data variables.product.prodname_copilot_short %} a question about ## Accessing {% data variables.copilot.copilot_chat_short %} from the dashboard -You can access {% data variables.product.prodname_copilot_short %}'s immersive view from the dashboard. The dashboard is your personalized overview of your activity on {% data variables.product.github %}, seen when you visit https://github.com while logged in. +You can access {% data variables.copilot.copilot_chat_short %} from the dashboard. The dashboard is your personalized overview of your activity on {% data variables.product.github %}, seen when you visit https://github.com while logged in. 1. Go to the dashboard at [https://github.com](https://github.com). 1. In the prompt box, type a question and press Enter. ![Screenshot of the dashboard with the Copilot Chat prompt box.](/assets/images/help/copilot/copilot-chat-dashboard.png) - You will be taken to the immersive view where {% data variables.product.prodname_copilot_short %} responds to your request. + You will be taken to {% data variables.copilot.copilot_chat_short %} where {% data variables.product.prodname_copilot_short %} responds to your request. > [!NOTE] > If you don't see the {% data variables.copilot.copilot_chat_short %} prompt box on your dashboard, check that **Dashboard entry point** in enabled in your {% data variables.product.prodname_copilot %} settings. @@ -197,11 +196,11 @@ You can access {% data variables.product.prodname_copilot_short %}'s immersive v > [!NOTE] This feature is currently in {% data variables.release-phases.public_preview %} and subject to change. During the {% data variables.release-phases.public_preview %}, this feature is only available to users without enterprise or team memberships. -You can share {% data variables.copilot.copilot_chat_short %} conversations from the immersive view ([https://github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text)). Shared conversations are public or private (i.e. permission-based), depending on the referenced content, for example, a conversation about a private repository. If you share a private conversation, the recipient must have the necessary permissions to view the content. +Shared conversations are public or private (i.e. permission-based), depending on the referenced content, for example, a conversation about a private repository. If you share a private conversation, the recipient must have the necessary permissions to view the content. Once you share a conversation, the conversation and future messages will be visible to anyone with the link. -{% data reusables.copilot.immersive-mode-instructions %} +{% data reusables.copilot.access-chat-instructions %} 1. After you submit your first prompt, a share button is displayed in the upper right corner. 1. Click **{% octicon "lock" aria-hidden="true" aria-label="lock" %} Share** to open the share dialog. diff --git a/content/copilot/how-tos/configure-custom-instructions/add-personal-instructions.md b/content/copilot/how-tos/configure-custom-instructions/add-personal-instructions.md index 13938a149ef0..fcf188eec351 100644 --- a/content/copilot/how-tos/configure-custom-instructions/add-personal-instructions.md +++ b/content/copilot/how-tos/configure-custom-instructions/add-personal-instructions.md @@ -32,7 +32,7 @@ You can add custom instructions for {% data variables.copilot.copilot_chat %} in ## Adding personal custom instructions -You can add personal custom instructions in {% data variables.copilot.copilot_chat_short %}'s immersive view. +You can add personal custom instructions in {% data variables.copilot.copilot_chat_short %} in {% data variables.product.github %}. 1. Open [{% data variables.copilot.copilot_chat_short %}](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text). 1. In the bottom left corner, click your profile picture, then click **{% octicon "note" aria-hidden="true" aria-label="note" %} Personal instructions**. diff --git a/content/copilot/how-tos/configure-custom-instructions/add-repository-instructions.md b/content/copilot/how-tos/configure-custom-instructions/add-repository-instructions.md index 86046517b33d..be6a430805e1 100644 --- a/content/copilot/how-tos/configure-custom-instructions/add-repository-instructions.md +++ b/content/copilot/how-tos/configure-custom-instructions/add-repository-instructions.md @@ -101,7 +101,7 @@ This version of this article is for using repository custom instructions in Ecli {% visualstudio %} -* The **Enable custom instructions...** option must be enabled in your settings. This is enabled by default. See [Enabling or disabling repository custom instructions](#enabling-or-disabling-repository-custom-instructions-2) later in this article. +* The **Enable custom instructions...** option must be enabled in your settings. This is enabled by default. See [Enabling or disabling repository custom instructions](#enabling-or-disabling-repository-custom-instructions-1) later in this article. {% endvisualstudio %} @@ -443,7 +443,7 @@ The instructions in the file(s) are available for use by {% data variables.produ {% webui %} -In {% data variables.copilot.copilot_chat_short %}'s immersive view ([github.com/copilot](https://github.com/copilot)), you can start a conversation that uses repository custom instructions by adding, as an attachment, the repository that contains the instructions file. +In {% data variables.copilot.copilot_chat_short %} ([github.com/copilot](https://github.com/copilot)), you can start a conversation that uses repository custom instructions by adding, as an attachment, the repository that contains the instructions file. Whenever repository custom instructions are used by {% data variables.copilot.copilot_chat_short %}, the instructions file is added as a reference for the response that's generated. To find out whether repository custom instructions were used, expand the list of references at the top of a chat response in the Chat panel and check whether the `.github/copilot-instructions.md` file is listed. @@ -491,20 +491,14 @@ You can click the reference to open the file. {% webui %} -{% data reusables.copilot.custom-instructions-enabling %} - -1. On {% data variables.product.prodname_dotcom_the_website %}, do one of the following: - * Go to a repository with a custom instructions file and open the assistive chat panel. - * Go to the immersive view of {% data variables.copilot.copilot_chat_short %} ([github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text)) and attach a repository that contains a custom instructions file. -1. Click the {% octicon "kebab-horizontal" aria-label="Conversation options" %} button at the top of the Chat panel, or the top right of the immersive page. -1. Click **Disable custom instructions** or **Enable custom instructions**. +## Enabling or disabling custom instructions for {% data variables.copilot.copilot_code-review_short %} - > [!NOTE] - > You will only see these options in the context of a repository that contains a custom instructions file. +Custom instructions are enabled for {% data variables.copilot.copilot_code-review_short %} by default but you can disable, or re-enable, them in the repository settings on {% data variables.product.prodname_dotcom_the_website %}. This applies to {% data variables.product.prodname_copilot_short %}'s use of custom instructions for all code reviews it performs in this repository. -Your choice persists, for all repositories containing a custom instructions file, until you change it. - -{% data reusables.copilot.custom-instructions-enabling-for-ccr %} +{% data reusables.repositories.navigate-to-repo %} +{% data reusables.repositories.sidebar-settings %} +1. In the "Code & automation" section of the sidebar, click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**, then **Code review**. +1. Toggle the “Use custom instructions when reviewing pull requests” option on or off. ## Further reading diff --git a/content/copilot/how-tos/manage-your-account/get-started-with-a-copilot-plan.md b/content/copilot/how-tos/manage-your-account/get-started-with-a-copilot-plan.md index d6ce0c724462..3e7f50272ab1 100644 --- a/content/copilot/how-tos/manage-your-account/get-started-with-a-copilot-plan.md +++ b/content/copilot/how-tos/manage-your-account/get-started-with-a-copilot-plan.md @@ -65,8 +65,8 @@ You can also chat with {% data variables.product.prodname_copilot_short %} in {% To use {% data variables.copilot.copilot_free_short %} in other IDEs, you'll need to activate it from your {% data variables.product.github %} account settings first. {% data reusables.user-settings.copilot-settings %} -1. Click **Start using {% data variables.copilot.copilot_free_short %}** to activate {% data variables.copilot.copilot_free_short %} and open immersive mode. -1. To the right of "Install {% data variables.product.prodname_copilot_short %} in your favorite code editor", select the {% octicon "triangle-down" aria-label="More edit options" %} dropdown menu and click your preferred editor. +1. Click **Start using {% data variables.copilot.copilot_free_short %}** to activate {% data variables.copilot.copilot_free_short %} and open [https://github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text&ref_plan=free). +1. In the top right corner, next to **Download**, select the {% octicon "triangle-down" aria-label="More edit options" %} dropdown menu and click your preferred editor. ## Upgrading from {% data variables.copilot.copilot_free_short %} diff --git a/content/copilot/how-tos/provide-context/use-knowledge-bases.md b/content/copilot/how-tos/provide-context/use-knowledge-bases.md index 5d02cac029af..6f8e1ddc58b8 100644 --- a/content/copilot/how-tos/provide-context/use-knowledge-bases.md +++ b/content/copilot/how-tos/provide-context/use-knowledge-bases.md @@ -32,7 +32,7 @@ When you enter a query, {% data variables.product.prodname_copilot_short %} sear ## Asking {% data variables.copilot.copilot_chat_short %} questions about a knowledge base -{% data reusables.copilot.immersive-mode-instructions %} +{% data reusables.copilot.access-chat-instructions %} 1. To select a knowledge base for context, click **{% octicon "paperclip" aria-label="Add attachments" %} Attach** at the bottom of the chat panel, then click **Knowledge bases**. 1. In the "Select knowledge bases" dialog, type the name of the knowledge base you want to use as context, select the knowledge bases you want to use, and click **Save**. 1. In the prompt box, type a question and press Enter. diff --git a/content/copilot/how-tos/provide-context/use-mcp/use-the-github-mcp-server.md b/content/copilot/how-tos/provide-context/use-mcp/use-the-github-mcp-server.md index 027ea412a151..f0ac146e0af2 100644 --- a/content/copilot/how-tos/provide-context/use-mcp/use-the-github-mcp-server.md +++ b/content/copilot/how-tos/provide-context/use-mcp/use-the-github-mcp-server.md @@ -183,7 +183,7 @@ Within {% data variables.copilot.copilot_chat_dotcom_short %}, the {% data varia The {% data variables.product.github %} MCP server is automatically configured in {% data variables.copilot.copilot_chat_dotcom_short %}. You can start using it immediately without any additional setup. -{% data reusables.copilot.immersive-mode-instructions %} +{% data reusables.copilot.access-chat-instructions %} 1. In the prompt box, type a request related to the skill you want {% data variables.copilot.copilot_chat_short %} to perform, and press **Enter**. Some examples of requests you can make are: diff --git a/content/copilot/how-tos/troubleshoot-copilot/troubleshoot-common-issues.md b/content/copilot/how-tos/troubleshoot-copilot/troubleshoot-common-issues.md index 8ee039ad1497..94cd025ce4a9 100644 --- a/content/copilot/how-tos/troubleshoot-copilot/troubleshoot-common-issues.md +++ b/content/copilot/how-tos/troubleshoot-copilot/troubleshoot-common-issues.md @@ -113,7 +113,7 @@ If you experience authentication issues when you try to use {% data variables.co If a chat response terminates unexpectedly, before the response is complete, try resubmitting the question. -In {% data variables.copilot.copilot_chat_short %}'s immersive view (the [github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text), you can resubmit your question by clicking the {% octicon "sync" aria-label="Retry" %} button under the chat response. +In {% data variables.copilot.copilot_chat_short %} ([github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text)), you can resubmit your question by clicking the {% octicon "sync" aria-label="Retry" %} button under the chat response. ## Further reading diff --git a/content/copilot/how-tos/use-ai-models/change-the-chat-model.md b/content/copilot/how-tos/use-ai-models/change-the-chat-model.md index 9505e9894e44..0ca3d873a633 100644 --- a/content/copilot/how-tos/use-ai-models/change-the-chat-model.md +++ b/content/copilot/how-tos/use-ai-models/change-the-chat-model.md @@ -29,9 +29,6 @@ Changing the model used by {% data variables.copilot.copilot_chat_short %} does {% webui %} -> [!NOTE] -> You can only use an alternative AI model in the immersive view of {% data variables.copilot.copilot_chat_short %} on {% data variables.product.prodname_dotcom_the_website %}. This is the full-page version of {% data variables.copilot.copilot_chat_short %} that's displayed at [https://github.com/copilot](https://github.com/copilot). The {% data variables.copilot.copilot_chat_short %} panel always uses the default model. - ### Limitations of AI models for {% data variables.copilot.copilot_chat_short %} Experimental pre-release versions of the models may not interact with all filters correctly, including the setting to block suggestions matching public code (see [AUTOTITLE](/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/managing-your-copilot-plan/managing-copilot-policies-as-an-individual-subscriber#enabling-or-disabling-suggestions-matching-public-code)). @@ -48,7 +45,7 @@ These instructions are for {% data variables.product.prodname_copilot_short %} o ![Screenshot of the 'Copilot' button, highlighted with a dark orange outline.](/assets/images/help/copilot/copilot-icon-top-right.png) -1. At the bottom of the immersive view, select the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then click the AI model of your choice. +1. At the bottom of {% data variables.copilot.copilot_chat_short %}, select the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then click the AI model of your choice. 1. Optionally, after submitting a prompt, you can regenerate the same prompt using a different model by clicking the retry icon ({% octicon "sync" aria-label="The re-run icon" %}) below the response. The new response will use your selected model and maintain the full context of the conversation. diff --git a/content/copilot/how-tos/use-ai-models/configure-access-to-ai-models.md b/content/copilot/how-tos/use-ai-models/configure-access-to-ai-models.md index 9b2033f09c97..f9dee02012e6 100644 --- a/content/copilot/how-tos/use-ai-models/configure-access-to-ai-models.md +++ b/content/copilot/how-tos/use-ai-models/configure-access-to-ai-models.md @@ -32,7 +32,7 @@ If you have a {% data variables.copilot.copilot_free_short %}, {% data variables You can enable access in two ways: -* The first time you use a model with {% data variables.copilot.copilot_chat_short %} in your editor or in the immersive view of {% data variables.copilot.copilot_chat_short %}, you will be prompted to allow access to the model. +* The first time you use a model with {% data variables.copilot.copilot_chat_short %} in your editor or in {% data variables.product.github %}, you will be prompted to allow access to the model. Click **Allow** to enable the AI model and update the policy in your personal settings on {% data variables.product.github %}. diff --git a/content/copilot/how-tos/use-copilot-for-common-tasks/use-copilot-to-create-or-update-issues.md b/content/copilot/how-tos/use-copilot-for-common-tasks/use-copilot-to-create-or-update-issues.md index a171765720c2..7eea6d0443f7 100644 --- a/content/copilot/how-tos/use-copilot-for-common-tasks/use-copilot-to-create-or-update-issues.md +++ b/content/copilot/how-tos/use-copilot-for-common-tasks/use-copilot-to-create-or-update-issues.md @@ -28,9 +28,9 @@ You stay in control of the process. You can review and refine what {% data varia ## Creating an issue with {% data variables.product.prodname_copilot_short %} -You can create issues from {% data variables.copilot.copilot_chat_short %}'s immersive view. +You can create issues from {% data variables.copilot.copilot_chat_short %} in {% data variables.product.github %}. -1. Go to the immersive view of {% data variables.copilot.copilot_chat_short %} ([https://github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text). +1. Go to {% data variables.copilot.copilot_chat_short %} ([https://github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text). 1. In the prompt box, describe the issue you want to create. If you contribute issues to multiple repositories, use the `repo-owner/repo-name` format to specify the target repository for this issue. If you don't specify a repository, {% data variables.product.prodname_copilot_short %} will infer the repository based on the repository you last created an issue in. diff --git a/content/copilot/tutorials/customization-library/custom-instructions/your-first-custom-instructions.md b/content/copilot/tutorials/customization-library/custom-instructions/your-first-custom-instructions.md index 0ff1dca5235d..70c803341d6c 100644 --- a/content/copilot/tutorials/customization-library/custom-instructions/your-first-custom-instructions.md +++ b/content/copilot/tutorials/customization-library/custom-instructions/your-first-custom-instructions.md @@ -46,7 +46,7 @@ These instructions will change how {% data variables.product.prodname_copilot %} ## Test it out -To quickly test out the difference that custom instructions can make, you can use personal custom instructions in {% data variables.copilot.copilot_chat_short %}'s immersive view. +To quickly test out the difference that custom instructions can make, you can use personal custom instructions in {% data variables.copilot.copilot_chat_short %}. 1. First, go to [github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=trial&ref_style=text) and enter this prompt: diff --git a/content/copilot/tutorials/explore-a-codebase.md b/content/copilot/tutorials/explore-a-codebase.md index f47a489bead4..ee65f4ea0acb 100644 --- a/content/copilot/tutorials/explore-a-codebase.md +++ b/content/copilot/tutorials/explore-a-codebase.md @@ -21,27 +21,17 @@ If you've been assigned to work on a project that you're not familiar with—or ## Working with {% data variables.copilot.copilot_chat_short %} -Throughout this guide, we'll work on {% data variables.product.prodname_dotcom_the_website %}, using {% data variables.copilot.copilot_chat_short %} in assistive mode, which displays a {% data variables.copilot.copilot_chat_short %} panel over the bottom right corner of your current page on {% data variables.product.prodname_dotcom_the_website %}. +Throughout this guide, we'll work with {% data variables.copilot.copilot_chat_short %} on {% data variables.product.prodname_dotcom_the_website %}, which you can find at [github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text). -You can expand the {% data variables.copilot.copilot_chat_short %} panel, to give more space for displaying {% data variables.product.prodname_copilot_short %}'s responses, by clicking and dragging the edges of the panel. +## Attaching a codebase -## Using the predefined prompts +Before {% data variables.copilot.copilot_chat_short %} can help you, you need to attach the codebase you want to explore. -{% data variables.copilot.copilot_chat_short %} comes with a set of predefined prompts that can help you get started with exploring a codebase. You can use the prompts by clicking a button in the chat panel. The buttons are displayed when you start a new conversation with {% data variables.copilot.copilot_chat_short %}. The selection of prompts varies depending on the currently displayed page on {% data variables.product.prodname_dotcom_the_website %}. +1. On {% data variables.product.github %}, navigate to [github.com/copilot](https://github.com/copilot?ref_product=copilot&ref_type=engagement&ref_style=text). +1. In the text box, click **{% octicon "plus" aria-label="Add attachments" %} Add repositories, files, and spaces**, then click **Repositories**. +1. Search for and select the repository you want to explore. -1. Open the repository you want to explore on {% data variables.product.prodname_dotcom_the_website %}. -1. Click the **Code** tab to display the main page of the repository. -1. {% data reusables.copilot.assistive-mode-instructions %} -1. Click the **Tell me about this repository** button in the chat panel. - - ![Screenshot of the chat panel with the 'Tell me about this repository' button highlighted.](/assets/images/help/copilot/tell-me-about-repo.png) - - > [!TIP] - > If this button is not displayed, make sure you are on the main page of the repository and click the plus sign ({% octicon "plus" aria-hidden="true" aria-label="plus" %}) at the top right of the {% data variables.product.prodname_copilot_short %} panel to start a new conversation. - - A predefined prompt is submitted to {% data variables.product.prodname_copilot_short %} and the response is displayed in the chat panel. - -1. Optionally, after reading the response, click the plus sign ({% octicon "plus" aria-hidden="true" aria-label="plus" %}) at the top right of the {% data variables.product.prodname_copilot_short %} panel to start a new conversation, then click **How to get started with this repository**. +{% data variables.copilot.copilot_chat_short %} now has access to the code in that repository, and you can start asking questions about it. ## Example prompts @@ -80,13 +70,17 @@ Use {% data variables.product.prodname_copilot_short %} to help you understand t To find out about the files in a directory: 1. Navigate to the directory on {% data variables.product.prodname_dotcom_the_website %}. -1. {% data reusables.copilot.assistive-mode-instructions %} +1. In the top right corner of the page, click the {% data variables.product.prodname_copilot_short %} icon (**{% octicon "copilot" aria-label="Copilot icon" %}**) to open {% data variables.copilot.copilot_chat_short %}. + + {% data variables.product.prodname_copilot_short %} will use the directory contents as context for your question. 1. Ask {% data variables.product.prodname_copilot_short %}: `Explain the files in this directory`. To find out about a specific file: 1. Open the file on {% data variables.product.prodname_dotcom_the_website %}. -1. {% data reusables.copilot.assistive-mode-instructions %} +1. In the top right corner of the page, click the {% data variables.product.prodname_copilot_short %} icon (**{% octicon "copilot" aria-label="Copilot icon" %}**) to open {% data variables.copilot.copilot_chat_short %}. + + {% data variables.product.prodname_copilot_short %} will use the file contents as context for your question. 1. For a small file, ask {% data variables.product.prodname_copilot_short %}: `Explain this file`. 1. For a large file, ask: `Explain what this file does. Start with an overview of the purpose of the file. Then, in appropriately headed sections, go through each part of the file and explain what it does in detail.` @@ -110,11 +104,13 @@ To find out about a specific line of code: Use {% data variables.product.prodname_copilot_short %} to help you understand the purpose of a specific file or symbol in the codebase. A symbol is a named entity in the code, such as a function, class, or variable. -1. Navigate to a repository on {% data variables.product.github %}. -{% data reusables.copilot.open-chat-panel %} -1. In the prompt box, click **{% octicon "paperclip" aria-label="Add attachments" %} Attach**, then click **Files, folders, and symbols**. -1. Search for and select one or more files, folders, or symbols. -1. In the prompt box, type a question and press Enter. +1. On {% data variables.product.github %}, navigate to a repository and open a file. +1. At the top of the file, click the {% data variables.product.prodname_copilot_short %} icon (**{% octicon "copilot" aria-label="Copilot icon" %}**) to open {% data variables.copilot.copilot_chat_short %}. + + {% data variables.product.prodname_copilot_short %} will display the file contents in a split screen as context for your question. + +1. If you want to ask about a specific symbol, highlight the symbol in the file. +1. In the prompt box, type a question about the file or highlighted symbol, and press Enter. {% data variables.product.prodname_copilot_short %} replies in the chat panel. diff --git a/content/copilot/tutorials/explore-issues-and-discussions.md b/content/copilot/tutorials/explore-issues-and-discussions.md index fd1093bc3a4b..b8d798d82f16 100644 --- a/content/copilot/tutorials/explore-issues-and-discussions.md +++ b/content/copilot/tutorials/explore-issues-and-discussions.md @@ -23,9 +23,10 @@ The quality of {% data variables.copilot.copilot_chat_short %}'s responses may b ## Exploring issues and discussions 1. Navigate to an issue or discussion on {% data variables.product.github %}. -{% data reusables.copilot.open-chat-panel %} -{% data reusables.copilot.chat-previous-conversation %} -1. At the bottom of the {% data variables.product.prodname_copilot_short %} chat panel, in the prompt box, type a question and press Enter. +1. In the top right corner, click the {% data variables.product.prodname_copilot_short %} icon (**{% octicon "copilot" aria-label="Copilot icon" %}**) to open {% data variables.copilot.copilot_chat_short %}. + + ️{% data variables.product.prodname_copilot_short %} will automatically load the content of the issue or discussion as context for your questions. +1. In the prompt box, type a question and press Enter. {% data variables.product.prodname_copilot_short %} responds to your request in the panel. diff --git a/content/copilot/tutorials/explore-pull-requests.md b/content/copilot/tutorials/explore-pull-requests.md index 1199e91a2c60..8e8d798ab6ea 100644 --- a/content/copilot/tutorials/explore-pull-requests.md +++ b/content/copilot/tutorials/explore-pull-requests.md @@ -23,8 +23,9 @@ You can ask {% data variables.product.prodname_copilot_short %} different questi You can ask {% data variables.product.prodname_copilot_short %} to summarize a pull request, or to provide information about the status of a pull request. 1. On {% data variables.product.github %}, navigate to a pull request in a repository. -{% data reusables.copilot.open-chat-panel %} -{% data reusables.copilot.chat-previous-conversation %} +1. In the top right corner of the page, click the {% data variables.product.prodname_copilot_short %} icon (**{% octicon "copilot" aria-label="Copilot icon" %}**) to open {% data variables.copilot.copilot_chat_short %}. + + {% data variables.product.prodname_copilot_short %} will use the pull request as context for your question. 1. At the bottom of the {% data variables.copilot.copilot_chat_short %} panel, in the prompt box, type a question and press Enter. ### Example prompts @@ -41,7 +42,9 @@ You can ask {% data variables.product.prodname_copilot_short %} to explain the c 1. On {% data variables.product.github %}, navigate to a pull request in a repository. 1. Click the **Files changed** tab. -1. Click {% octicon "kebab-horizontal" aria-label="Show options" %} at the top right of the file, then click **Ask {% data variables.product.prodname_copilot_short %} about this diff**. +1. To the right side of a line in the file you want to ask about, click the {% octicon "triangle-down" aria-hidden="true" aria-label="Show file actions" %} icon, then click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**, and select **Ask about this diff**. + + This opens {% data variables.copilot.copilot_chat_short %} with the file changes indicated as the context of your question. 1. Type a question in the prompt box at the bottom of the chat panel and press Enter. ### Example prompts @@ -56,9 +59,10 @@ You can ask {% data variables.product.prodname_copilot_short %} to explain speci 1. On {% data variables.product.github %}, navigate to a pull request in a repository. 1. Click the **Files changed** tab. 1. Click the line number for the first line you want to select, then hold down Shift and click the line number for the last line you want to select. -1. Ask {% data variables.product.prodname_copilot_short %} a question, or choose from a list of predefined questions. - * _To ask your own question about the selected lines_, to the right of your selection, click the {% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %} icon. - This displays the {% data variables.copilot.copilot_chat %} panel with the selected lines indicated as the context of your question. +1. To the right side of one of the selected lines, click the {% octicon "triangle-down" aria-hidden="true" aria-label="Show file actions" %} icon, then click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} {% data variables.product.prodname_copilot_short %}**, and select **Ask about this diff**. + + This opens {% data variables.copilot.copilot_chat_short %} with the selected lines indicated as the context of your question. +1. Type a question in the prompt box at the bottom of the chat panel and press Enter. ### Example prompts @@ -70,12 +74,9 @@ You can ask {% data variables.product.prodname_copilot_short %} to explain speci You can ask {% data variables.product.prodname_copilot_short %} to explain why a workflow has failed in a pull request, and provide suggestions for how to fix the issue. 1. On {% data variables.product.github %}, navigate to a pull request in a repository. -1. Scroll to the bottom of the page, then, next to one of the failing checks, click **Details**. -{% data reusables.copilot.open-chat-panel %} -{% data reusables.copilot.chat-previous-conversation %} -1. At the bottom of the {% data variables.copilot.copilot_chat_short %} panel, in the prompt box, ask {% data variables.product.prodname_copilot_short %} why the pull request has failed and press Enter. +1. Scroll to the bottom of the page, then, next to one of the failing checks, click the ellipsis, and then click **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %} Explain error.** - {% data variables.product.prodname_copilot_short %} responds with information about why the pull request failed. {% data variables.product.prodname_copilot_short %} may also provide suggestions for how to fix the issue. + This opens {% data variables.copilot.copilot_chat_short %} with the workflow failure indicated as the context of your question and a prompt pre-filled in the chat input box. {% data variables.product.prodname_copilot_short %} responds with information about why the pull request failed. {% data variables.product.prodname_copilot_short %} may also provide suggestions for how to fix the issue. 1. If {% data variables.product.prodname_copilot_short %} has provided steps to fix the issue, you can follow the steps to resolve the problem. diff --git a/content/copilot/tutorials/plan-a-project.md b/content/copilot/tutorials/plan-a-project.md index 8d462d06e531..209d6c34696a 100644 --- a/content/copilot/tutorials/plan-a-project.md +++ b/content/copilot/tutorials/plan-a-project.md @@ -46,9 +46,9 @@ By default, issues are enabled for new repositories. If you would like to use an With the repository set up, you can use {% data variables.product.prodname_copilot_short %} to turn your project vision into a set of actionable issues. -### Start in the {% data variables.product.prodname_copilot_short %} immersive view +### Start in {% data variables.product.prodname_copilot_short %} in {% data variables.product.github %} -{% data reusables.copilot.immersive-mode-instructions %} +{% data reusables.copilot.access-chat-instructions %} 1. Using the chat panel, attach the repository for the shopping website. This allows {% data variables.product.prodname_copilot_short %} to access the repository and create issues directly within it. ### Create an epic issue @@ -57,7 +57,7 @@ With the repository set up, you can use {% data variables.product.prodname_copil ```I’m planning to create a shopping website in React and Node.js. The site should allow users to browse products by category, search for items, add products to a cart, and complete checkout. Please help me plan the project by creating issues and breaking it down into epics, features, and tasks.``` 1. Submit your prompt. {% data variables.product.prodname_copilot_short %} will generate an issue tree, typically with an epic at the top and sub-issues for each main feature or task -![Screenshot of Copilot Chat in immersive mode. Copilot chat displays a list of issues with an epic at the top and several sub-issues beneath it.](/assets/images/help/copilot/copilot-creates-sub-issues.png) +![Screenshot of Copilot Chat. Copilot chat displays a list of issues with an epic at the top and several sub-issues beneath it.](/assets/images/help/copilot/copilot-creates-sub-issues.png) ## Navigate the issue tree diff --git a/content/copilot/tutorials/roll-out-at-scale/enable-developers/integrate-ai-agents.md b/content/copilot/tutorials/roll-out-at-scale/enable-developers/integrate-ai-agents.md index 645925d7870a..b2fa2691be2a 100644 --- a/content/copilot/tutorials/roll-out-at-scale/enable-developers/integrate-ai-agents.md +++ b/content/copilot/tutorials/roll-out-at-scale/enable-developers/integrate-ai-agents.md @@ -47,11 +47,11 @@ To hit a tight deadline, you're aiming to speed up each stage of the process, fo 1. When the PM has worked with {% data variables.product.prodname_copilot_short %} to get an overview of the tasks required, they ask {% data variables.product.prodname_copilot_short %} to **create issues** for each part of the work. - {% data variables.product.prodname_copilot_short %} drafts the issues in immersive view, where the PM can refine them and publish them to the repository. + {% data variables.product.prodname_copilot_short %} drafts the issues in `https://github.com/copilot`, where the PM can refine them and publish them to the repository. The PM marks some of the issues as nice-to-haves or maintenance. These may be good candidates for {% data variables.copilot.copilot_coding_agent %}. - ![Screenshot of Copilot Chat in immersive mode. Copilot asks if the user would like to proceed with creating a set of prioritized issues.](/assets/images/help/copilot/sdlc-guide/issue-creation.png) + ![Screenshot of Copilot Chat. Copilot asks if the user would like to proceed with creating a set of prioritized issues.](/assets/images/help/copilot/sdlc-guide/issue-creation.png) 1. To help the developer get started quickly, the PM creates a space with **{% data variables.copilot.copilot_spaces %}** at `https://github.com/copilot/spaces`. The PM collects resources like diagrams and references to code files, submits a few test questions, then shares the space with their organization. @@ -148,7 +148,7 @@ To integrate agentic AI features effectively into your workstreams, you'll need | Feature | More information | | ------- | ---------------- | -| Immersive view of {% data variables.copilot.copilot_chat_short %} | [AUTOTITLE](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-github#submitting-a-question-to-copilot-chat) | +| {% data variables.copilot.copilot_chat_short %} in {% data variables.product.github %} | [AUTOTITLE](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-github#submitting-a-question-to-copilot-chat) | | {% data variables.copilot.copilot_spaces %} ({% data variables.release-phases.public_preview %}) | [AUTOTITLE](/copilot/using-github-copilot/copilot-spaces/about-organizing-and-sharing-context-with-copilot-spaces) | | {% data variables.product.prodname_spark %} ({% data variables.release-phases.public_preview %}) | [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-spark) | | {% data variables.copilot.copilot_chat_short %} agent mode | [Use agent mode in VS Code](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode) | diff --git a/content/get-started/exploring-projects-on-github/contributing-to-open-source.md b/content/get-started/exploring-projects-on-github/contributing-to-open-source.md index c156e5339441..d7e6d85d66e6 100644 --- a/content/get-started/exploring-projects-on-github/contributing-to-open-source.md +++ b/content/get-started/exploring-projects-on-github/contributing-to-open-source.md @@ -49,7 +49,7 @@ When first contributing to a project, starting with minor fixes like documentati 1. Navigate to the **Issues** tab of the `github/docs` repository, then use the **Labels** filter and select "help wanted" to view open issues that maintainers have specifically marked as needing community help. 1. Look through the list of issues and find one you would be interested in working on. -{% data reusables.copilot.immersive-mode-instructions %} +{% data reusables.copilot.access-chat-instructions %} 1. In the prompt box, enter the following prompt: ```text copy 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 f5b2b934664a..0f17882f785f 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 @@ -53,7 +53,7 @@ Before getting started contributing to an open source repository, it's recommend 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" %}** 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. + {% 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. You can also visit the **Pulse** view under the **Insights** tab in the repository to get an overview of recent activity. See the [`github/docs` Pulse](https://github.com/github/docs/pulse) for an example of what an active open source project looks like. diff --git a/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request.md b/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request.md index e148c9af0035..25f614f95cc5 100644 --- a/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request.md +++ b/content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request.md @@ -55,7 +55,7 @@ You can ask {% data variables.copilot.copilot_chat_short %} for help understandi 1. At the top right of the pull request page, click the **{% octicon "copilot" aria-label="Copilot icon" %}** button next to the search bar. - The full-page, immersive, mode of {% data variables.copilot.copilot_chat_short %} is displayed, with the pull request attached as context to the prompt window. + {% data variables.copilot.copilot_chat_short %} is displayed, with the pull request attached as context to the prompt window. 1. In the prompt box, type a question and press Enter. For example, you could enter: diff --git a/data/reusables/copilot/immersive-mode-instructions.md b/data/reusables/copilot/access-chat-instructions.md similarity index 62% rename from data/reusables/copilot/immersive-mode-instructions.md rename to data/reusables/copilot/access-chat-instructions.md index f3dd5693627e..e0f8f0b88ec1 100644 --- a/data/reusables/copilot/immersive-mode-instructions.md +++ b/data/reusables/copilot/access-chat-instructions.md @@ -1,3 +1,3 @@ 1. At the top right of any page on {% data variables.product.github %}, click the **{% octicon "copilot" aria-label="Copilot icon" %}** button next to the search bar. - The full-page, immersive, mode of {% data variables.copilot.copilot_chat_short %} is displayed. + {% data variables.copilot.copilot_chat_short %} is displayed. diff --git a/data/reusables/copilot/assistive-mode-instructions.md b/data/reusables/copilot/assistive-mode-instructions.md deleted file mode 100644 index 008ac5646cf7..000000000000 --- a/data/reusables/copilot/assistive-mode-instructions.md +++ /dev/null @@ -1 +0,0 @@ -Press Shift+C to open {% data variables.copilot.copilot_chat_short %} in assistive mode. diff --git a/data/reusables/copilot/open-chat-panel.md b/data/reusables/copilot/open-chat-panel.md deleted file mode 100644 index 37e393b57748..000000000000 --- a/data/reusables/copilot/open-chat-panel.md +++ /dev/null @@ -1 +0,0 @@ -1. At the top right of the page, click {% octicon "triangle-down" aria-label="The downwards triangle icon" %} next to the **{% octicon "copilot" aria-label="Copilot" %}** icon, then click **Assistive** to open the {% data variables.copilot.copilot_chat_short %} panel.