Skip to content

Create Model for Task-List #855

@WenInCode

Description

@WenInCode

Problem

From the corresponding API issue

Currently, a project in code corps has many tasks. We need to create a new layer, 'task list', that allows ordered grouping of those tasks within a project. The task list should have the following properties:

  • name: string
  • position: integer
  • tasks: has_many tasks
  • project: belongs_to project

We'll also need to create/update mirage models & endpoints

Other model changes

Project:

  • hasMany TaskLists

Tasks:

  • belongsTo TaskList

Subtasks

  • Create task-list model & mirage model
  • Update project & tasks models & mirage models
  • Create task-list mirage endpoint

References

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions