qwen-code/packages/web-shell/client
Shaojin Wen 93ccdf4070
feat(web-shell): maximize a single split pane (#6951)
* feat(web-shell): maximize a single split pane

Add a per-pane maximize/restore toggle to the split view. Clicking it makes
one pane fill the whole split and hides the others; the hidden panes stay
mounted so their sessions keep streaming (a purely visual solo). Restore via
the header button or Escape — Escape defers to the composer, the add-session
picker, and open dialogs so it never steals their key.

The toggle only appears with 2+ panes, adding a session exits maximize to
reveal the new pane, and the maximize is dropped whenever its pane leaves the
set or the split shrinks to a single pane.

* refactor(web-shell): use lucide icons for the maximize toggle; cover switch + picker-Escape

Address review on #6951:
- Swap the hand-written Maximize2/Minimize2 SVG paths for the named lucide-react
  components, per the web-shell icon convention (README) and matching DialogShell.
- Add tests for moving maximize between panes (guards the toggle's switch branch)
  and for Escape closing the add-session picker without un-maximizing (guards the
  pickerOpen deferral).

---------

Co-authored-by: wenshao <wenshao@example.com>
2026-07-15 12:10:29 +00:00
..
adapters feat(web-shell): render composer references in user messages (#6537) 2026-07-11 17:44:47 +00:00
assets/icons feat(web-shell): add MCP mentions and iconized @ references (#6279) 2026-07-04 02:13:42 +00:00
completions feat(web-shell): add custom at mention panel (#6242) 2026-07-05 01:17:35 +00:00
components feat(web-shell): maximize a single split pane (#6951) 2026-07-15 12:10:29 +00:00
config feat(browser-ext): revive Chrome extension via daemon-direct architecture (#5777) 2026-06-28 15:57:31 +00:00
constants fix(web-shell): stabilize slash command i18n in split-view panes (#6546) 2026-07-08 14:57:12 +00:00
e2e feat(web-shell): auto-post visual previews (screenshots + flow GIFs) on PRs (#6880) 2026-07-15 06:48:52 +00:00
extensions Add harness infrastructure for web-shell package (#6517) 2026-07-09 08:11:58 +00:00
hooks fix(web-shell): prevent composer tag update loop (#6859) 2026-07-14 07:59:41 +00:00
lib feat(web-shell): add shadcn UI foundation (#6760) 2026-07-12 13:51:52 +00:00
styles feat(web-shell): refresh settings page with shadcn (#6817) 2026-07-13 11:50:46 +00:00
test feat(cli): improve subagent observability — untruncated live commands, transcript path, approval context (#6580) 2026-07-11 11:21:23 +00:00
utils feat(web-shell): add session created callback (#6703) 2026-07-13 07:04:42 +00:00
voice Add harness infrastructure for web-shell package (#6517) 2026-07-09 08:11:58 +00:00
App.module.css feat(web-shell): expose session controls to hosts (#6906) 2026-07-15 02:31:59 +00:00
App.test.tsx feat(web-shell): expose session controls to hosts (#6906) 2026-07-15 02:31:59 +00:00
App.tsx feat(web-shell): expose session controls to hosts (#6906) 2026-07-15 02:31:59 +00:00
build-artifact.test.ts fix(web-shell): restore packaged dialog styles on React 18 (#6827) 2026-07-13 15:57:23 +00:00
customization.tsx feat(web-shell): render composer references in user messages (#6537) 2026-07-11 17:44:47 +00:00
i18n.tsx feat(web-shell): maximize a single split pane (#6951) 2026-07-15 12:10:29 +00:00
index.html Add harness infrastructure for web-shell package (#6517) 2026-07-09 08:11:58 +00:00
index.test.tsx feat(web-shell): add workspace path lock (#6853) 2026-07-14 06:24:52 +00:00
index.tsx feat(web-shell): add workspace path lock (#6853) 2026-07-14 06:24:52 +00:00
interactionBlockContext.ts feat(web-shell): add cell value dialog on double-click in markdown tables (#6530) 2026-07-11 15:21:34 +00:00
main.tsx feat(web-shell): add selection statistics to markdown tables (#6838) 2026-07-14 03:54:33 +00:00
midTurnDedup.test.ts feat(daemon): deliver web-shell mid-turn messages into the running turn (#5175) 2026-06-16 16:16:47 +08:00
midTurnDedup.ts feat(daemon): deliver web-shell mid-turn messages into the running turn (#5175) 2026-06-16 16:16:47 +08:00
portalRoot.ts feat(web-shell): add shadcn UI foundation (#6760) 2026-07-12 13:51:52 +00:00
themeContext.ts feat(web-shell): daemon web-shell improvements — token usage, settings, retry, streaming metrics, hidden commands (#5066) 2026-06-13 02:58:08 +00:00
vite-env.d.ts feat(daemon): merge daemon-mode feature batch into main (#4490) 2026-06-12 00:34:49 +08:00