code-corps / code-corps/code-corps-ember

Improve model hook of project/tasks/index

Open
#1,428 4 comments 0 reactions 1 assignee Claimed by @snewcomer View on GitHub
Dominant language
JavaScript
Stars
120
Forks
75
PR merge metrics
No merged PRs in 30d

Description

# Problem

The current `model` hook does a lot of `async`, `await`, and `RSVP.all` weirdness. We should either:

- just query for and assign the project as the model, then have the task lists and the project users be a computed on the controller. ~2-4 hours, depending on tests, etc
- get the project using `modelFor`, then have the model hook explicitly make two queries, one for all members of that project, the other for all task lists of that project. our API would need to support those filters on those respective endpoints. ~~4-6 hours

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.