reorg notes

This commit is contained in:
Radek Stepan 2014-10-09 20:06:38 -07:00
parent 7f7c64d9c8
commit a3a8c38a6b
1 changed files with 39 additions and 0 deletions

39
TODO.md
View File

@ -2,6 +2,45 @@
##Release: MVP
###Main
- [ ] reorg code into its own little modules; have a consistent naming strategy, get an inspiration somewhere and stick to t
For `LABELS` strategy:
- [ ] the page says whether we need to know progress for a particular milestone, all of them, all projects.
- [ ] based on previous fetch all issues
- [ ] determine the total issues size of a milestone and the closed issues size
- [ ] save this information on the milestone
For `ONE_SIZE` stŕategy:
- [ ] we need not fetch all issues, progress is determined based on `open_issues` and `closed_issues` keys
For both strategies:
- [ ] based on the page we are at (chart), we may need to fetch issues for a milestone, do that
```coffeescript
{
'name': 'radekstepan'
'owner': 'disposable'
'milestones': [
{
'issues':
'open':
'github': obj
'size': 15 # in points be it LABELS or ONE_SIZE
'closed':
'size': 7
'github': obj
'progress': 0.66
'github': obj
}
]
}
```
###GitHub
- [ ] progress needs to be calculated based on strategy even on homepage, then sort the milestones based on priority