Skip to content

开发空间:可折叠右侧栏与对话权限模式 - #39

Merged
XYAIStudio merged 4 commits into
mainfrom
cursor/dev-right-sidebar-a915
Sep 17, 2026
Merged

XYAIStudio merged 4 commits into
mainfrom
cursor/dev-right-sidebar-a915

Conversation

@XYAIStudio

@XYAIStudio XYAIStudio commented Sep 17, 2026 •

Copy link
Copy Markdown
Owner

Summary

在 开发空间 对话区:

  1. 可折叠右侧栏(空态「开始一个面板」+ 文件 / 审查 / 后台任务 / 浏览器 / 终端),输入框 + 与 使用权限(默认 / 自动审批 / 完全访问)。
  2. 对话历史横杠(沿滚动条一侧):悬停看回合摘要,点击跳到对应消息。复用仓库已有的 Cindy / DSH TurnTimelineRail,对齐 Codex 式 hover-preview + click-to-seek。

已在 #38 合入 main 之后 rebase。组织嵌入 / 模型管理 / 登录 / 个性化 chips 在基线上。

Target branch

  • Base is develop (feature / fix — default)
  • Base is main

Type of change

  • New feature

功能说明

右侧栏

  • 默认收起;顶栏 / 输入框 + / 右缘按钮可展开。
  • 五项入口打开对应面板。关完最后一个 tab 仍留空态。

使用权限

  • 默认权限 / 自动审批 / 完全访问(切换完全访问会确认)。
  • 按会话写入 localStorage,随 user_turn 发送 permission_mode。

对话历史横杠

  • 沿消息列表 滚动条一侧(inline-end)显示每轮用户消息的横杠。
  • 悬停:预览用户问句 + 助手回复摘要。
  • 点击:滚动到该消息并短暂高亮。
  • 宽度门槛降到 560px,打开右侧栏后仍可见(原先 864px 会在侧栏打开时消失)。

Test plan

  • dashboard vitest:turnTimeline / TurnTimelineRail(含 hover 摘要、600px 可见、click seek)
  • 既有右侧栏 / 权限模式 vitest
  • npx tsc --noEmit
  • rebase 后的 GitHub CI

Checklist

  • Updated CHANGELOG.md
  • README / docs updated (if needed)
Open in Web Open in Cursor 

cursoragent and others added 3 commits September 17, 2026 05:15
Desktop 开发空间 can open a right sidebar with file, review, background-task, browser, and terminal panels. Composer + shares that picker; 使用权限 persists per conversation and is sent on each turn.

Co-authored-by: XYAI Labs <haoboy8@gmail.com>
Also open the terminal panel even without the terminal capability so the
right-rail starter is never a dead button.

Co-authored-by: XYAI Labs <haoboy8@gmail.com>
Keep CONFIG_KEY unaliased so lazy imports stay isort-clean, and normalize
modes through a typed map so mypy --strict is happy.

Co-authored-by: XYAI Labs <haoboy8@gmail.com>
@cursor
cursor Bot force-pushed the cursor/dev-right-sidebar-a915 branch from 1b3d701 to b2f84ef Compare September 17, 2026 05:15
Reuse the existing Cindy/DSH TurnTimelineRail: hover previews a turn,
click seeks to that message, and the rail stays visible at mid widths
when the 开发空间 right sidebar is open.

Co-authored-by: XYAI Labs <haoboy8@gmail.com>
@XYAIStudio
XYAIStudio marked this pull request as ready for review September 17, 2026 05:19
@XYAIStudio
XYAIStudio merged commit e2a680c into main Sep 17, 2026
5 checks passed
@XYAIStudio
XYAIStudio deleted the cursor/dev-right-sidebar-a915 branch September 17, 2026 05:44
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.

2 participants