Repository navigation
恢复日历和会话列表入口及原生菜单导航 - #58
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
原因
合并后的
createDesktopPlatform遗漏了ccbuddyHistory → IPlatformService.historyReview和onOpenHistoryViewRequested两处转接。侧栏按历史能力决定是否显示入口,因此日历与会话列表同时消失,原生菜单请求也无法进入主视图。Preload、Main IPC、历史服务及历史组件均仍存在。修复
createDesktopPlatform获取能力和菜单事件,覆盖两个入口、详情阅读、页头切换与侧栏选中同步、选中会话保持、Settings 下的同/异目标菜单导航。main.tsx入口。验证
使用 Node 24.14.0 / pnpm 10.33.2:
pnpm typecheck通过。pnpm lint通过:0 errors、54 项既有 warnings。pnpm fmt:check、pnpm architecture:check --changed、pnpm verify:pre-push、git diff --check通过。验证局限
origin/main为 141 条、当前 142 条;无新增错误种类,恢复菜单转接多触发 1 条已有Window.ccbuddy全局声明缺失诊断。新增测试文件无诊断。其余为已有平台全局声明、CSS 与 Node 类型配置缺口;标准仓库类型检查通过。