Create and Edit Notes: Capture your thoughts quickly by adding new notes. And edit your notes seamlessly.
Delete Notes: Completed a task? Simply delete the note associated with it.
To create your own version of this project, follow these steps:
-
Clone this repository:
git clone https://github.com/eficode/copilot-notes-app.git cd copilot-notes-app
-
Create a new repository on GitHub:
- Go to GitHub and create a new repository (don't initialize with README, .gitignore, or license)
- Copy the repository URL
-
Remove the original remote and add your new repository:
git remote remove origin git remote add origin NEW_REPO_URL
-
Push the code to your new repository:
git branch -M main git push -u origin main
Now you have your own copy of the project that you can modify and experiment with!
To run the application, follow these steps:
-
Install dependencies:
npm install
-
Start the application:
npm run dev
-
Run tests (optional):
npm run test
Before we can start delegating requests to Copilot, we need to grant access to our repository.
-
In the top right, click your user icon and select Settings.
-
In the left navigation, expand the Copilot section and select Coding agent.
-
The Repository access field should either have All repositories or
Only selected repositories
and ensure the new repository is selected.
This ensures the Copilot coding agent is properly configured for your repository.
To check the Copilot coding agent settings for your repository:
- Go to your repository on GitHub.
- Click on Settings in the repository menu.
- In the left sidebar, find and select the Copilot section.
- Click on Coding agent.
- Explore the Internet access settings. This is the place where the Copilot's access to internet can be restricted. More information
-
Create a new issue in this repository, similar to the Issue.
-
Assign the issue to GitHub Copilot Agent:
- After creating the issue, you can assign it to
Copilot
using the assignees section on the right sidebar of the issue.
- After creating the issue, you can assign it to
-
Use GitHub Copilot Agent in your issue:
- Once assigned,The issue will have an
👀
reaction to show Copilot is reading the issue. - The activity log shows you assigned the issue to Copilot.
- The issue log includes a linked pull request.
Copilot Agent can provide ongoing assistance and track progress on the issue.
- Once assigned,The issue will have an
-
Scroll down slightly to view the timeline and high-level notes provided by Copilot. Click the View session button
- Back in the pull request, click the Add your review button.
- Find the new entry created by Copilot. Hover over a line to show the plus sign. Click to open the add comment dialog box.
- Enter any additional comments and click on Start a review.
- At the top of the changes list, click the Finish your review button and select Submit Review.
- After a moment, Copilot will add a new session entry and indicate progress on the timeline. You can also mention
@copilot
in the PR comments if it takes longer for the session to get started - Wait for Copilot to finish working on the change and then click the View changes button to see the updated activity description.
- While adding a comment, you can also use the
Copilot
icon in the text field to generateSummary
- Activate the pull requests by clicking the Ready to Review button then click the Merge button.
This workflow helps you collaborate and get AI-powered assistance while contributing new features!
Try the Filtering Issue
Try the refactoring Issue
Documenting code is always a boring and painful task. However, we can use Copilot to document it for us.
- Create new features in the code
- Ask Copilot to make the UI better