Advance UI and frontend pins for the single preview pane
Why: The right-hand preview clipped docx instead of scrolling, and a second overlay viewer duplicated FilePreview. Both fixes are already on the module mains. Evidence: make test passed in the task worktree (boundaries, pins, libs, core, backend, frontend 82 tests, ui 103 tests, agent-command). Impact: modules/ui moves to 27d5adb (icons #36 and contrast #37). modules/frontend moves to 0a0b556 (preview scroll #46, including contrast #45). Refs: Agent-System-UI#36, Agent-System-Frontend#46, Agent-System-Dev#196 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6,11 +6,12 @@
|
||||
|
||||
- 权威仓:ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-System-Dev.git;目标分支:main;R0(initial_base_sha)= 34e82d53c1716f0075d510a5f7b6d72dd3fc9912
|
||||
- 工作区:/home/weichen/projects/Agent-System-Dev-wt-feature-preview-scroll-consolidate(worktree);分支:feature/preview-scroll-consolidate
|
||||
- 授权与交付终点:<本次允许的动作与终点;未授权事项写明>
|
||||
- 授权与交付终点:修复右侧预览滚动,并删除 DocViewer 弹窗,以预览栏展开态承接。终点是 Dev 仓 gitlink 合入 main。
|
||||
|
||||
## 目标与非目标
|
||||
|
||||
<预期结果、受影响入口/模块/契约;明确不做什么。>
|
||||
- 目标:`.preview-pane-body` 成为唯一滚动容器;docx 页高变化时重算缩放高度;删除全屏弹窗;文本编辑/保存留在预览栏。
|
||||
- 非目标:不改 FilePreview 的格式分派,不改左右栏宽度偏好。
|
||||
|
||||
## 同步记录
|
||||
|
||||
@@ -20,6 +21,6 @@
|
||||
|
||||
## 结果与验证(完成后填写)
|
||||
|
||||
- 结果:
|
||||
- 验证:
|
||||
- 影响与剩余项:
|
||||
- 结果:UI 图标 PR https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-UI/pulls/36 已合入;Frontend PR https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Frontend/pulls/46 已合入。本分支推进这两个 gitlink。
|
||||
- 验证:Frontend `npx vitest run`(17 files, 82 tests)与 `npx tsc --noEmit`;UI `npx vitest run`(13 files, 84 tests)与 `npx tsc --noEmit`。Headless Chromium:1400px docx 宿主在 764px 栏内由 pane-body 滚动,pdf iframe 撑满该栏。
|
||||
- 影响与剩余项:登录后的六格式手工矩阵(docx/xlsx/pptx/pdf/md/代码 × 常态/展开)尚未在真实会话里点过。展开态不写入本地偏好,刷新后回到分栏。
|
||||
|
||||
+1
-1
Submodule modules/frontend updated: 9badbb1f85...0a0b55612c
+1
-1
Submodule modules/ui updated: b14c9c0e0d...27d5adb5c6
Reference in New Issue
Block a user