dsh-sidebar-launcher: Right Sidebar Floating Launcher

Preface

When developing or debugging agents within the DSH Web shell, the right sidebar often accumulates multiple tabs: guides, plugin panels, session tools, etc. Native entry points are scattered across the column header’s + menu and the tab strip, making the switching cost higher once the right column is collapsed. If you are already using DSH’s @deepseek-ai/dsh-client-ui-sidebar-right and wish to use a fixed, draggable control to quickly open tabs, split columns, and batch clear docked or floating content when needed, this article introduces the approach taken by the community plugin dsh-sidebar-launcher (maintainer shuing).

What is this

dsh-sidebar-launcher is a Web Client Plugin (platform: "web") that mounts a 36×36, draggable, right-angled square (a non-rounded “ball”) in the DSH right sidebar floating layer. It does not depend on other sidebar plugins and mounts only via the host’s public API and bundle-patch.

The plugin activates only after sidebarRight / sidebarRightTabs are ready; if the environment does not have a right sidebar, the square will not appear.

Core Features

Floating Square and Position

On first run, the square sticks below the right column’s own switch button; if the sidebar has not rendered yet, it falls to the bottom-right corner of the viewport. Only the primary button is draggable; a displacement of less than 4px is treated as a click, and ≥4px is treated as a drag. The position is remembered across refreshes (local key dsh-sidebar-launcher:position) and clamped within the viewport. Colors follow the host’s --dsw-alias-* tokens, and UI text is read via locale and tab type titles.

Hover / Click: Tab Menu

Hovering or clicking the square pops up a dropdown card with entries identical and in the same order as the right column’s + menu. The three most recently activated tabs are pinned to the end closest to the square (if the ball is in the upper half of the screen, the card opens downward with the recent items at the top; if in the lower half, the opposite), separated by a divider from the full list.

  • Left-click a row: Opens that tab in the host-defined Left Pane.
  • Right-click a row: Opens in the Right Pane; if there is no right pane yet and the host allows splitting, it splits out a right pane first and then opens. If splitting is not possible, the behavior matches the host’s split button (silently falls into the current pane). When the right column is collapsed entirely, both left and right clicks will first expand the sidebar in a single-column form.

Clicking a row does not close the menu; it only closes when the pointer leaves the “Square + Card” area. The row order is frozen while the menu is open to facilitate continuous selection.

The top three recent items are prioritized from the host tab strip’s activation records; if the session is mounted but the tab strip has never been seen, it degrades to “tabs opened from this launcher” and explicitly indicates the degradation in the menu (it will not silently degrade due to the right column being collapsed).

Right-Click Square: Sidebar Operations Menu

Right-clicking the square pops up a second card (mutually exclusive with the tab menu; they do not appear simultaneously). The six operations are as follows:

Menu Item Behavior
Clear Tabs (Keep Floats) Closes all docked tabs, then collapses the sidebar; floating panels remain untouched
Clear All Tabs (Including Floats) Closes all tabs (docked + floating), then collapses the sidebar
Clear Left Split Closes tabs in the leftmost docked pane; greyed out if there is only one pane
Clear Right Split Closes tabs in the rightmost docked pane; greyed out if there is only one pane
Clear All Floating Panels Closes all floating panels; greyed out if no floats exist
Reset Floating Ball Position Returns the square to the anchor point and clears the saved position

A few rules to know (consistent with the README):

  • When guide is the only docked tab, “Clear Tabs” type operations will always leave the guide page (both host and plugin adhere to the soleDockedTab rule); guide pages inside floating panels are not protected by this.
  • Clearing a pane does not necessarily remove the split structure (the split may remain after the root pane is cleared).
  • The greyed-out state is calculated based on the real-time DOM and API when opening the menu, not cached.

Cross-Host Compatibility

The plugin targets the following DSH Web hosts and runs without modification:

  • 0.1.5-rc.2 (Old flex, e.g., used by Tavern desktop)
  • 0.1.7-rc.2, 0.2.0-rc.2, 0.2.1-alpha.2 (Modern grid)

The implementation selects branches via capability detection (e.g., whether MenuItemButton exists, sidebarRight.tabsIn, whether mounted is observable, etc.) rather than comparing version strings.

Installation and Activation

Prerequisites: DSH Web is one of the versions above, and the right sidebar is mounted (dsh-web-app mounts @deepseek-ai/dsh-client-ui-sidebar-right by default).

The installation method provided in the README is divided into two steps:

  1. Add the plugin repository address to the official left sidebar (the source text is the following line; follow your current DSH interface instructions):
https://github.com/shuing/dsh-sidebar-launcher
  1. If already downloaded and extracted locally, use the profile web to add the package path:
dsh plugin --profile web add <file address>

If you wish to store it under the profile-web-node module, you can use the file: prefix:

dsh plugin --profile web add file:<file address>

The plugin runs with the permissions of the current dsh process; please review the repository source code and the MIT license before installation to confirm that the injection items and patches comply with your environment policies.

Typical Usage

The following steps can be directly reproduced based on the behavior described in the README (the host example is a modern grid environment like 0.2.0-rc.2).

  1. Confirm the right sidebar is ready; an amber-colored small square appears on the right side of the viewport (initially it may be below the column switch or at the bottom right corner).

  2. Hover or click the square, and select a tab in the card: Left-click opens in the left pane, Right-click opens in the right pane (auto-splitting if necessary).

  3. After continuously opening multiple tabs, the three most recently activated ones will appear at the end of the card near the square for easy refocusing.

  4. When needing to clean up the layout, right-click the square (not the menu row), and select e.g., “Clear Tabs (Keep Floats)” or “Clear All Floating Panels”; split-related items will be greyed out if there is only one pane.

  5. If the square is dragged out of view or the position is inconvenient, select “Reset Floating Ball Position” in the operations menu.

Suitable Scenarios and Notes

Suitable for: Users who frequently switch right-side tabs in DSH Web, use split views to compare multiple panels, and want to reduce the time spent looking for the + menu and tab strip; also necessary for desktop shells like Tavern still based on 0.1.5-rc.2 requiring the same launcher behavior.

Notes:

  • The community directory SkillHub is an independent site with no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem emphasizes “everything is a plugin,” so installation sources need to be vetted by yourself.
  • The plugin menu styling intentionally takes a middle value between the metrics of two generations of hosts and is not perfectly consistent with the native menu; on hosts without background blur, the card is an opaque fill rather than frosted glass.
  • “Left Pane / Right Pane” is determined by the host dockkit’s data-dockkit-column or geometric fallback, not DOM document order; consistent with the description in the README section “How to read the sidebar shape”.

Conclusion

dsh-sidebar-launcher uses a memorable floating square to consolidate the right sidebar’s tab guide and six batch operations into a single interaction path, maintaining the same logic across four generations of hosts through capability detection. To view screenshots, an 18.7-second demo video, and cross-host details, please read the GitHub README; for installation and classification information, see the SkillHub directory page: https://www.skillhub.cn/plugins/shuing/dsh-sidebar-launcher, Source code: https://github.com/shuing/dsh-sidebar-launcher.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye