You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.1 KiB

Oh the things you'll do

Model

The model will include Projects and Tasks. A Project owns a collection of Tasks (but Tasks can exist outside of projects too), and a Project has a title. A Task has a title, an optional description, and an integer priority level between 0 and 3, zero being critical.

classDiagram
    class Project {
        +String title
        +List<Task> tasks
    }
    class Task {
        +String title
        +String description
        +int priority
    }

    Project --> "*" Task

View

There will be a collection of projects on the home page. Clicking on a project will navigate the user to the project detail page, where they will find the project title on top and a collection of tasks. Clicking on a task will navigate the user to the task detail page, where they will find the task title, the task description if any, and the task priority represented with a label of a certain color next to the words 'priority X' where X is the priority level.

graph TB
    A[Home Page] --> B[Project Detail Page]
    B --> C[Task Detail Page]