qwen-code/packages
ChiGao c62b34433d
feat(cli): VP mode — inline thought expand on click + auto-hiding scrollbar (#6079)
* feat(cli): VP mode — inline thought expand on click + auto-hiding scrollbar

Two VP-mode (ui.useTerminalBuffer) UX improvements:

1. Thinking: clicking a thought now expands it inline, in place, instead of
   opening a full-screen modal. The expanded thought becomes part of the
   conversation and scrolls with it, matching the lighter inline pattern.
   A thought spans the `gemini_thought` head plus its trailing
   `gemini_thought_content` continuations, so expansion is keyed by the head
   id (buildThoughtHeadIdMap) and one click expands/collapses the whole group.
   Alt+T still toggles all thoughts at once.

   The full-screen ThinkingViewer modal (and its context) is removed: it only
   ever opened in VP, where an inline-expanded thought is already scrollable
   via the viewport, so it was redundant. Drops ThinkingViewer.tsx,
   ThinkingViewerContext.tsx, and the now-dead thinkingFullText plumbing.

2. Scrollbar: the VP scrollbar now auto-hides — it renders as blank cells while
   idle (keeping width 1 so the viewport never reflows) and pops in only while
   scrolling, then fades out. Adds `ui.showScrollbar` (default true) to hide it
   entirely.

Generated with AI

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* feat(cli): advertise click in the collapsed thought hint (VP only)

The collapsed thinking line only hinted "option+t to expand", so the new
click-to-expand affordance was undiscoverable. Show "(click or option+t to
expand)" when the click handler is actually active — i.e. VP mode
(ui.useTerminalBuffer) — and keep the plain "(option+t to expand)" in non-VP,
where clicking does nothing (native scrollback is preserved).

Generated with AI

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

---------

Co-authored-by: 秦奇 <gary.gq@alibaba-inc.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-07-09 12:27:29 +00:00
..
acp-bridge feat(scheduled-tasks): add isolated run mode via create_sub_session tool (#6535) 2026-07-09 12:02:39 +00:00
audio-capture chore(release): v0.19.8 (#6549) 2026-07-08 15:51:03 +00:00
channels fix(channels): add chat payload diagnostics (#6539) 2026-07-08 23:23:47 +00:00
chrome-extension Gate browser automation MCP on external adapter (#6472) 2026-07-08 23:26:44 +00:00
cli feat(cli): VP mode — inline thought expand on click + auto-hiding scrollbar (#6079) 2026-07-09 12:27:29 +00:00
core feat(scheduled-tasks): add isolated run mode via create_sub_session tool (#6535) 2026-07-09 12:02:39 +00:00
cua-driver fix(cua-driver): migrate Windows scripts + README rewrite (#6515) 2026-07-08 06:07:11 +00:00
desktop fix(desktop): preserve glued automation history records (#6344) 2026-07-05 23:53:49 +00:00
mobile-mcp fix(mobile-mcp): strip bounds attributes from UI hierarchy dump (#6568) 2026-07-09 03:59:00 +00:00
sdk-java fix(core): Align MCP OAuth guidance and docs (#5589) 2026-06-24 07:09:53 +08:00
sdk-python doc[sdk-python] Expand Python SDK usage documentation (#3995) 2026-05-12 15:27:00 +08:00
sdk-typescript Fix workspace skills for disabled extensions and ACP preheat (#6534) 2026-07-09 09:11:17 +00:00
vscode-ide-companion feat(cli): VP mode — inline thought expand on click + auto-hiding scrollbar (#6079) 2026-07-09 12:27:29 +00:00
web-shell feat(scheduled-tasks): add isolated run mode via create_sub_session tool (#6535) 2026-07-09 12:02:39 +00:00
web-templates chore(release): v0.19.8 (#6549) 2026-07-08 15:51:03 +00:00
webui feat(scheduled-tasks): add isolated run mode via create_sub_session tool (#6535) 2026-07-09 12:02:39 +00:00
zed-extension chore(deps): upgrade ink 6.2.3 → 7.0.2 + bump Node engine to 22 (#3860) 2026-05-11 17:29:50 +08:00