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 17:49:20 -07:00
2026-06-01 22:11:30 -07:00
2026-05-17 04:20:00 -07:00
2026-05-12 07:47:10 -07:00
2026-04-08 10:39:38 -07:00
2026-06-02 09:34:19 -07:00
2026-04-12 17:55:07 -07:00
2026-06-08 13:32:58 -07:00
2026-05-26 21:57:31 -07:00
2026-05-20 03:19:44 -07:00
2026-04-08 16:48:35 -07:00
2026-05-30 14:18:15 -07:00
2026-04-28 14:30:38 -07:00
2026-05-15 22:24:12 -07:00
2026-06-15 02:29:08 -07:00
2026-05-13 15:05:05 -07:00
2026-04-23 23:02:36 -07:00
2026-06-17 04:51:31 -07:00
2026-06-17 17:49:20 -07:00
2026-06-03 20:52:44 -07:00
2026-05-15 15:19:56 -07:00
2026-06-13 19:40:15 -07:00
2026-05-23 20:44:01 -07:00
2026-05-17 11:33:56 -07:00
2026-06-03 19:06:53 -07:00
2026-06-03 19:06:53 -07:00
2026-04-20 12:59:58 -07:00
2026-05-21 18:15:26 -07:00
2026-05-20 03:19:44 -07:00
2026-05-03 14:10:11 -07:00
2026-05-03 07:47:45 -07:00
2026-05-17 11:33:56 -07:00
2026-05-17 11:33:56 -07:00
2026-06-10 09:21:48 -07:00
2026-05-20 03:19:44 -07:00
2026-04-23 23:02:36 -07:00
2026-06-03 19:06:53 -07:00
2026-05-20 04:12:40 -07:00
2026-03-26 00:10:53 -04:00
2026-06-03 22:35:28 -07:00
2026-06-03 20:52:44 -07:00
2026-05-16 09:21:06 -07:00
2026-06-03 13:02:23 -07:00
2026-04-24 23:16:29 -07:00
2026-06-10 09:21:48 -07:00
2026-04-25 18:22:37 -07:00
2026-04-28 14:25:55 -07:00
2026-05-23 15:57:48 -07:00
2026-06-10 09:21:48 -07:00
2026-06-13 10:14:11 -07:00
2026-06-13 10:29:24 -07:00
2026-06-17 03:47:42 -07:00
2026-06-13 11:46:53 -07:00
2026-05-20 03:19:44 -07:00
2026-05-02 08:05:33 -07:00
2026-06-09 22:44:30 -07:00
2026-04-09 13:01:19 -07:00
2026-06-10 09:21:48 -07:00
2026-06-17 21:37:18 -07:00
2026-05-23 02:06:11 -07:00
2026-05-05 12:14:20 -07:00
2026-05-06 02:14:05 -07:00
2026-04-16 10:04:44 -07:00
2026-05-21 18:15:26 -07:00
2026-04-23 23:02:35 -07:00
2026-06-03 19:06:53 -07:00
2026-06-07 02:26:00 +07:00
2026-04-23 23:02:36 -07:00
2026-06-03 19:06:53 -07:00
2026-06-10 09:21:48 -07:00
2026-04-24 08:55:02 -07:00
2026-06-10 09:21:48 -07:00
2026-06-17 17:49:20 -07:00
2026-04-10 02:59:38 -07:00
2026-05-19 08:13:07 -07:00
2026-05-21 18:15:26 -07:00
2026-06-17 03:29:39 -07:00
2026-05-01 13:08:07 -07:00
2026-04-13 18:21:31 -07:00
2026-04-22 01:31:40 -07:00
2026-04-20 10:16:13 -07:00
2026-05-08 08:37:26 -07:00
2026-05-07 23:21:05 -07:00
2026-05-29 21:32:09 -07:00
2026-06-07 23:30:16 -07:00
2026-06-07 23:30:16 -07:00
2026-06-09 12:57:21 -07:00
2026-04-23 23:02:35 -07:00
2026-05-17 10:37:54 -07:00
2026-05-23 00:03:22 -07:00
2026-06-03 20:52:44 -07:00
2026-04-27 01:40:07 -07:00
2026-06-10 09:21:48 -07:00
2026-06-11 19:37:25 -07:00
2026-06-15 19:23:17 -07:00
2026-04-23 23:02:36 -07:00
2026-06-03 19:06:53 -07:00
2026-04-23 23:02:36 -07:00
2026-05-15 23:39:43 -07:00
2026-06-10 09:21:48 -07:00