qwen-code/packages/web-shell/client
Shaojin Wen adf2caea39
feat(web-shell): persist the split view across refresh, per tab (#7136)
The split view (2+ sessions side by side) was lost on every refresh: its
pane set lived only in React state, and the one-shot ?split= deep link is
consumed on load. Persist the live session set to sessionStorage while the
split is the active view, and restore it on load when no ?split= deep link
is present, so a refresh brings the split back.

sessionStorage (not localStorage) is deliberate: it is scoped per browser
tab, so a split opened in its own tab and the in-window split never clobber
each other, and a fresh unrelated tab restores nothing — while still
surviving a refresh of the same tab. The ?split= URL stays the shareable,
cross-tab channel.

Only an explicit close (the split's back button) clears the persisted set;
detours to a single session keep it, so the split is treated as the user's
lasting context until they close it. Controlled hosts (which own their split
lifecycle) never auto-persist or auto-restore.

Co-authored-by: wenshao <wenshao@example.com>
2026-07-18 08:29:23 +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 skill management pages (#7018) 2026-07-17 06:42:46 +00:00
components fix(web-shell): scope advanced table overlays (#7097) 2026-07-18 01:30:29 +00:00
config feat(browser-ext): revive Chrome extension via daemon-direct architecture (#5777) 2026-06-28 15:57:31 +00:00
constants feat(web-shell): paginate restored session history (#7064) 2026-07-17 22:09:19 +00:00
e2e feat(web-shell): persist the split view across refresh, per tab (#7136) 2026-07-18 08:29:23 +00:00
extensions Add harness infrastructure for web-shell package (#6517) 2026-07-09 08:11:58 +00:00
hooks fix(web-shell): stop stacking duplicate copies when restoring prompt text (#7134) 2026-07-17 22:22:50 +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): persist the split view across refresh, per tab (#7136) 2026-07-18 08:29:23 +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): suggest sending new-topic drafts in fresh sessions (#7098) 2026-07-17 15:28:22 +00:00
App.test.tsx feat(web-shell): persist the split view across refresh, per tab (#7136) 2026-07-18 08:29:23 +00:00
App.tsx feat(web-shell): persist the split view across refresh, per tab (#7136) 2026-07-18 08:29:23 +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): add directory autocomplete to the Add Workspace dialog (#7125) 2026-07-17 22:25:22 +00:00
index.html Add harness infrastructure for web-shell package (#6517) 2026-07-09 08:11:58 +00:00
index.test.tsx fix(web-shell): optionally restart SSE after prompt admission (#7080) 2026-07-17 16:13:39 +00:00
index.tsx fix(web-shell): optionally restart SSE after prompt admission (#7080) 2026-07-17 16:13:39 +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