Repository navigation
perf(acpmux): reserve prompt image slots during host load - #21383
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
all web/size checks green |
|
Passes: CI passes on CI passes on Written by |
|
|
|
Bead |
- vp fmt webviews/test/sent-image-lifecycle.test.tsx Autofix-Run: https://github.com/manaflow-ai/cmux/actions/runs/39080902701
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
- vp fmt webviews/test/sent-image-lifecycle.test.tsx Autofix-Run: https://github.com/manaflow-ai/cmux/actions/runs/39081616425
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
Visual review: HQ feed · workflow run |
|
The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/39094946537 at fd53bb8 failed: cmux-next Release compile (Xcode 26). |
|
The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/39095141726 at afec4de failed: cmux-next Release compile (Xcode 26). |
|
The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/39095228117 at 9e14d7a failed: cmux-next Release compile (Xcode 26). |
|
The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/39096093835 at b246059 failed: cmux app scheme compile (Debug), cmux-next Release compile (Xcode 26). |
#22024) * test(cmux-next): the agent pane keeps the wiring the #21331 merge dropped Fails on feat-cmux-next (5 of 5): the #21331 branch was rebased onto a tree without #21194, #21344 and #21383, so its merge left the Chief Dock unmounted, the Debug Settings turn footer placement unapplied, disclosures keyed without their chat, and the sent-image slot and reply-image fade without CSS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cmux-next): restore the agent pane wiring the #21331 merge dropped Re-applies the hunks e124e93 (#21331's branch) removed from its base 50a0c60 without meaning to, and only those: - App.tsx: the quick surface gets the Chief Dock again (#21194, behind its experiment); the theme push applies turnActionsPlacement (#21344); tool and edited-file rows carry the chat's sessionId into their disclosures (#21344). - conversation.css: the 72px .cv-user__image-placeholder slot (#21383), the left turn-actions placement rules (#21344) and the .cv-img--enter fade. #21331's own follow-bottom deadband, THREAD_TOP and overflow-anchor changes stay as they are. The effort track motion that branch also dropped is already back on the tip (#21512). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(next): PR autofix at 896b604 - vp fmt webviews/src/agent-session/acpmux/replyHref.ts - vp fmt webviews/src/pages/markdown/README.md - vp fmt webviews/src/pages/markdown/links.ts - vp fmt webviews/test/markdown-cmux-app-links.test.ts Autofix-Run: https://github.com/manaflow-ai/cmux/actions/runs/39212624868 --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: cmux-autofix[bot] <cmux-autofix[bot]@users.noreply.github.com>
Problem
Prompt attachments are fetched asynchronously from the native host. The transcript row is measured before the image arrives, so a late thumbnail insertion can push the prompt and every row below it down after the initial paint.
Change
cv-entercompositor-only motion token.This reserves the vertical slot before the async response and keeps the reveal calm without changing image sizing or reduced-motion behavior.
Validation
git diff --checkNeed help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Reserves a 72px placeholder while the host reads a sent prompt image so the transcript row no longer shifts when the thumbnail arrives late. If the read fails (after a reconnect or session switch) the slot is cleared so a stale thumbnail never lingers; missing images keep the previous empty fallback.
Written for commit 3ad69d2. Summary will update on new commits.