feat(ui): Flow Chat UX polish, Deep Review action bar enhancements, and tool performance improvements#584
Merged
limityan merged 7 commits intoGCWing:mainfrom Apr 30, 2026
Merged
Conversation
Replace hardcoded English strings in ContextCompressionDisplay with i18n keys for en-US, zh-CN, and zh-TW locales. Add missing translations for trigger types, token stats, savings info, and compression status messages.
Increase Read tool limits to reduce file read round-trips, especially for models that tend to use small limit values: - default_max_lines_to_read: 250 -> 2000 - max_line_chars: 300 -> 2000 - max_total_chars: 32_000 -> 50_000 Add anti-fragmentation hint to tool description to discourage models from making tiny repeated slices (e.g. 30-100 line chunks). Improve result formatting to always show continuation guidance when there are more lines to read, not just on truncation. Generated with BitFun Co-Authored-By: BitFun
Replace the Tooltip-based error icon in TaskDetailPanel header with a persistent error banner below the header. The banner displays the full error message as selectable text, making it copyable and always visible. - Remove Tooltip import and header-failed icon - Add error-banner element with AlertCircle icon + error text - Add SCSS styles with error-themed background and border - Text supports user-select for easy copying Generated with BitFun Co-Authored-By: BitFun
…ntext, and persistent state - Add clickable remediation links in action bar that scroll to matching issues - Add issue-to-remediation matching via file/category/title keywords - Add structured decision context for needs_decision items (question/options) - Add decision option selection UI with expandable toggle - Persist action bar across all user actions (fill input, fix, re-review) - Replace dismiss with fix_completed phase when no more remediation needed - Add fix_completed success message in action bar - Compact action bar layout: smaller padding, tighter gaps, reduced max-height - Replace close (X) button with minimize (-) icon - Move export actions (copy/open/save markdown) into top-right controls group - Simplify link hover style from accent color to muted text - Remove hyperlink effect from verification group items - Shorten fixAndReview labels to \
…uncation - Reduce explore region font-size, line-height, and margins for tighter layout - Reduce task prompt area max-height and gap/padding for compactness - Remove subagent-compact max-height overflow:hidden that clipped content - Add SubagentTextBlock component with line-based truncation (50 lines) to reduce DOM nodes for long subagent output - Fix auto-scroll not reaching bottom with double requestAnimationFrame - Add streaming content area bottom padding to prevent text obscuring - Add i18n strings for truncation hint (en-US, zh-CN, zh-TW)
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
A collection of UX improvements, Deep Review refinements, and infrastructure tweaks to improve the agent chat experience.
Changes
Flow Chat UI
Explore card compactness (0218e6b): Reduced font-size, line-height, and margins in the Explore region and task prompt area for a tighter layout. Added
SubagentTextBlockcomponent with line-based truncation (50 lines) to reduce DOM nodes for long subagent output. Fixed auto-scroll not reaching the bottom and added streaming content area padding.Subagent error banner (dba2496): Replaced the tooltip-based error icon in TaskDetailPanel with a persistent error banner. Full error text is now always visible, selectable, and copyable.
AskUserQuestion tooltip (a3d0dbf): Added tooltip for truncated option descriptions in
AskUserQuestionCard.Context compression i18n (b5544af): Replaced hardcoded English strings in
ContextCompressionDisplaywith i18n keys for en-US, zh-CN, and zh-TW.Deep Review
Action bar UX enhancements (190771b): Clickable remediation links that scroll to matching issues; issue-to-remediation matching via file/category/title keywords; structured decision context with expandable option selection UI; persistent action bar across user actions; replace dismiss with
fix_completedphase when no more remediation needed; compact layout with smaller padding/tighter gaps; replace close (X) with minimize (-) icon; move export actions to top-right controls group.Skills hide-duplicates filter (a0ed7ad): Added hide-duplicates filter for skills with refined add-skill button styling. Integrated with code review tool for remediation cross-linking.
Infrastructure
default_max_lines_to_readfrom 250 to 2000,max_line_charsfrom 300 to 2000, andmax_total_charsfrom 32K to 50K to reduce file read round-trips. Added anti-fragmentation guidance in tool description to discourage models from making repeated small slices. Improved result formatting to always show continuation guidance when more lines are available.Files Changed
39 files changed, 999 insertions(+), 150 deletions(-)
Verification
pnpm run lint:web && pnpm run type-check:web && pnpm --dir src/web-ui run test:runcargo check --workspace && cargo test --workspace