Sidebar layout fix for the DSH Web UI: caps and scrolls the plugin-action area, shrinks the inline pairing QR code and tightens the brand row, so the workspace and session list stays clickable when footer plugins grow tall.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Cjrrrrrrrr/dsh-plugins#path:/packages/dsh-sidebar-tidy
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Keeps the DSH Web sidebar usable when footer plugins grow tall.
Part of Cjrrrrrrrr/dsh-plugins.
The problem
The DSH Web sidebar stacks, top to bottom:
logoRow (brand) flex: none
newSession flex: none
panelList flex: none
regionArea (workspaces, flex: 1 <- the part you actually click
sessions)
footArea (plugin actions) flex: none <- never shrinks
Only plugins that register into sidebar.footer.action land in footArea, and
because that area is flex: none it takes whatever height its contents need and
never gives any back. When a footer plugin renders something tall — a pairing
QR code rendered inline at 256×256, for instance — regionArea is squeezed down to
a few rows and the workspace and session list becomes hard or impossible to click.
What this plugin does
One injected <style> element with four rule groups, applied to the browser half
only. It changes no plugin behaviour:
| # | Rule | Effect |
|---|---|---|
| 1 | [class*="_footArea"] { max-height: 34vh; overflow-y: auto } |
The action area scrolls instead of pushing the list off-screen |
| 2 | inline QR images and the bridge's QR element → min(132px, 100%) |
The QR stays scannable at roughly a quarter of its former height |
| 3 | [class*="_logoRow"] { height: 44px }, [class*="_newSession"] { margin-bottom: 8px } |
Reclaims 16px + 4px at the top |
| 4 | .cm-foot { height: 26px }, .cm-bbox { max-height: 128px; overflow-y: auto } |
Compacts the cost-meter footer and caps its balance box |
Install
dsh plugin add github:Cjrrrrrrrr/dsh-plugins#path:/packages/dsh-sidebar-tidy
Reload the page. To remove it, uninstall the plugin — the style element goes with it and nothing else was modified.
How the selectors are chosen
DSH's own class names are CSS-module hashes like _2H3hWW_footArea. The hash
changes between builds; the suffix does not, so the rules match with
[class*="_footArea"] rather than a fixed hash.
Rules 2 and 4 also name classes owned by the plugins they tune — .cm-* from
dsh-cost-meter and KV--Pq_* from the pairing bridge. Those are stable in the
sense that their authors chose them, not in the sense that anything guarantees them.
Limits
- This is a layout patch, not a fix in the plugins that grow. If a footer plugin renders something even taller, rule 1 turns it into a scrollbar rather than solving the underlying sizing.
- It targets DSH 0.2's sidebar structure. A DSH release that renames the stable
suffixes (
_footArea,_logoRow,_newSession) would make rules 1 and 3 stop matching. Nothing breaks when that happens — the CSS simply no longer applies. - Rule 4 only has an effect when
dsh-cost-meteris installed.
Layout
lib/client.js browser half: the injected CSS (all of the behaviour)
lib/index.js host half: registers an empty placeholder, does nothing
cordis.patch.yml the bundle row
License
MIT
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10172
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10172
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 7101
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 6959
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 4959
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1744
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.