gsxdsm
ae3e57572f
FN-6618: consolidate dashboard relative-time formatting
Centralize duplicated dashboard relative-time bucket logic while preserving surface-specific copy.
- Route activity log, mailbox, git manager, project card, and task detail timestamps through the shared relative-time helper.
- Keep specialized freshness labels local where seconds granularity or prefixed sync/check status copy differs from the generic helper.
- Extend component tests to cover the preserved timestamp wording and invalid/future-date behavior.
Files changed:
.../dashboard/app/components/ActivityLogModal.tsx | 36 ++++++++++------
.../app/components/AgentReflectionsTab.tsx | 7 ++-
.../dashboard/app/components/GitManagerModal.tsx | 34 ++++++++++-----
packages/dashboard/app/components/MailboxModal.tsx | 38 ++++++++++------
packages/dashboard/app/components/MailboxView.tsx | 38 ++++++++++------
packages/dashboard/app/components/PrChecksList.tsx | 4 ++
packages/dashboard/app/components/ProjectCard.tsx | 35 ++++++++++-----
packages/dashboard/app/components/RoutineCard.tsx | 3 ++
.../dashboard/app/components/TaskDetailModal.tsx | 37 ++++++++++------
.../components/__tests__/ActivityLogModal.test.tsx | 41 +++++++++++++++++-
.../components/__tests__/GitManagerModal.test.tsx | 36 +++++++++++++++-
.../app/components/__tests__/MailboxModal.test.tsx | 35 ++++++++++++++-
.../app/components/__tests__/MailboxView.test.tsx | 35 ++++++++++++++-
.../app/components/__tests__/ProjectCard.test.tsx | 50 +++++++++++++++++++++-
.../__tests__/TaskDetailModal.rendering.test.tsx | 44 +++++++++++++++++++
.../dashboard/app/hooks/useNodeSettingsSync.ts | 3 ++
16 files changed, 398 insertions(+), 78 deletions(-)
Fusion-Task-Id: FN-6618
Fusion-Task-Lineage: ac24de7c-3333-43f7-83c1-aa4c2a3dbe31
2026-06-17 21:37:18 -07:00
..
2026-06-17 18:48:53 -07:00
2026-06-16 22:44:16 -07:00
2026-06-17 21:37:18 -07:00
2026-05-14 15:25:08 -07:00
2026-06-17 21:37:18 -07:00
2026-06-04 08:00:33 -07:00
2026-06-09 13:54:59 -07:00
2026-06-16 22:29:07 -07:00
2026-06-16 15:08:24 -07:00
2026-05-17 22:16:27 -07:00
2026-06-17 18:48:53 -07:00
2026-06-11 09:21:23 -07:00
2026-06-17 11:46:31 -07:00
2026-05-29 11:25:11 -07:00
2026-05-29 20:05:14 -07:00
2026-06-03 08:16:08 -07:00
2026-05-20 19:58:49 -07:00
2026-06-16 15:08:24 -07:00
2026-06-10 00:20:35 -07:00