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

Improve model hook of project/tasks/index

オープン
#1,428 コメント 4 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。