Repository navigation
fix(tasks): 修复图展开、优化布局并提供独立自动折叠设置 - #1041
Merged
Merged
Conversation
Reset per-gesture travel before node guards so a preceding background pan cannot suppress the next card click. Index and iteratively lay out graph topology, memoize agent card contents, and project complete settled branches under independent existing-settings preferences. Keep unknown real workflow catalogs and explicitly opened descendant paths visible. Add regression coverage and real rc.1 browser/baseline validation evidence.
Background pans, the floating-window title drag and the anchored-popover drag committed on every pointermove, so a high-report-rate mouse re-rendered the tasks canvas at event cadence. Compose the latest position in a ref and commit it through the existing frame batcher; release and cancel flush synchronously. Click suppression still updates per event. Regression: same-frame 100-move burst commits drop 98 -> 1; full suite 2720 passed.
Collaborator
Author
|
补充提交
|
davidLi17
added a commit
to davidLi17/DSH-better-sidebar
that referenced
this pull request
Oct 24, 2026
Selectively backport upstream dev PR omdsh-dev#1044 (6f14792) and pointer fixes from PR omdsh-dev#1041 (dc38513), retaining LHG image attachments, draft bridge and compacted-history inheritance. Resolve delivered files against current scope cwd. Do not adopt new folding preferences. Ship 0.28.1-lhg.3 with matching prebuilt assets. Verified 2747 tests passed / 17 skipped, typecheck, lint, build, pack, consumer types, scratch DSH startup and Git package consistency. Browser UI verification blocked by environment. Details: docs/plans/2026-10-24-lhg-selective-maintenance.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更
验证
pnpm test --maxWorkers=1:221 文件,2719 passed / 17 skipped,exit 0;没有跳过 watcher 或修改断言/超时。pnpm build && pnpm pack、pnpm typecheck、pnpm lint、pnpm check:consumer-types、pnpm check:engines、git diff --check均通过。0fab0aftarball:200 Agent 的背景平移后点击,60 秒仍只有 2 个节点(预期 201),确认回归测试能抓原问题。性能口径
同 Node 进程、相同输入、预热后 11 个交错样本的纯布局中位,2001 节点(2000 个非根 Agent):平铺 14.549 → 0.590 ms(-95.95%),深链 174.334 → 0.770 ms(-99.56%)。
真浏览器单次无 pan 展开对照两版数量级相近(200 Agent:修复 26.0 / 基线 22.1 ms;500:65.9 / 62.2 ms,两版 Long Task 均为 0)。不把布局加速倍数外推为整页加速;测量模式不代替完整交互回归。
已知风险
默认并行
pnpm test曾有唯一fs-watchnotice 超时(2718 passed / 1 failed / 17 skipped)。同测试在未改动的0fab0afworktree 也复现:基线 12 轮 11 过/1 失败;工作树 18 轮 14 过/4 失败。本 PR 没改 watcher/测试,单 worker 全量已过,但不声称这个既有 flake 已修复。初次沙箱的 npm cache/home-relative 文件 EPERM、终端挂载失败在正常权限复跑后通过,记录保留。详细口径、tarball SHA-256、复跑命令和完整证据见 验证记录。
仅发起面向
dev的 PR,不直接合入、不发版,不修改 DSH 源码或用户 profile。