feat(KB-617): add Changes tab to task detail modal for viewing file diffs
- Add baseCommitSha field to tasks for diff computation baseline - Track modified files in executor and store in database - Add /api/tasks/:id/diff endpoint to serve unified diffs - Add getTaskDiff() API client function in dashboard - Create TaskChangesTab component with file list and diff viewer - Integrate Changes tab into TaskDetailModal with proper styling - Add changeset for the new diff viewer feature
This commit is contained in:
10
.changeset/add-diff-viewer-tab.md
Normal file
10
.changeset/add-diff-viewer-tab.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
"@gsxdsm/fusion": minor
|
||||
---
|
||||
|
||||
Add Changes tab to task detail modal showing files modified by the agent and their diffs.
|
||||
|
||||
- Track `modifiedFiles` and `baseCommitSha` on tasks during execution
|
||||
- New API endpoint `GET /tasks/:id/diff` returns file list and patches
|
||||
- New `TaskChangesTab` component with expandable file diffs
|
||||
- Changes tab visible for tasks in in-progress, in-review, or done columns
|
||||
Reference in New Issue
Block a user