DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-nav-tidy

d

dsh-nav-tidy

Manifest valid

Hide chosen sidebar panel entries without disabling the plugins behind them.

UI (client)hasBundlePatch

dsh-nav-tidy

Hide any panel entry in the dsh Web left sidebar — without disabling the plugin behind it.

中文说明

The dsh sidebar lists every installed plugin that registers a global panel. Ten entries in, the list starts pushing the workspace and session browser down the screen. The official sidebar only offers a whole-column collapse (56px rail), and the official More menu explicitly does not manage entry visibility, so dsh-nav-tidy adds exactly that:

  • A checkbox panel at the bottom of the sidebar — More → 侧栏入口…
  • A tiny console API (dshNavTidy) for scripted use

Ticking a row off hides the row. The plugin itself keeps loading and its panel stays reachable; nothing is uninstalled.

┌──────────────────────────────────────────────┐
│ 侧栏入口                                      │
│ 新装的插件入口默认都会显示出来;取消勾选即隐藏。  │
├──────────────────────────────────────────────┤
│ ☑ SSH                                        │
│ ☑ HyperFrames                                │
│ ☑ Remotion                                   │
│ ☑ 插件市场                                    │
│ ☐ Logcat 实机调试                             │
│ ☑ 插件                                        │
│ ☑ 无限画布                                     │
├──────────────────────────────────────────────┤
│                          全部显示   完成       │
└──────────────────────────────────────────────┘

Install

dsh plugin --profile desktop add github:AD199-gif/dsh-nav-tidy

Use your own profile name in place of desktop (dsh plugin --profile web add … for a dsh web profile). Then restart dsh so the client bundle is picked up.

Prebuilt tarball, if you prefer not to build from source:

dsh plugin --profile desktop add https://github.com/AD199-gif/dsh-nav-tidy/releases/latest/download/dsh-nav-tidy.tgz

Use

Right-click a row — the fastest path: right-click any panel entry in the sidebar and it disappears, with a four-second Undo toast. Workspace and session rows keep their own context menu.

Checkbox panel — sidebar → More → Sidebar entries (侧栏入口). Untick a row to hide it, tick it back to restore; Show all clears the list; the search box filters by label. All copy follows the host language.

Nothing is hidden out of the box. An entry a plugin adds shows up in the sidebar first — hiding it is your call, not the plugin's.

Stale entries — when a hidden label no longer matches anything (the plugin was uninstalled), the panel reports how many are left over and cleans them up in one click.

Console — the same store, scriptable:

dshNavTidy.open()          // open the checkbox panel
dshNavTidy.list()          // currently hidden entries
dshNavTidy.hide('SSH')     // hide every row whose label contains "SSH"
dshNavTidy.show('SSH')     // restore them
dshNavTidy.reset()         // back to the default list

Matching is substring, case-insensitive: SSH also hides a row labelled SSH tunnel, and 插件 would also swallow 插件市场. Rows added by plugins you install later appear in the panel automatically — no code change needed.

Defaults are persisted under the dsh-nav-tidy:hidden key in localStorage, so they survive restarts.

How it works

  1. The panel rows are <button aria-label="<entry name>"> inside the sidebar root. The plugin tags that root with data-nav-tidy-scope.
  2. It injects one stylesheet: [data-nav-tidy-scope] button[aria-label*="X" i] { display: none !important }.
  3. A MutationObserver re-applies the root tag if React replaces the sidebar subtree; a stylesheet means ordinary re-renders need no work.

The checkbox panel is registered into the sidebar.panellist.actions list slot — the same seat the official More menu uses — and renders as a plain DOM overlay, so it does not depend on any component library.

No dsh source is patched, no @deepseek-ai/* package is imported at load time. @deepseek-ai/dsh-client-ui-primitives is required optionally for the menu row (it falls back to a plain button if unavailable), and every DOM hook is wrapped in try/catch: a failure can cost you the panel, not the UI.

Requirements

  • dsh Web (desktop app or dsh web profile) with the sidebar.panellist.actions slot — present in @deepseek-ai/dsh-client-ui-sidebar 0.2.2-rc.1 and the builds that ship dsh-client-ui-entry-customization.
  • Tested against DSH Desktop 0.2.2-rc.1 on Windows.

Limitations

  • Visual only. Hidden plugins still load and still consume memory — hide a row here, and disable the plugin itself if you want the resources back. The plugin collapses the sidebar column natively; this one manages individual rows.
  • Matching is label-based. A row registered without aria-label cannot be targeted; check [...document.querySelectorAll('nav button')].map(b => b.getAttribute('aria-label')) to see what a row actually exposes.
  • The More row itself is never hideable — it is the way back into the panel.

Development

git clone https://github.com/AD199-gif/dsh-nav-tidy.git
cd dsh-nav-tidy
# install into a scratch profile as a local dependency
dsh plugin --profile <profile> add file:$PWD

lib/index.js is the host half (an empty apply — all work is in the browser), lib/client.js is the browser bundle. The bundle is written directly against the dsh client module contract (window.__ModuleLoader__.load({ id, factory })), so there is no build step: edit the file and restart dsh.

License

MIT

Comments

Loading…

Similar plugins

dsh-sidebar-installed-plugins

by pkui1mpression-design

Sidebar panel for DeepSeek Harness: lists the plugins installed in the current profile and gives each one an enable/disable switch.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Nov 3, 2026

dsh plugin --profile web add dsh-sidebar-installed-plugins

by HighToward

DSH左上角插件侧栏管理,可以把面板入口收进一级分类/二级分类,也可以把某个入口隐藏或显示。

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 2

MIT

JavaScript

Nov 11, 2026

dsh plugin --profile web add dsh-plugins-sidebar-manager

by rivenshanghai

Collapses the global panel entries above the workspace in the DSH Web sidebar into a single toggle in the sidebar footer.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Nov 3, 2026

dsh plugin --profile web add dsh-toomuch-plugins

A sidebar assistant plugin for the Web interface, allows users to select any text, displays the model’s reasoning process and final answer in a floating panel.

UI & ExperienceManifest valid

★ 0

dsh plugin --profile web add dsh-sidehelper

by zhujiuyi

Lists every entry that can appear in the left sidebar and gives each panel entry its own hide/show switch from a section in Settings.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 23, 2026

dsh plugin --profile web add @zhujiuyi/dsh-leftpanel

侧栏面板自由拖动:长按拖到任意位置排序,拖进「更多」即收纳、拖出即放回 | Sidebar panel organizer for DeepSeek Harness

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add dsh-panel-tidy