feat(FN-818): use merge commit diff for done-task Changes tab

- Refactor TaskChangesTab to use merge commit diff for done/archived tasks instead of branch diff
- Add CommitDiffTab component integration for displaying merge commit changes
- Remove legacy API endpoints and tests for branch-based diff on completed tasks
- Add comprehensive test suite for TaskChangesTab covering all task lifecycle states
- Document merge commit diff behavior in dashboard README
This commit is contained in:
gsxdsm
2026-04-03 23:04:13 -07:00
parent d2266466fd
commit 98bcb5df5c
6 changed files with 535 additions and 51 deletions

View File

@@ -596,6 +596,8 @@ When a task is merged successfully, Fusion now stores richer merge metadata on t
This gives completed tasks a clearer audit trail in both the board UI and stored task metadata.
The **Changes** tab in the task detail modal uses the merge commit to load file-level diffs for done tasks, so changes remain visible even after the worktree is cleaned up. The tab displays commit metadata (short SHA, merge message, merged timestamp) alongside the diff.
## Workflow Steps
Workflow steps are reusable quality gates that run after task implementation but before the task moves to in-review.