diff --git a/commands/stories.py b/commands/stories.py index 05896bf..3f6eff3 100644 --- a/commands/stories.py +++ b/commands/stories.py @@ -56,7 +56,7 @@ def __get_row( owner_id, points = item name = persons[owner_id]["name"] - estimates = [round(points[state], 1) for state in STATES[1:]] + estimates = [round(points[state], 1) for state in STATES] progress = "[" if show_accepted: @@ -68,6 +68,7 @@ def __get_row( + __burndown(COLOR_STARTED, "S", points["started"]) + __burndown(COLOR_REJECTED, "R", points["rejected"]) + __burndown(COLOR_PLANNED, "P", points["planned"]) + + __burndown(COLOR_PLANNED, "U", points["unstarted"]) + "]" ) @@ -130,7 +131,7 @@ def __print_totals(totals: Totals, persons: Persons, show_accepted: bool) -> Non COLOR_HEADER.print("Point totals:", end="\n\n") state_headers = [_format_state(state) for state in STATES] - headers = ("Owner", *state_headers[1:], "Total", "Progress") + headers = ("Owner", *state_headers, "Total", "Progress") data = sorted( (__get_row(item, persons, show_accepted) for item in totals.items()),