Add a small duration formatting helper for UI timers. - New file `src/utils/duration.ts` exporting `formatDuration(ms: number): string`. - Under 1000ms return the milliseconds with an `ms` suffix (e.g. `350` → `350ms`). - 1000ms and above return seconds with one decimal place and an `s` suffix (`1200` → `1.2s`, `2000` → `2.0s`). - Negative or non-finite input returns `0ms`. - Tests colocated at `src/utils/duration.spec.ts`.
Activity
jmmon commentedon Oct 25, 2026
Factory run claimed this issue at 2026-10-25T19:52:05-04:00. Branch:
factory/issue-1.jmmon commentedon Oct 25, 2026
Factory run escalated: station spec failed
Local logs:
factory/logs/issue-1/.jmmon commentedon Oct 25, 2026
Factory run claimed this issue at 2026-10-25T19:53:23-04:00. Branch:
factory/issue-1.jmmon commentedon Oct 25, 2026
Factory run escalated: station implement failed
Local logs:
factory/logs/issue-1/.7 remaining items
jmmon commentedon Oct 26, 2026
Factory run claimed this issue at 2026-10-25T20:13:16-04:00. Branch:
factory/issue-1.jmmon commentedon Oct 26, 2026
Factory run escalated: station implement failed
Local logs:
factory/logs/issue-1/.jmmon commentedon Oct 26, 2026
Factory run claimed this issue at 2026-10-25T20:16:43-04:00. Branch:
factory/issue-1.jmmon commentedon Oct 26, 2026
Factory run claimed this issue at 2026-10-25T20:20:32-04:00. Branch:
factory/issue-1.jmmon commentedon Oct 26, 2026
Factory opened a draft PR: #2