DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-sidebar-pin

d

dsh-sidebar-pin

Manifest valid

Pins the sidebar's global panel rows — Plugins, Token usage, Todos and any panel later plugins add — to the top of the sidebar so they stay reachable while a long session list scrolls, with a pin togg

UI (client)hasBundlePatch

dsh-sidebar-pin

Pin the sidebar panel rows to the top of the sidebar.

The sidebar keeps its global panels — Plugins, Token usage, Todos, and any panel a later plugin adds — in one row group above the Workspace/Session list. That row group scrolls away with the list. This bundle makes it sticky at the top of the sidebar viewport, so the panel entries stay reachable while a long session list scrolls beneath them.

A pin button above Settings switches the behaviour off and on; the choice is stored in localStorage and applies to every window of the profile.

Use

  1. Pinned (the default): the panel rows stay in place, the session list scrolls under them.
  2. Click the pin above Settings to let the rows scroll with the list again; click it once more to pin them back.

The bundle is a pure Client decoration: no Host route, no model-facing tool, no data leaves the page.

Install

Plugins → Add plugin → paste this package directory.

Compatibility

Requires a sidebar that renders its global panel rows inside [data-sidebar-scrollport] (the shipped @deepseek-ai/dsh-client-ui-sidebar does). The toggle needs the sidebar.footer.action slot; on a shell without it the pin still works but has no button.

Host contract

The pinned block is a stylesheet over the sidebar shell's own DOM, so four facts are load-bearing. test/client.test.mjs asserts the bundle side of each one:

AssumptionIf the host changes it
[data-sidebar-scrollport] marks the scroll viewportSelectors stop matching: the rows scroll away again, no crash
The panel rows are that viewport's only direct <nav>Sticky row, fill and hairline are lost
The list region is the viewport's direct <div> in grid row 4container-type misses, the section keeps a full-column height and the last rows can be clipped
Host baseline rows are 8px max-content 2px max-contentThe pinned ... 1fr template desyncs by a few pixels: a jump or an empty band

When the shell is on disk, check the host side too: DSH_SIDEBAR_DIR=<path to @deepseek-ai/dsh-client-ui-sidebar> npm test.

Tests

npm test (node:test, no dependencies). The suite loads client.js in a vm sandbox with a fake window.__ModuleLoader__ and document, then asserts the module surface: the injected services, the registered sidebar.footer.action row, the stylesheet selectors and grid template, the root flag, both locale dictionaries, and that disposal removes the style element and the flag. It does not render React and never touches the real sidebar DOM.

With the shell source unpacked on disk, the host side is checked too (unpacked into the workspace on this machine):

cd "D:/Deepseek work/workplace/dsh-sidebar-pin"
DSH_SIDEBAR_DIR="D:/Deepseek work/workplace/sidebar-src/dsh/node_modules/@deepseek-ai/dsh-client-ui-sidebar" npm test
  • with DSH_SIDEBAR_DIR: 8 pass / 0 fail / 0 skipped — grid template, scrollport marker and the > nav / > div structure all match the real source;
  • without it: 7 pass / 0 fail / 1 skipped (that case skips itself and says why).

Install from GitHub

dsh plugin --profile desktop add github:879745uhjun/dsh-sidebar-pin

Reload the Web UI page after installing.

Comments

Loading…

Similar plugins

dsh-panel-pins

by QDNBD

Sidebar panel management for DeepSeek Harness: a grouped Panels launcher collects global panel rows and third-party plugin entry rows into one menu (clicks the original buttons), with persistent pin/u

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Nov 1, 2026

dsh plugin --profile web add @qdnbd/dsh-panel-pins

DSH sidebar plugin: fold the global panel launchers into the More menu so your workspace and session list gets its vertical space back. Toggle in the More menu, persisted, fully reversible. 把侧边栏那排『全局面板』图标收进『更多』。

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add dsh-panel-fold

by Nishikinov

DSH plugin: puts a Settings row in the sidebar header, immediately before Plugins, and opens the native Settings panel in one click.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 6, 2026

dsh plugin --profile web add dsh-sidebar-settings-button

by AndreyTepaykin

Pinned-sessions block for the DeepSeek Harness sidebar: a collapsible pinned panel above the Settings row, hover pin buttons on session rows and a session-header toggle. Pins live in the plugin's own settings namespace.

Terminal & ClientsSessions & MessagesManifest valid

★ 0

MIT

JavaScript

Oct 1, 2026

dsh plugin --profile web add dsh-sidebar-pins

by 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

UI & ExperienceSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Sep 10, 2026

dsh plugin --profile web add dsh-plugin-sidebar-views

by fallow5

Pin and unpin sessions to the top of the Web sidebar with a dedicated pinned panel, archive section, and native three-dot menu integration.

UI & ExperienceTerminal & ClientsSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Sep 4, 2026

dsh plugin --profile web add @opendsh/dsh-plugin-pin-sessions