gsxdsm
2d52908d52
FN-8879: preserve local task detail patches
Keep locally authored task-detail updates visible without weakening server snapshot freshness.
- Add a local patch helper that preserves lifecycle guards only for explicitly stale patches.
- Apply id-less local detail updates in modal, split-detail, and main-panel views while rejecting foreign task ids.
- Cover equal-clock, lifecycle, and split-detail patch behavior with dashboard tests.
- Add a patch changeset for visible PR and review updates.
Files changed:
.changeset/fn-8879-detail-task-patch.md | 7 ++
packages/dashboard/app/components/ListView.tsx | 15 +++--
.../app/components/__tests__/ListView.test.tsx | 21 ++++++
.../app/components/dashboard/MainContent.tsx | 6 +-
.../MainContent.detail-task-patch.test.tsx | 77 ++++++++++++++++++++++
.../app/hooks/__tests__/useModalManager.test.ts | 42 ++++++++++++
.../__tests__/useTasks-hydration-freshness.test.ts | 61 ++++++++++++++++-
packages/dashboard/app/hooks/useModalManager.ts | 15 +++--
packages/dashboard/app/hooks/useTasks.ts | 45 +++++++++++++
9 files changed, 275 insertions(+), 14 deletions(-)
Fusion-Task-Id: FN-8879
Fusion-Task-Lineage: 7166b597-c4c7-491a-a9d8-856fa820865e
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-09 00:47:50 -07:00
..
2026-08-08 22:35:59 -07:00
2026-08-08 14:25:19 -07:00
2026-08-09 00:41:18 -07:00
2026-08-09 00:47:50 -07:00
2026-08-08 14:25:19 -07:00
2026-08-08 14:25:19 -07:00
2026-08-09 00:41:18 -07:00
2026-08-08 19:13:14 -07:00
2026-08-08 14:25:19 -07:00
2026-08-08 14:25:19 -07:00
2026-07-27 19:40:08 -07:00
2026-08-08 14:25:19 -07:00