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

Improve model hook of project/tasks/index

未關閉
#1,428 4 則留言 0 個 reaction 已指派 1 人 已被 @snewcomer 認領 在 GitHub 檢視
主要語言
JavaScript
星號
120
分支
75
PR 合併指標
30 天內沒有已合併 PR

描述

# 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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。