fix(toolcard): refine exec process card layout - #2726
Merged
Conversation
Keep the compact output frame stable during streaming and automatic collapse, while sizing manually expanded completed cards to their actual output. - Align WriteStdin execution metadata to the footer end - Hide ExecCommand TTY metadata and place WriteStdin exit code last - Replace stdin-specific action copy with user-facing input wording - Cover adaptive output sizing and WriteStdin footer ordering
wsp1911
force-pushed
the
1.0.0-explore
branch
from
September 1, 2026 11:32
42b2e30 to
9b5b001
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.
Summary
Type and Areas
Type: Bug fix / UI/UX
Areas: Web UI, FlowChat tool cards, design system, localization
Motivation / Impact
Completed command cards previously reserved a large fixed output area even when output was empty or short. WriteStdin footer metadata also used a different alignment from ExecCommand, and its action label exposed the technical stdin term.
This change preserves the stable height needed before automatic collapse while making manually expanded results compact, aligning execution metadata consistently, and using clearer user-facing copy.
Verification
pnpm --dir src/web-ui run test:run src/flow_chat/tool-cards/ExecProcessToolCardView.test.tsx— passed, 10/10 tests.pnpm run design-system:check— passed.pnpm run check:web— passed with existing non-blocking Appearance warnings.pnpm run i18n:audit— passed with 0 warnings.git diff --check— passed.Reviewer Notes
The fixed compact frame remains in place during streaming and the automatic completion grace period. Content-sized output is enabled only after the user manually expands a completed card.
Checklist