Agentic UI: Add a changed-file inventory - #4594
Draft
shaunandrews wants to merge 1 commit into
Draft
Conversation
This was referenced Aug 18, 2026
shaunandrews
force-pushed
the
add-chat-change-inventory
branch
from
August 18, 2026 16:31
f160821 to
58b3c6b
Compare
shaunandrews
force-pushed
the
add-chat-change-inventory
branch
from
August 18, 2026 16:32
58b3c6b to
2f002d7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issues
How AI was used in this PR
This feature was designed and implemented collaboratively with Codex. AI helped separate the interactive inventory from the summary foundation, implement and test the popover behavior, and verify the result in light, dark, LTR, and RTL layouts. The interaction and visual result were reviewed manually in the running agentic UI.
Executive summary
This is the second PR in a three-PR stack. It turns the display-only change summary from #4590 into an interactive control and adds a lightweight per-file inventory. It intentionally stops before rendering diffs or introducing the Review destination.
Proposed Changes
Review guide
The product boundary is deliberate: this PR answers “which files changed?” without trying to show the changes themselves. The next PR adds the Review action and full diff surface.
Please focus on the popover's keyboard behavior, path readability, six-row scroll boundary, mixed-direction content, and whether the transition from a glanceable summary to a per-file inventory feels appropriately lightweight.
Safety and scope
@wordpress/uiprimitives and theme tokens.EditandWriteactivity from the stored transcript is represented.Screenshots
Native 2560×1440 PNG captures at 100% page scale and 2× device scale. The inventory shows exactly six complete rows before scrolling and intentionally contains no Review action.
Testing Instructions
Automated verification completed locally:
npx eslint --fixon every modified TypeScript/TSX filenpm test -- apps/ui/src/ui-classic/components/session-view/changes-tracker.test.tsx apps/ui/src/ui-classic/components/session-view/index.test.tsx— 2 files and 23 tests passednpm run typechecknpm run cli:build:uigit diff --checkManual browser measurement: the inventory viewport is
288pxhigh, containing six complete48pxrows. The seventh row begins exactly at the scroll boundary, so no partial row is visible.Pre-merge Checklist