feat(FN-2512): add elapsed timer chip to task cards

- Derive task elapsed time from columnMovedAt with updatedAt/createdAt fallbacks and guard against invalid or future timestamps
- Render a clock-based timer chip on in-progress and done cards with accessible labeling and tooltip metadata
- Add TaskCard styles for the timer row/chip using design tokens, including mobile-size adjustments
- Expand TaskCard tests to cover visibility by column, invalid timestamp suppression, boundary label formatting, and 30s live refresh cadence
This commit is contained in:
Fusion
2026-04-25 12:46:06 -07:00
committed by gsxdsm
parent ff6a68bac4
commit f560af593a
9 changed files with 454 additions and 16 deletions

View File

@@ -113,6 +113,12 @@ export interface AgentRunItem {
endedAt: string | null;
status: string;
triggerDetail?: string;
invocationSource?: string;
stdoutExcerpt?: string;
stderrExcerpt?: string;
resultJson?: Record<string, unknown>;
// Optional synthetic log lines for tests / alternate data providers.
logs?: string[];
}
// Slim agent detail shape for Agents view detail panel