1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

change Trello activity reporting to be more concise

This commit is contained in:
Elliott Stoneham 2016-09-15 17:08:51 +01:00
parent cf01d9365a
commit 44716e8b9e
3 changed files with 26 additions and 11 deletions

View file

@ -183,7 +183,7 @@ type trelloBoard struct {
Blue string `json:"blue"`
Purple string `json:"purple"`
} `json:"labelNames"`
Included bool `json:"included"` // indicates whether we display this board
Included bool `json:"included"` // indicates whether we display this board
NamePath string `json:"namePath"` // the "team / board" form
}
@ -253,13 +253,18 @@ type trelloListCards struct {
Cards []trelloCard
}
type trelloActionSummaryEntry struct {
Name string
Count int
}
type trelloRenderBoard struct {
Board trelloBoard
Data []trelloListCards
CardCount int
ListCount int
Actions []trelloAction
ActionSummary map[string]int
ActionSummary []trelloActionSummaryEntry
Archived []trelloCard
}