Compact collapsed tool calls#414
Draft
pascalandr wants to merge 3 commits into
Draft
Conversation
Collapse tool output blocks by default so chat history stays readable on desktop and narrow screens while still showing enough context to understand what each tool did. The tool call header now truncates instead of forcing horizontal overflow, and collapsed tools render a compact input/output preview derived from the tool payload. Existing behavior settings continue to control whether users prefer expanded or collapsed output by default. Validation: - npm run typecheck --workspace @codenomad/ui - npm run build --workspace @codenomad/ui
Remove the added collapsed preview so compact tool calls only rely on the existing header content. The tool label now sits inline with the collapsed header without the extra generic Tool call text or icon, keeping the collapsed state closer to the issue request while preserving the default collapsed preference. Validated with the existing UI typecheck and build before this commit; unrelated package-lock and Tauri generated changes were left unstaged.
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
Validation
Closes #295