Skip to content

fix: 完成 RunDock 工程整改与桌面体验修正 - #1

Open
damingishere-coder wants to merge 31 commits into
mainfrom
codex/p0-p2-remediation
Open

fix: 完成 RunDock 工程整改与桌面体验修正#1
damingishere-coder wants to merge 31 commits into
mainfrom
codex/p0-p2-remediation

Conversation

@damingishere-coder

@damingishere-coder damingishere-coder commented Aug 29, 2026

Copy link
Copy Markdown
Owner

改动摘要

  • 完成当前分支已有的 P0-P2 工程整改、Windows 桌面壳、本机代理兼容与 RunDock 品牌统一。
  • 加固桌面壳关闭语义:右上角 X 始终隐藏到托盘;首次隐藏只提示一次;托盘/内部退出共享显式 quitting 路径,且只退出桌面壳。
  • 托盘菜单明确显示“退出 RunDock(项目继续运行)”,重复启动与托盘左键恢复并聚焦原窗口。
  • 删除认证成功后的固定“本地/local”悬浮入口和黑色 StatusBar;将服务器、终端、AI、统计、端口与隧道改为侧栏“工具”文字入口。
  • 新增 /settings/servers,复用本机、远程直连与 SSH 管理;认证失败时保留紧凑恢复切换器。
  • 清理终端、AI 面板与移动端布局的旧底栏偏移,并增加 Windows 安装版关闭/恢复 smoke。

验证结果

  • web-ui: lint、typecheck、生产构建通过;Vitest 26 个文件、113 项测试通过。
  • Rust workspace: fmt、check、Clippy(-D warnings)通过;189 项库测试与 3 项集成测试通过。
  • desktop-shell: fmt、check、release build 通过;测试目标成功编译。
  • Windows 安装版:X 后同 PID 存活且窗口隐藏;重复启动恢复同 PID;首次提示仅一次;显式退出只结束桌面壳,2999 daemon 与 6 个托管进程 PID 保持不变;5173 无生产监听。
  • 浏览器与桌面端实机确认:旧黑色底栏和固定“本地/local”已消失,6 个工具入口及服务器设置页可用,终端与 AI 面板贴合窗口底部。

已知基线与风险

  • 全仓 npm run format:check 仍报告约 90 个分支既有文件的格式问题;本次修改没有扩大为无关的全仓格式化。
  • 本机 GNU 桌面测试 EXE 因测试载体缺少 Windows v6 common-controls manifest,运行时在 TaskDialogIndirect 导入处报 0xc0000139;release EXE 自带 manifest,安装版 smoke 已通过,CI 的 Windows runner 继续覆盖该路径。
  • 不修改后端 API、2999 端口、数据 schema、项目状态或远程服务器存储格式。

回滚

  • 本机部署前的 alter.exerundock.exeWebView2Loader.dll 与开始菜单快捷方式已备份到 target/deployment-backups/a970079b-20260829-2353/backup
  • 如需回滚,只替换已确认的 RunDock 二进制并通过既有 upgrade handoff 重启 daemon;不得停止或重建托管项目。

@damingishere-coder damingishere-coder changed the title 统一 RunDock 对外名称并完成工程整改 fix: 完成 RunDock 工程整改与桌面体验修正 Aug 29, 2026
@damingishere-coder

Copy link
Copy Markdown
Owner Author

CI 收尾记录:

  • eb4ad22 的两套 Frontend quality 已通过。
  • Rust quality 在 Linux Clippy 发现 DAEMON_STOP_TIMEOUT 仅 Windows 使用但未加条件编译;已在本地提交 f920c50289134fc8d6d6febba1e6e8895ee859a6 修复,并通过本机 fmt/Clippy。
  • 两次普通 Push 分别因 GitHub 连接重置和 443 无法连接失败,因此该 1 行修复尚未进入远端;未强推、未改 remote。
  • SonarQube gate configuration 因仓库未配置 SONAR_HOST_URL / SONAR_TOKEN 失败,与代码无关。
  • Windows installer smoke 仍在运行。

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