Data to exercise the grid view sort and indicators
Owner:
Ivan Hawkes
references:
p2-us-kanban-grid-view
Seed Kanban Sorting Test Data
Add card data that exercises every branch of the grid view sort score and its colour indicators.
Seed Kanban Sorting Test Data
The grid view sorts on overdue status and on the priority digit in the card
filename, and colours cards late, urgent and high-priority. The current content
tree exercises none of those branches, so the acceptance criteria in
p2-us-kanban-grid-view cannot be verified.
Current state of content/kanban/:
- no card has priority
p0, so the urgent indicator never fires - one card has priority
p3; the other 25 arep2and score identically, so the tie-break rules decide the whole board - only two cards carry a
duedate (p1-id-initial-concept,p1-sp-write-specifications), both in the future, so no card is ever overdue and the late indicator and the +150 score term never fire
Tasks
- Seed - give a spread of cards past and future
duedates, covering the overdue and not-overdue branches - Seed - add cards at priority
p0andp1to exercise the urgent and high-priority indicators - Assert - add a check that the built
/kanban/grid/page orders cards by score, then by the documented tie-break rules
Acceptance Criteria
- Every score term (overdue, priority) and every indicator (late, urgent, high-priority) is triggered by at least one seeded card
- At least one lane contains a score tie, so the tie-break rules are exercised