From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Review refactored site sections

Review refactored site sections

I actually used this Petal and Pines project in another course I published, one focused on Copilot in Visual Studio, where I used it as an agent refactoring example. In other words, I took the site from the original prototyping session and used it as the baseline for a set of improvements. That refactor had three main goals. First, add a new set of data and pages. I created a simple customer management area for employees to use. This required creating a new CustomerModel class, a new CustomerRepository class, a new page, and changes to the UI navigation. Second, add an insurance waiver workflow. This was needed because customers aren't allowed to join the tour unless they have signed an insurance waiver. Not only do we need to modify the sign-up page to include this waiver, but we need a way for our employees to review the waiver status. This required adding some new data fields to the existing model classes and updating the UI to reflect that. We also created a filtering feature for…

Contents