Skip to content

Commit 20fe636

Browse files
authored
fix: Update terms and images to latest versions (#38)
1 parent 4c9b2cb commit 20fe636

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

.github/steps/1-preparing.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ GitHub Copilot has been proven to increase developer productivity and accelerate
1717
Your most common interactions will likely be:
1818

1919
- **Inline suggestions**: As you type, Copilot uses the nearby context to suggest code directly in your editor. This will be a familiar interaction if you have used code completion tools like [Intellisense](https://code.visualstudio.com/docs/editor/intellisense), except that the completions may be entire functions.
20-
- **Copilot Chat**: A dedicated chat panel that lets you ask coding related questions. This will feel familiar if you have used online AI assistant chats. The big difference however, is that your project files will provide automatic context to provide tailored responses.
21-
- **Copilot Edits**: Similar to Copilot Chat, but less conversational and more big picture or goal oriented.
20+
- **Copilot - Ask Mode**: A dedicated chat panel that lets you ask coding related questions. This will feel familiar if you have used online AI assistant chats. The big difference however, is that your project files will provide automatic context to provide tailored responses.
21+
- **Copilot - Edit Mode**: Similar to Copilot Chat, but less conversational. Copilot will make changes to your files to implement your request.
2222

2323
> [!TIP]
2424
> You can learn more about current and upcoming features in the [GitHub Copilot Features](https://docs.github.com/en/copilot/about-github-copilot/github-copilot-features) documentation. You can also select different [models](https://docs.github.com/en/github-models) and make your own [extensions](https://github.com/features/copilot/extensions), but that's for a different lesson!
@@ -52,11 +52,11 @@ Let's start up our development environment, use copilot to learn a bit about the
5252

5353
<img width="150" alt="image" src="https://github.com/user-attachments/assets/5e64db46-95cb-415d-badc-b6b8677f10c1" />
5454

55-
1. If this is your first, time using GitHub Copilot, you will have to accept the usage terms to continue.
55+
1. If this is your first time using GitHub Copilot, you will need to accept the usage terms to continue.
5656

5757
1. Enter the below prompt to ask Copilot to introduce you to the project.
5858

59-
> <img width="13px" src="https://github.com/user-attachments/assets/98fd5d2e-ea29-4a4a-9212-c7050e177a69" /> **Prompt**
59+
> ![Static Badge](https://img.shields.io/badge/-Prompt-text?style=social&logo=github%20copilot)
6060
>
6161
> ```prompt
6262
> @workspace Please briefly explain the structure of this project.
@@ -92,9 +92,9 @@ Great work! Now that we are familiar with the app and we know it works, let's as
9292
9393
1. Within the new terminal window use the keyboard shortcut `Ctrl + I` (windows) or `Cmd + I` (mac) to bring up **Copilot's Terminal Inline Chat**.
9494
95-
1. Let's ask Copilot to help us remember a command we have forgotten: creating a branch and publishing it
95+
1. Let's ask Copilot to help us remember a command we have forgotten: creating a branch and publishing it.
9696
97-
> <img width="13px" src="http://github.com/%3C/span%3Ehttps://%3Cspan%20class="x x-first x-last">github.com/user-attachments/assets/98fd5d2e-ea29-4a4a-9212-c7050e177a69" /> **Prompt**
97+
> ![Static Badge](https://img.shields.io/badge/-Prompt-text?style=social&logo=github%20copilot)
9898
>
9999
> ```prompt
100100
> Hey copilot, how can I create and publish a new Git branch?
@@ -109,7 +109,7 @@ Great work! Now that we are familiar with the app and we know it works, let's as
109109
git push -u origin {new_branch_name}
110110
```
111111
112-
> <img width="13px" src="https://github.com/user-attachments/assets/98fd5d2e-ea29-4a4a-9212-c7050e177a69" /> **Prompt**
112+
> ![Static Badge](https://img.shields.io/badge/-Prompt-text?style=social&logo=github%20copilot)
113113
>
114114
> ```prompt
115115
> Awesome! Thanks, Copilot! Let's use the

.github/steps/2-first-introduction.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ In short, you can think of Copilot like a very specialized coworker. To be effec
2323
2424
### :keyboard: Activity: Use Copilot to fix our registration bug :bug:
2525

26-
1. Let's ask Copilot to suggest where our bug might be coming from. Open the **Copilot Chat** panel and ask the following.
26+
1. Let's ask Copilot to suggest where our bug might be coming from. Open the **Copilot Chat** panel in **Ask mode** and ask the following.
2727

28-
> <img width="13px" src="https://github.com/user-attachments/assets/98fd5d2e-ea29-4a4a-9212-c7050e177a69" /> **Prompt**
28+
> ![Static Badge](https://img.shields.io/badge/-Prompt-text?style=social&logo=github%20copilot)
2929
>
3030
> ```prompt
3131
> @workspace Students are able to register twice for an activity.
@@ -100,7 +100,7 @@ In new project developments, it's often helpful to have some realistic looking f
100100
101101
1. Enter the following prompt text and press enter or the **Send and Dispatch** button.
102102

103-
> <img width="13px" src="https://github.com/user-attachments/assets/98fd5d2e-ea29-4a4a-9212-c7050e177a69" /> **Prompt**
103+
> ![Static Badge](https://img.shields.io/badge/-Prompt-text?style=social&logo=github%20copilot)
104104
>
105105
> ```prompt
106106
> Add 2 more sports related activities, 2 more artistic

.github/steps/3-copilot-edits.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
In our previous steps, we used features of Copilot that require more hands-on guidance and they produced mostly localized results. Now, we will explore Copilot Edits, a feature that allows working more holistically on our repo.
44

5-
[Copilot Edits](https://code.visualstudio.com/docs/copilot/copilot-edits) is an AI-powered code editing session to make changes across **multiple files** using **natural language**, and applies the edits directly in the editor, where you can review them in-place, with the full context of the surrounding code.
5+
[Copilot - Edit Mode](https://code.visualstudio.com/docs/copilot/copilot-edits) is an AI-powered code editing session to make changes across **multiple files** using **natural language**, and applies the edits directly in the editor, where you can review them in-place, with the full context of the surrounding code.
66

77
#### Key features
88

@@ -23,21 +23,21 @@ In our previous steps, we used features of Copilot that require more hands-on gu
2323

2424
1. If the Copilot Chat panel is not visible, please reopen it.
2525

26-
1. In the top left part of Copilot Chat window, click the **Copilot Edits** icon to switch modes.
26+
1. At the bottom of Copilot Chat window, use the dropdown to switch to **Edit** mode.
2727

28-
<img width="200" alt="image" src="https://github.com/user-attachments/assets/0b17c5bd-d03b-41b1-b97d-624fcbf8ccd1" />
28+
<img width="350" alt="image" src="https://github.com/user-attachments/assets/646fc94a-7d60-4821-b9cf-9ec6f4fd03d7" />
2929

3030
1. Open the files related to our webpage then drag each editor window (or file) to the chat panel, informing Copilot to use them as context.
3131

3232
- `src/static/app.js`
3333
- `src/static/index.html`
3434
- `src/static/styles.css`
3535

36-
> **Tip:** You can also use the **Attach files...** button to provide other sources of context items, like a GitHub issue, the entire codebase, or the results of a terminal window.
36+
> **Tip:** You can also use the **Add Context...** button to provide other sources of context items, like a GitHub issue, the entire codebase, or the results of a terminal window.
3737
3838
1. Ask Copilot to update our project to display the current participants of activities. Wait a moment for the edit suggestions to arrive and be applied.
3939

40-
> <img width="13px" src="https://github.com/user-attachments/assets/98fd5d2e-ea29-4a4a-9212-c7050e177a69" /> **Prompt**
40+
> ![Static Badge](https://img.shields.io/badge/-Prompt-text?style=social&logo=github%20copilot)
4141
>
4242
> ```prompt
4343
> Hey Copilot, can you please edit the activity cards to add a participants section.

.github/steps/3b-copilot-agent-mode.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ Now, let's give **Agent** mode a try! 👩‍🚀
1818

1919
Let's experiment with some more open-ended requests that will add more functionality to our web application. Remember, AI assistants often produce different results, even if the same prompt is provided. If you don't get the desired results, you can try other models or provided followup feedback to refine the results.
2020

21-
1. Open the **Copilot** side panel and use the dropdown menu to switch to **Agent** mode.
21+
1. Open the **Copilot** chat panel and use the dropdown menu to switch to **Agent** mode.
2222

23-
<img width="250" alt="image" src="https://github.com/user-attachments/assets/201e08ab-14a0-48bf-824e-ba4f8f43f8ab" />
23+
<img width="250" alt="image" src="https://github.com/user-attachments/assets/8c537e2a-d89a-4908-8d35-77c7f0830805" />
2424

2525
1. Time for our test! Let's ask Copilot to add functionality for removing participants.
2626

27-
> <img width="13px" src="https://github.com/user-attachments/assets/98fd5d2e-ea29-4a4a-9212-c7050e177a69" /> **Prompt**
27+
> ![Static Badge](https://img.shields.io/badge/-Prompt-text?style=social&logo=github%20copilot)
2828
>
2929
> ```prompt
3030
> #codebase Please add a delete icon next to each participant and hide the bullet points.
@@ -38,7 +38,7 @@ Let's experiment with some more open-ended requests that will add more functiona
3838
3939
1. Ask Copilot to fix a registration bug.
4040
41-
> <img width="13px" src="http://github.com/%3C/span%3Ehttps://%3Cspan%20class="x x-first x-last">github.com/user-attachments/assets/98fd5d2e-ea29-4a4a-9212-c7050e177a69" /> **Prompt**
41+
> ![Static Badge](https://img.shields.io/badge/-Prompt-text?style=social&logo=github%20copilot)
4242
>
4343
> ```prompt
4444
> #codebase I've noticed there seems to be a bug.
@@ -63,7 +63,7 @@ Just for fun, let's try something even more difficult and open-ended to see what
6363
6464
1. Ask Copilot to install a local database service.
6565
66-
> <img width="13px" src="http://github.com/%3C/span%3Ehttps://%3Cspan%20class="x x-first x-last">github.com/user-attachments/assets/98fd5d2e-ea29-4a4a-9212-c7050e177a69" /> **Prompt**
66+
> ![Static Badge](https://img.shields.io/badge/-Prompt-text?style=social&logo=github%20copilot)
6767
>
6868
> ```prompt
6969
> Please install a local mongodb server for development reasons.
@@ -76,7 +76,7 @@ Just for fun, let's try something even more difficult and open-ended to see what
7676
7777
1. Ask Copilot to change our app to use the database service. 🤯
7878
79-
> <img width="13px" src="http://github.com/%3C/span%3Ehttps://%3Cspan%20class="x x-first x-last">github.com/user-attachments/assets/98fd5d2e-ea29-4a4a-9212-c7050e177a69" /> **Prompt**
79+
> ![Static Badge](https://img.shields.io/badge/-Prompt-text?style=social&logo=github%20copilot)
8080
>
8181
> ```prompt
8282
> #codebase I don't like that we are storing the data in memory.

0 commit comments

Comments
 (0)