dsh-sidebar-trim
Manifest validHides the sidebar's global panel navigation (Plugins / Market / Schedules / More) and gives the vertical space back to the session list; three modes, switchable in Settings → Sidebar.
Sidebar Trim · dsh-sidebar-trim
Hides the sidebar's global panel navigation — Plugins / Market / Schedules / More — and gives the vertical space back to your session list.

- Expanded sidebar: saves ≈158px (4 × 36px rows plus gaps and the list's bottom margin)
- Collapsed rail / phone drawer: saves ≈192px (wider gaps)
Why it exists
- On a phone the sidebar drawer is short; those four rows cost exactly the height of two or three sessions.
- The Slot API can only add entries, never hide them: once a plugin registers in
sidebar.panellistit owns a row, and the Plugins row is hard-wired to always show (id === "plugins" || !unpinned.includes(id)), so the sidebar's own pin/unpin cannot hide it either. - This plugin does exactly one thing: anchor on the slot contract — the only
navinside[data-slot="sidebar"]— and set it todisplay: none. No hashed class names, no DOM surgery, no fighting other plugins for registrations.
Install
Search dsh-sidebar-trim in the DSH plugin market, or install this directory as a local package into the current profile.
Three modes
Pick one in Settings → Sidebar; the sidebar changes as you pick — no reload, no reinstall.
| Mode | Effect |
|---|---|
| Hide all (default) | Plugins / Market / Schedules / More all collapse |
| Keep “More” | Hide the three rows, keep one More button to reach the collapsed panels |
| Hide nothing | Restore the factory sidebar, for a side-by-side look |
The choice is remembered on this host in a cookie, so it survives a restart even though the harness picks a new port each launch. Another host (a different machine, a tunnel domain), cleared site data, or a private window starts from the default.
Undo
Settings → Sidebar → Hide nothing restores the rows on the spot. To remove the plugin entirely, Settings → Plugins → turn off “Sidebar Trim” — also without a page reload.
With the navigation hidden, Market and Schedules lose their sidebar entry too; reach them from Settings → Plugins when needed.
Compatibility
- Targets DSH 0.2.x (Web and desktop share the same renderer)
- Depends on the
[data-slot="sidebar"]slot anchor and thenavsemantics of the sidebar - If a future release changes the sidebar structure, the plugin fails silently (the UI returns to normal; nothing breaks or blocks startup) and gets a patch release for the selector
License
MIT
Comments
Loading…
Similar plugins
by ruanimal
Collapses the DSH Web sidebar panel menu (plugins, extensions, scheduled tasks, IM) from a vertical labelled list into a horizontal row of 36×36 icon buttons with hover tooltips; a Settings → General
★ 0
JavaScript
Sep 30, 2026
dsh plugin --profile web add dsh-sidebar-panel-buttonsby zuojinxin
让 DSH 的扩展入口和视图标签支持折叠、排序、隐藏。Collapse, reorder and hide the DSH sidebar extensions and the conversation view tabs.
★ 5
↓ 970/wk
MIT
JavaScript
Nov 2, 2026
dsh plugin --profile web add dsh-sidebar-managerby NattoCB
Adds a Workspaces / Recent-sessions switcher above the sidebar list, with a pinned-sessions group, a per-row menu (pin/unpin, copy session id), title filtering, and browser-local pin storage with a on
★ 1
MIT
JavaScript
Sep 10, 2026
dsh plugin --profile web add dsh-plugin-sidebar-viewsby rivenshanghai
Collapses the global panel entries above the workspace in the DSH Web sidebar into a single toggle in the sidebar footer.
★ 1
MIT
JavaScript
Oct 30, 2026
dsh plugin --profile web add dsh-toomuch-pluginsby SUZUNAMI
Hide selected workspaces from the DSH sidebar without deleting anything: local-only, reversible, with a Settings management page.
★ 0
MIT
JavaScript
Sep 22, 2026
dsh plugin --profile web add dsh-workspace-hideby yfwu2020
DSH sidebar plugin: a floating recent-sessions sheet that blends into the sidebar
★ 0
MIT
TypeScript
Oct 5, 2026
dsh plugin --profile web add @yfwu2020/dsh-recent-sessions