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

Improve model hook of project/tasks/index

Aberta
#1,428 4 comentários 0 reações 1 responsável Reivindicada por @snewcomer Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
120
Forks
75
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

# 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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.