Commit Graph
1440 Commits
Author SHA1 Message Date
Menghuan1918 5178cabcec merge #1101: fix(changes) 视角切换改用公开 SegmentedControl,删除对宿主私有 CSS 哈希类名的依赖(#1098) 2026-11-04 20:33:57 +08:00
Menghuan1918 f6008bdf65 merge #1110: fix 页面 CSS zoom 不再被误判为页面级 transform(panel host 几何自检按累积 zoom 归一) 2026-11-04 20:31:31 +08:00
Menghuan1918 4b61d6802b merge #1104: fix(terminal) 底部工作台终端不再自带黑底(:global 选择器 + 特异性 0,3,0) 2026-11-04 20:30:36 +08:00
HootRock d3b887f179 fix: account for CSS page zoom in panel host geometry checks 2026-11-03 20:18:22 +08:00
WinterXMQ b9ae0024af fix(terminal): stop the bottom workbench terminal from painting black
The terminal area was a solid black rectangle inside a panel that was not,
which read as a surface the plugin had chosen rather than the emulator
showing through.

Two independent causes, both needed:

1. CSS Modules hashed xterm's own class names. `.screen .xterm-viewport`
   compiled to `.o8IiwG_screen .o8IiwG_xterm-viewport`, while the real DOM
   carries xterm's unhashed `.xterm-viewport` — the rule never matched
   anything. Wrapped in `:global()`.

2. xterm.css ships `.xterm .xterm-viewport { background-color: #000 }` and
   injects that sheet when `open()` runs, after this module. Matching its
   specificity (0,2,0) therefore loses on source order every time, so the
   selector climbs to 0,3,0 with the extra `.xterm`. Measured in Chromium:
   0,2,0 leaves `rgb(0, 0, 0)`, 0,3,0 resolves to `rgba(0, 0, 0, 0)`.

`.screen` itself also stops painting `--dsw-alias-bg-base`, which was a second
surface inside the panel.

