dsh-sidebar-autohide
Manifest validNotion-style auto-hide for the DeepSeek Harness Web UI sidebars.
DSH Sidebar Auto-hide
Notion-style auto-hide for the DeepSeek Harness (DSH) Web UI sidebars.
- Hover the left or right window edge to expand that sidebar.
- Move the pointer away to collapse it.
- Click a sidebar's toggle button to pin that column open (pins persist across reloads).
- A pinned right sidebar re-opens after a Session switch.
- The window chrome strip at the top (traffic lights / drag region) never triggers a collapse.
- Only applies to wide layouts (viewport >= 1024px); the shell's narrow/drawer behavior is left alone.
Install
This package is a DSH client plugin bundle (@local/dsh-sidebar-autohide). Install it the same way as any local or git DSH bundle:
- In the DSH desktop app, open Settings -> Plugins and install from this repository's git URL (or from a local checkout).
- Alternatively, point your DSH profile's plugin installation flow at
https://github.com/VNHUYY/dsh-sidebar-autohide. The install command differs between DSH versions; the Plugin Manager UI is the simplest path.
After installing, refresh the DSH window so the client bundle loads.
How it works
The plugin has no UI of its own. It:
- injects the shell's
layoutservice and reads the optionalsidebarRightservice; - observes the shell's stable DOM state (
data-sidebar-collapsed,data-sidebar-right-open) to know each column's state; - toggles the left column through
ctx.layout.toggleSidebar()and the right column throughctx.sidebarRight.toggleExpanded()(falling back to the shell's own buttons when the service is unavailable); - intercepts the sidebar toggle buttons in the capture phase so a click pins the column instead of collapsing it.
It uses no private APIs and does not patch the shell. It does depend on the shell's data attributes (data-sidebar-collapsed, data-sidebar-toggle, data-sidebar-right-*, data-dragging, data-window-drag), so a future DSH release that renames them may need a matching update here.
中文
为 DSH Web 界面左右两侧边栏提供 Notion 式自动收起:
- 鼠标移到窗口左/右边缘时展开对应侧边栏;
- 移开后自动收起;
- 点击侧边栏按钮可固定该栏展开(固定状态会记住);
- 固定的右侧边栏在切换会话后会自动重新展开;
- 窗口顶部(红绿灯 / 拖拽条)区域不会触发收起;
- 仅在宽屏(>= 1024px)生效,窄屏/抽屉模式保持原行为。
License
MIT
Comments
Loading…
Similar plugins
A cleaner, better-organized DeepSeek Harness sidebar with support for multiple plugin-defined widgets.
★ 0
Apache-2.0
JavaScript
dsh plugin --profile web add dsh-better-left-sidebarby NOirBRight
Codex-app-style sidebar for a DeepSeek Harness 主会话
★ 0
TypeScript
Sep 25, 2026
dsh plugin --profile web add dsh-codex-sidebarby Limitinfinitude
Native output sidebar for DeepSeek Harness
★ 3
MIT
JavaScript
Sep 11, 2026
dsh plugin --profile web add dsh-right-sidebarby xingzoudefengye
Drive the native browser page in the DeepSeek Harness desktop Sidebar: nine tools, pure plugin, no launch flags
★ 0
JavaScript
Oct 29, 2026
dsh plugin --profile web add dsh-sidebar-cdpby winniesi
Mobile left sidebar for the DeepSeek Harness Web GUI: the 56px collapsed rail becomes a top toggle button that slides the sidebar in over the content.
★ 0
MIT
JavaScript
Oct 3, 2026
dsh plugin --profile web add dsh-hide-sidebarby zhang-guo-wen
Web design for DeepSeek Harness: preview and edit HTML elements in the Sidebar
★ 0
Apache-2.0
TypeScript
Nov 2, 2026
dsh plugin --profile web add @guowenzhang/dsh-web-design