aggregateRows() recomputes a client-side aggregate over the filtered rows;
the donut, legend, center %, Team-total footer (relabeled 'Total (shown)'),
and the header count now reflect the current team/intern selection. Works in
both Files and Time units; unchanged when no filter is active.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Report model gains optional durations{} + durationTotal + durationKnown.
- _group_by_annotator and _aggregate sum per-status durations (deduped once).
- Topbar #unit-filter select (persisted); metric()/metricTotal()/fmt()/secondsToHM()
abstractions rewire donut, legend, bars, columns, %, and sorting to the active unit.
- Old reports with no durations render '—' under Time, unchanged under Files.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Store one report file per (annotator, folder) instead of overwriting per person;
dedupe to newest per (annotator, folder) and group by annotator, summing counts
and listing each folder under the name. Back-compatible with legacy flat reports.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Dashboard: Recovery as its own sortable column (amber flag); Intern stays a team-cell tag
Backward-compatible: reports without a team show 'Unassigned'; unknown team
strings are clamped server-side. Adds team to the sortable columns.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Dashboard: rank column with gold/silver/bronze podium for top 3 (leaderboard sorts)