Repository navigation
Replies: 1 comment 2 replies
|
完全没看懂rc3版本新增的这个干啥用的? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
【建议】左侧栏/右侧栏的「更多」与「插件」入口完全重复,建议不渲染
Sidebar & right-sidebar "More" menus duplicate the Plugins panel entry
背景
0.2.1-rc.3 新增三个「更多」菜单:左侧栏面板列表底部、会话 View 标签后的「更多会话视图」、右侧栏起始页卡片后的「更多工具」。它们由
@deepseek-ai/dsh-client-ui-entry-customization注册到sidebar.panellist.actions、conversation.session.header.views.actions、sidebar.right.tab.guide.actions。左侧栏和右侧栏这两个菜单只有两行:「浏览更多插件」「创建你的插件」。会话头部那个不同,它列出被收起的 View 标签,是真正的溢出收纳,本文不涉及。
观察:这两行与「插件」入口完全重复
pluginNavigation.openList(),实现是layout.selectPanel('plugins')+ 标签切到「已安装」+ 视图回到列表——与点击左侧栏「插件」面板入口是同一个动作,还会顺手重置用户在插件页当前的标签和详情视图。uiWorkspace.startSession(undefined, { agentPreset: 'cordis', prompt, whenDraftExists: 'append' }),即进入创造模式并在草稿里预填一句区域相关的提示。插件页已经提供同一能力:添加插件 → 下拉箭头 → 让 Agent 创建插件(由dsh-client-ui-agent-preset提供)。也就是说,这两个菜单项没有提供插件页之外的能力,只提供了「发现性」。
问题
actionslist 有注册项时才画按钮,而entry-customization由 web-app bundle 默认挂载;包 README 也把「更多菜单不提供入口显隐管理」列为已知限制。建议(择一)
entry-customization不再向sidebar.panellist.actions和sidebar.right.tab.guide.actions注册菜单行,会话区域保留(它承载收起的 View)。复现
相关
环境:0.2.1-rc.3(Web / 桌面端)
All reactions