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