Repository navigation
dsh-panel-order:侧栏全局面板拖拽排序 #11203
gezi-wen
started this conversation in
Show Your Plugins!
Replies: 0 comments
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.
侧栏顶上那排全局面板(插件、Skill / MCP、插件市场、自动化任务、记忆管理……)的顺序,是插件注册时写死的;而它下面的会话列表却能拖着排。我做了个小插件把这个手势补上。
装上之后按住面板行拖就行:指针移动超过 4px 才开始拖(普通点击还是打开面板),拖动时有蓝色插入线,松手落位,顺序存起来,刷新还在。折叠成图标条也一样,「更多」始终固定在最后。
npm:
dsh-panel-order或
dsh plugin --profile <profile> add dsh-panel-order仓库:https://github.com/gezi-wen/dsh-panel-order
说清楚一点:面板的 order 是注册项上的值,官方没给改它的 API,插件是直接写那个 order 再触发一次槽位重算。上游要是改了这块,最坏情况是「拖了不生效」,不会弄坏侧栏或别的插件,卸载就恢复原顺序。没有任何常驻服务、外部依赖或 API key。
也在 Ideas 提了个建议,希望以后官方把面板顺序做成正式能力:#11198
All reactions