So far, our task list was sufficient enough to display all details of tasks directly in the listing. However, as we will add more details to tasks in this chapter, it's time to provide a detailed view where users can edit the task.
We already laid the groundwork for project navigation using the router in Chapter 5, Component-Based Routing. Adding a new routable component that we'll use in the context of our projects will be a breeze.
Before we start creating a new task details component, let's introduce a new state within our task model. Users should have the additional option to provide a task description in addition to the task title. This description will be editable on the task details view.
Let's open our model file, located in src/app/model.ts, and add an optional description field to our task interface:
…
export interface Task {
readonly...