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 摘要。