Skip to content

fix(desktop): 修复本地网页打开方式与 macOS 侧栏布局 - #368

Open
wisdomqin wants to merge 1 commit into
mainfrom
codex/feature-20260909
Open

fix(desktop): 修复本地网页打开方式与 macOS 侧栏布局#368
wisdomqin wants to merge 1 commit into
mainfrom
codex/feature-20260909

Conversation

@wisdomqin

Copy link
Copy Markdown
Contributor

变更内容

  • 将 DSH 内部导航限制为当前服务的精确 Origin,其他 HTTP/HTTPS 链接(包括 localhost)使用系统默认浏览器打开。
  • 右键菜单支持在浏览器中打开本地网址。
  • macOS 收起侧栏由 80px 加宽为 96px,图标居中;统一收起和展开时 Logo 行的垂直布局。
  • 红绿灯采用固定原生坐标,不随侧栏展开、收起或页面缩放移动;在 Actual Size 下居中于收起侧栏。
  • 补充导航、原生按钮定位和布局回归测试。

验证

  • npm run typecheck 通过。
  • 5 个相关测试文件、64 项测试通过。
  • git diff --check 通过。
  • 本地 macOS Dev 已启动并进行布局检查,用户确认当前效果无问题。

范围说明

  • 未调整模型、Skill/MCP 或 PPT 业务功能。
  • 未进行 Windows 安装包验证。
  • 不包含先前已撤回的随缩放/侧栏状态动态定位红绿灯逻辑。

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