Skip to content

fix(reader): 收紧 sidecar 展示并修复 Gemini 上传重复 turn#79

Merged
abraxas914 merged 1 commit intomainfrom
codex/pr-reader-sidecar-compact
Mar 28, 2026
Merged

fix(reader): 收紧 sidecar 展示并修复 Gemini 上传重复 turn#79
abraxas914 merged 1 commit intomainfrom
codex/pr-reader-sidecar-compact

Conversation

@abraxas914
Copy link
Copy Markdown
Owner

背景

这轮 UI 收尾里,Reader 的 Sources / Attachments / Artifacts 仍然过重,容易抢正文层级;同时 Gemini 上传场景会把同一句用户输入拆成两条 YOU turn,影响阅读与审校。

本次修正

  • 将 Reader sidecar 收紧为更轻的 compact disclosure + 独立 inset tray
  • 同步 shared/web 的 sidecar 呈现,避免 sidepanel 与 detail surface 漂移
  • 修复 Gemini 上传附件场景下的近重复 user turn 合并逻辑,确保单次上传只保留一条 YOU
  • ui_refactor canonical 中补齐 reader sidecar hierarchy 与验收项

非目标

  • 不改 attachments[] / citations[] / artifacts[] 的数据契约
  • 不改 floating capsule
  • 不处理 Threads 视觉方向

验证

  • pnpm -C packages/vesti-ui build
  • frontend\\node_modules\\.bin\\tsc.cmd -p frontend\\tsconfig.json --noEmit
  • pnpm -C frontend build
  • pnpm -C vesti-web build

手测重点

  • Gemini 上传图片/文件时,单次用户输入只显示一条 YOU
  • Reader 正文层级高于 Sources / Attachments / Artifacts
  • attachment tray 不再 bulky,且与 turn divider 保持分离
  • shared/web detail 不出现新的 sidecar 层级漂移

@abraxas914 abraxas914 force-pushed the codex/pr-reader-sidecar-compact branch from b8194ed to 15b7aa2 Compare March 28, 2026 06:05
@abraxas914 abraxas914 force-pushed the codex/pr-package-sidecars-prompt-qa branch from f427965 to aeebfea Compare March 28, 2026 06:05
@abraxas914 abraxas914 force-pushed the codex/pr-reader-sidecar-compact branch from 15b7aa2 to 5e69988 Compare March 28, 2026 06:08
@abraxas914 abraxas914 force-pushed the codex/pr-package-sidecars-prompt-qa branch from aeebfea to 84886c4 Compare March 28, 2026 06:08
@abraxas914 abraxas914 marked this pull request as ready for review March 28, 2026 06:10
@abraxas914 abraxas914 force-pushed the codex/pr-reader-sidecar-compact branch from 5e69988 to 87b3376 Compare March 28, 2026 06:10
@abraxas914 abraxas914 changed the base branch from codex/pr-package-sidecars-prompt-qa to main March 28, 2026 06:11
@abraxas914 abraxas914 merged commit 92207ff into main Mar 28, 2026
1 check failed
@abraxas914 abraxas914 deleted the codex/pr-reader-sidecar-compact branch March 28, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant