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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user