Skip to content

feat(ui): Flow Chat UX polish, Deep Review action bar enhancements, and tool performance improvements#584

Merged
limityan merged 7 commits intoGCWing:mainfrom
limityan:yanzhn/fix
Apr 30, 2026
Merged

feat(ui): Flow Chat UX polish, Deep Review action bar enhancements, and tool performance improvements#584
limityan merged 7 commits intoGCWing:mainfrom
limityan:yanzhn/fix

Conversation

@limityan
Copy link
Copy Markdown
Collaborator

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 SubagentTextBlock component 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 ContextCompressionDisplay with 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_completed phase 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

  • Read tool performance (0e245ab): Increased default_max_lines_to_read from 250 to 2000, max_line_chars from 300 to 2000, and max_total_chars from 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:run
  • cargo check --workspace && cargo test --workspace

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)
@limityan limityan merged commit cd0192e into GCWing:main Apr 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant