Explain Your Pull Requests

The turkey page now lists each pickup day’s deadline and each size’s price, its issue is closed, and the tests pass for both functions. On a team, a colleague would also have reviewed your own pull request, which GitHub doesn’t let you approve yourself.

In this lesson, the mentor plays that teammate. You’ll hand over your check report, your pull request’s description, and your review of the AI draft, and then explain your choices the way you would in a real review. The review ends with one more small change of your own, so have the project open on your laptop and give yourself time to finish it.

Gather What You’ll Paste

The mentor reviews your work from what you paste, the way a teammate reads a pull request without your laptop in front of them. Have these three pieces ready before you start, each in a text file or a note:

  1. Your npm run check report. You saved it as turkey-check.txt in the folder above the project. From the project folder, print it with cat ../turkey-check.txt, or open it in VS Code. If you haven’t saved the report, then switch to main, pull, and save a fresh report with npm run check > ../turkey-check.txt.

  2. Your pull request’s title and description. On GitHub, open the Pull requests tab, click Closed, and open the pull request for the turkey page’s logic. Copy its title and the description at the top of the Conversation tab.

  3. Your review of the AI draft. Open the closed pull request Add a Christmas turkey pre-order page. Your two line comments are resolved, so GitHub collapses them. Click Show resolved on each to expand it, then copy both comments and your review summary.

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Become a Member to join the conversation.