dsh-sidebar-icon-row
Manifest validTurns the DeepSeek Harness sidebar panel entries and footer entries into one row of icon-only squares with hover names, adds four icon-size presets, per-entry show/hide switches and up/down ordering,
侧栏图标并列(sidebar-icon-row)
DeepSeek Harness 插件的侧栏入口默认都是 42px 整行,所以「插件广场 / 远程控制 / 面板入口」会一条一行。 本插件把它们压成 36×36 的图标方块并排显示,并提供设置页。
- 面板入口(
sidebar.panellist)与底部入口(sidebar.footer.action)统一处理; - 「今日 / 余额」卡片仍独占一整行(沿用 cost-meter 自己的
.cm-footer-stack); - 每个入口只显示图标,常驻文字隐藏,悬停时在图标上方显示名称(纯 CSS
::after+aria-label); - 侧栏收起成 56px 轨道时保持原样(图标竖排);
- 底部新增一个「设置」齿轮入口,一键打开 DSH 设置页;
- 设置页里可调图标大小(16 / 18 / 20 / 24)、逐个开关入口、并调整图标先后顺序。
实现方式
- 只注入一个
<style>节点,不修改任何宿主或其他插件的组件; - 选择器用
[data-slot="sidebar.footer.action"] > *与[class*="panelList"]/[class*="panelRow"]锚定, 不使用_2H3hWW_这类带构建哈希的类名; - 侧栏入口按渲染出来的名字(
aria-label优先)打上data-sir-key,隐藏与排序都作用在这个属性上, 关闭的入口直接display: none !important(内联),所以不依赖选择器优先级; - 排序通过给每个入口写
order实现,不移动 DOM; - 设置存在浏览器
localStorage(键dsh.sidebar-icon-row.v1),按浏览器各自保存。
设置页
插件 → 已安装插件 → 侧栏图标并列。设置区注册在 plugins.bundle.config(key 为包名),
在插件页描述下方、插件行上方渲染。
安装 / 卸载
# 安装(当前 profile;源码就放在 profile 的 local-plugins 下,不依赖工作区)
dsh plugin install "E:\DeepseekHarness-data\data\profiles\desktop\local-plugins\sidebar-icon-row"
# 卸载
dsh plugin remove dsh-sidebar-icon-row
安装后刷新页面;新增 bundle 首次加载可能需要重启一次 dsh web。
回滚
在插件管理里关掉「侧栏图标并列」,或卸载本包:样式随 <style> 清理消失,
额外的「设置」图标随 sidebar.footer.action 的注册一并移除。
Comments
Loading…
Similar plugins
by linguiyii
DeepSeek Harness 客户端插件:把设置入口放到侧边栏底部,一键打开设置页。 / A DSH client plugin that puts a settings button at the bottom of the sidebar.
★ 0
MIT
JavaScript
Oct 18, 2026
dsh plugin --profile web add dsh-sidebar-settingsReplaces the DeepSeek Harness desktop app icon (exe, tray and Start Menu) with any uploaded .ico, and restores the stock icon on demand.
★ 0
dsh plugin --profile web add dsh-icon-changerby suntianc
Adds custom icons to the DSH Settings sidebar and exposes a keyed `settings.section.icon` slot for third-party settings sections.
★ 1
MIT
TypeScript
Oct 17, 2026
dsh plugin --profile web add dsh-ui-settings-iconsby zizhongfeiyang
A DeepSeek Harness web UI plugin for customizing and managing the settings navigation drawer. DeepSeek Harness 设置抽屉插件,用于自定义和管理设置页左侧导航栏,可隐藏/显示各设置栏目,修改即时生效。
★ 3
MIT
JavaScript
Sep 30, 2026
dsh plugin --profile web add dsh-settings-drawerDeepSeek Harness plugin: show a running / just-finished indicator on sidebar workspace rows
★ 0
MIT
TypeScript
dsh plugin --profile web add dsh-workspace-activityby EnkiduGilgamesh
DeepSeek Harness plugin: a hoverable/clickable outline rail on the left of the chat column (one marker per turn, summary card on hover, click to jump).
★ 0
MIT
JavaScript
Aug 15, 2026
dsh plugin --profile web add dsh-codex-side-outline