Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
fix(work-panel): document overflow drag regression
vastsa0be9a5f53d2f
diff --git a/docs/spec/06-delivery/04-e2e-test-plan.md b/docs/spec/06-delivery/04-e2e-test-plan.mdindex 12aaa7fcf..433bb6e52 100644--- a/docs/spec/06-delivery/04-e2e-test-plan.md+++ b/docs/spec/06-delivery/04-e2e-test-plan.md@@ -15536,6 +15536,24 @@ plugin-form fixtures in an isolated temporary directory at runtime.window-drag and visual checks remain required on each platform. Branch runsare exploratory and do not satisfy the integrated-main gate.+### E2E-WORK-PANEL-overflow-tab-drag-exclusion++- **Preconditions**: On Windows, open a desktop session and create enough work-panel+ tabs to overflow the horizontal tab strip.+- **Steps**: Scroll the strip toward both ends, switch to another conversation and+ back, reorder a tab with the keyboard, then close tabs until one and none remain.+ Query native `WM_NCHITTEST` over the adjacent sidebar and conversation titlebars,+ visible tabs, header actions, and spare header space.+- **Expected**: Offscreen tabs do not block native dragging outside the visible+ scroll viewport. Adjacent titlebars and unused header space return `HTCAPTION`;+ visible tabs and actions return `HTCLIENT`. Switching, reordering, and closing+ tabs preserve those hit regions.+- **Specs linked**: `04-ux/07-ui-design-system.md` §10+- **Acceptance**: Quality+- **Status**: Windows native regression covered by+ `scripts/e2e-work-panel-drag.mjs` (`pnpm test:e2e:work-panel-drag`). macOS/Linux+ native dragging remains unqualified.+#### E2E-LAYOUT-sidebar-project-group-fold- **Preconditions**: Four retained sidebar project groups, seeded through thediff --git a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.mdindex d25630fca..6267d4a10 100644--- a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md+++ b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md@@ -8334,6 +8334,15 @@ runner 会在运行时的隔离临时目录中生成六个插件形态 fixturestates). DOM/CDP clicks are not native hit-test proof. Native pointer, dragand visual checks remain required; branch runs are exploratory only.+### E2E-WORK-PANEL-overflow-tab-drag-exclusion++- **前提条件**:在 Windows 上打开桌面会话,并创建足够多的工作面板标签,使横向标签栏发生溢出。+- **步骤**:将标签栏分别滚到两端,切换到另一个对话再切回,用键盘重排标签,然后逐个关闭标签,直到只剩一个和没有标签。使用原生 `WM_NCHITTEST` 检查相邻侧边栏与对话标题栏、可见标签、标题栏操作按钮和多余空白。+- **预期**:视口外的标签不会阻挡可见滚动视口以外的原生拖动。相邻标题栏和未使用的标题栏空白返回 `HTCAPTION`;可见标签和操作返回 `HTCLIENT`。切换、重排和关闭标签后,这些命中区域保持正确。+- **链接规格**:`04-ux/07-ui-design-system.md` §10+- **验收**:品质+- **状态**:Windows 原生回归由 `scripts/e2e-work-panel-drag.mjs`(`pnpm test:e2e:work-panel-drag`)覆盖;macOS/Linux 原生拖动尚未验证。+#### E2E-LAYOUT-sidebar-project-group-fold- **前提条件**:通过宿主预置四个保留的侧边栏项目分组:一个横跨四个日期桶共五个会话,一个只有单个会话,一个没有任何会话,一个带十个已固定会话。未设置 `prefers-reduced-motion`。