feat(FN-5252): update done-card files chip display logic
Adds a new files chip on done-state TaskCards showing insertion/deletion counts, backed by new types (`filesChanged`, `insertions`, `deletions`) in core; architecture docs updated to reflect the change. The component implementation is a net reduction of 20 lines, with corresponding test coverage add Fusion-Task-Id: FN-5252
This commit is contained in:
committed by
gsxdsm
parent
c4745caec0
commit
61dd439e20
@@ -1573,10 +1573,10 @@ export interface Task {
|
||||
* task worktree (`TaskExecutor.captureModifiedFiles`).
|
||||
*
|
||||
* This may be a stale/transient superset of files that actually landed after
|
||||
* merge resolution or follow-up commits. UI surfaces must label this as
|
||||
* "files touched during execution" (never landed "files changed" for done
|
||||
* tasks). The authoritative landed diff for done tasks is
|
||||
* `/api/tasks/:id/diff`.
|
||||
* merge resolution or follow-up commits. Done-task cards must not use this
|
||||
* field for their files-changed chip; the authoritative landed diff comes
|
||||
* from `/api/tasks/:id/diff`, with `mergeDetails.landedFiles` as committed
|
||||
* metadata fallback when live stats are unavailable.
|
||||
*/
|
||||
modifiedFiles?: string[];
|
||||
/** Opt out of the squash file-scope invariant for this task. */
|
||||
|
||||
Reference in New Issue
Block a user