No `!important` (outranking by specificity is enough) and no
`allowTransparency` (measured no effect on the viewport background under the
DOM renderer xterm 6 uses by default).
2026-11-03 11:51:49 +08:00
Kunping Wang 3ce803c691 fix(changes): 修复 Changes 视角切换按钮样式 2026-11-02 20:57:24 +08:00
Menghuan1918 bd6cfa55b4 test(e2e): measure the folder-archive flow in the perf audit 2026-10-30 02:14:40 +08:00
Menghuan1918 0e643852c3 test(e2e): correct the audit seed comment (the tree cap is 1,000 rows) 2026-10-30 02:07:02 +08:00
Menghuan1918 e9003fc8c0 docs(perf): list the audit gaps (settings UI, live tasks, desktop shells) 2026-10-30 02:02:24 +08:00
Menghuan1918 5f8b315f68 merge chore/perf-audit: --no-open for the mount lane + page/API perf audit 2026-10-30 02:01:47 +08:00
Menghuan1918 f1323d6c57 chore(e2e): launch dsh web with --no-open and add the opt-in page/API perf audit 2026-10-30 02:01:47 +08:00
Menghuan1918 edde9de733 docs: record the 2026-10-30 UX PR batch (verdicts, gates, residuals) 2026-10-30 00:31:14 +08:00
Menghuan1918 2c48ff451d test(e2e): match the visible preview copy, not the hidden editor's (mount-lane flake) 2026-10-30 00:20:29 +08:00
Menghuan1918 2257a600aa docs(changelog): file the #949/#951/#1009/#1014 fixes under 未发布 2026-10-29 23:53:53 +08:00
Menghuan1918 7bff1a1cb4 merge fix/949-951: block archiving side threads (#949), keep sidebar_open registered while settings are unreadable (#951) 2026-10-29 23:53:34 +08:00
Menghuan1918 d77adf25e3 merge fix/1009-card-toggles: hidden tab types are not settings cards (#1009) 2026-10-29 23:53:10 +08:00
Menghuan1918 d7483f6b33 fix(sidechat): disable archiving a side thread the host can never recover (#949)
The host's session list hides every subagent-origin row in ALL archive filters (sessionVisible() returns false before the filter), and its unarchive control only lives on those rows. Archiving a side conversation is therefore a one-way door with no entry left to recover it, so the composer-bar action is disabled for any bound session the list cannot show again, with a hover tip (all 21 dictionaries) explaining why and pointing at Save as new session. The handler keeps the same guard.
The archive-and-rebind path stays covered for a host-visible binding.
2026-10-29 23:51:47 +08:00
Menghuan1918 af0e7b7c9d fix(host): keep sidebar_open registered when the settings row is unreadable (#951)
The gate read an absent settings row (the host only lists entries whose fiber is ACTIVE) as the schema default false and unregistered a live tool mid-session. Read the switch tri-state instead: only an explicit boolean is a decision, so an absent row or a thrown read keeps the current registration.
Also re-evaluate right after a settings write and after the loader settles, so enabling the feature registers the tool for the first turn instead of waiting for an unrelated settings.get.
2026-10-29 23:51:45 +08:00
Menghuan1918 15b51ca55e fix(settings): stop inventorying programmatic-only tab types (#1009)
Hidden tab types (the built-in diff page, dsh-remote's dsh-remote:file)
have no + menu row and no native guide entry, yet the side-card inventory
still gave them an enable switch. Turning one off changed nothing in the
sidebar and only made openTab silently refuse that type - which the
reporter saw as "remote:file cannot be turned off / git:diff does
nothing", and dsh-remote saw as "remote files stop opening".

- SideCardSection: the inventory skips hidden types (the count badge
  follows); tabOrder becomes the order-only tabInventory.
- service.isTabEnabled: a hidden type is always enabled, so a
  tabsEnabled[id] = false written by an older build cannot keep refusing
  its programmatic opens.
- docs/external-plugin-guide.md and CHANGELOG describe the contract; the
  two new specs fail on the previous code.
2026-10-29 23:48:23 +08:00
Menghuan1918 dcd5cf66b1 merge fix/1014-panel-host-dvh: use 100dvh for the panel host (#1014) 2026-10-29 23:45:22 +08:00
Menghuan1918 eb7edb0818 fix(panel-host): 宿主高度改用 100dvh 回退 100vh,修掉手机端整页可拖动(#1014)
`height: 100vh` 取的是大视口:手机浏览器地址栏展开时该层比布局视口
(innerHeight)高,挂载自检把 rect.height 与 innerHeight 的差值当成页面级
transform,降级为 position:absolute 后高度计入文档并持续触发自检,整页可
上下拖动且不自愈。dvh 跟随动态视口(即 innerHeight),声明在 vh 之后;
不支持 dvh 的引擎在解析期丢弃该行、保留 vh,即 #616 的修复不变。

tests/panel-host-css.spec.ts 把高度声明整表钉为
['height: 100vh', 'height: 100dvh'],级联顺序即契约。
2026-10-29 23:44:40 +08:00
Menghuan1918 04c6cb8a10 merge review/mermaid-frame: #1040 sandbox-iframe mermaid layout isolation 2026-10-29 23:43:11 +08:00
Menghuan1918 ac8fcd5516 merge review/path-roots: #1079 UNC prefix, #1070 subdirectory session root 2026-10-29 23:42:13 +08:00
Menghuan1918 88c86abb11 merge review/markdown-links: #1067 angle-bracket link destinations, #1074 Side Chat local source links 2026-10-29 23:42:06 +08:00
Menghuan1918 2e691142da merge review/1083-editor-draft: #1083 confirm before an in-place file switch drops an unsaved draft 2026-10-29 23:41:57 +08:00
Menghuan1918 b1c33577be merge review/html-preview-mime: #972 serve preview assets with real MIME types 2026-10-29 23:41:47 +08:00
Menghuan1918 51f8cebda5 merge review/menu-submenu: #974 close the reduced-motion media query, #988 submenu flip tokens for Git More Actions 2026-10-29 23:41:37 +08:00
Menghuan1918 dcc2375416 merge review/small-fixes: #922 split-pane tab, #1032 search probe TDZ, #966 upload rename retry 2026-10-29 23:41:29 +08:00
Menghuan1918 5ad49ad1bd docs(changelog): record the subdirectory session-root fix 2026-10-29 23:36:52 +08:00
Menghuan1918 e17ab5c52e merge: keep the UNC prefix when folding separators (#1079) 2026-10-29 23:36:41 +08:00
Menghuan1918 6d9e02c3ce fix(active-worktree): keep the session cwd's own path as the root
The guard still substituted the repository top level whenever the caller's
base spelling was not lexically under git's canonical top (macOS /var vs
/private/var, symlinked workspaces), so #1070's argument-order swap only
covered the lexically-canonical case - its own subdirectory test is red on
macOS.

Make the session cwd authoritative: canonicalize it once with realpath (so
containment against git's canonical paths still works and nested-worktree
adoption stays correct, #952) and never substitute the repository top.
Linked-worktree following is unchanged.

Refs #1024 #1080 #1070
2026-10-29 23:36:32 +08:00
Menghuan1918 845837f958 merge: keep a subdirectory session cwd (#1070) 2026-10-29 23:36:10 +08:00
Menghuan1918 56560e24a1 test(active-worktree): pin a subdirectory session cwd as the root (#1024) 2026-10-29 23:35:42 +08:00
Menghuan1918 fcf78935a4 docs(changelog): record #1067 and #1074 2026-10-29 23:31:37 +08:00
Menghuan1918 e290059fd5 test(markdown): pin angle-delimited destination semantics with spaces 2026-10-29 23:31:27 +08:00
Menghuan1918 068b955063 docs(readme): sync the HTML-preview MIME bullet into README_ZH
README.md and README_ZH.md are the same bullet list line for line; PR #972 only updated the English copy. Mirror the CSS/JS/JSON/fonts/wasm content-type clause in Chinese so the pair does not drift.
2026-10-29 23:31:24 +08:00
Menghuan1918 f1d52c9241 merge: PR #1074 (Side Chat local source links) 2026-10-29 23:31:01 +08:00
Menghuan1918 e790701791 fix(git): publish submenu flip tokens for More Actions (#988)
The More Actions menu's repo/worktree rows open nested submenus, but this button-anchored entry never called useSubmenuFlip — the body attribute layout.css consumes was absent, so even with #955's unclosed media query fixed the submenus still opened past the right edge of the docked sidebar.

Keep the trigger's measured corner in the menu state (a boolean cannot feed the coordinate-based hook, and a keyboard activation has no cursor point) and hand it to the same hook the file-tree row menu uses. The new test opens the real menu on a mocked right-edge trigger and pins the 'down left' tokens plus their removal on close.
2026-10-29 23:29:02 +08:00
Menghuan1918 27e9417e63 merge: PR #966 — bounded retry for concurrent same-name upload rename contention 2026-10-29 23:28:16 +08:00
Menghuan1918 fbc7e4cd1b merge: PR #1032 — fix TDZ crash when probe spawn throws synchronously 2026-10-29 23:28:13 +08:00
Menghuan1918 92b6ddc0e2 merge: PR #922 — keep same-pane tab when dragging its only tab back 2026-10-29 23:28:08 +08:00
Menghuan1918 5834120350 merge: PR #1067 (angle-delimited inline link destinations, #1015) 2026-10-29 23:27:20 +08:00
Menghuan1918 a2a0dee305 Merge branch 'pr-972' into review/html-preview-mime 2026-10-29 23:27:19 +08:00
Menghuan1918 6f74c7ee2f merge: PR #974 close the reduced-motion media query (#955) 2026-10-29 23:26:08 +08:00
Menghuan1918 479582da7e review: merge PR #1083 (in-place switch draft guard) 2026-10-29 23:25:18 +08:00
Menghuan1918 66337ff0c0 merge PR #1040 mermaid sandbox iframe (review) 2026-10-29 23:25:06 +08:00
unsc9 6caec31d83 test: give the aggregate-auth shell probe a Windows-sized timeout 2026-10-29 10:47:58 +08:00
unsc9 3d44985f50 chore: retrigger CI after an unrelated plugin-mount e2e flake 2026-10-29 10:33:12 +08:00
unsc9 10ccebb052 test: let detached archive packs land before cleanup 2026-10-29 10:22:14 +08:00
unsc9 173e01030a fix(i18n): align the switch-file confirm with each language's sibling copy 2026-10-29 09:28:32 +08:00