dsh-panellist-collapse: Collapses the left sidebar "Global Panel" list, while keeping the skin animation unchanged.
This article introduces the DSH client plugin `dsh-panellist-collapse` maintained by asdw159632. It inserts a collapse strip between the sidebar panel list and the workspace. When collapsed, it only hides excess rows while preserving the list's `margin-top` using `height:0` and `overflow:hidden`, ensuring the animation stage above the orca-link skin remains undisturbed. By default, it retains the first KEEP_ROWS (1 row, keeping only "Plugin") rows. Its state is saved to `localStorage`, and tooltips provide both Chinese and English text. It uses a `MutationObserver` to maintain injected nodes. The article outlines the table of contents, `package.json` fields, and `plugin_manager install_bundle` / `remove_bundle` commands for installation and removal, the actual testing steps recorded in the README on 2026-10-29, three pitfalls regarding selectors and collapse methods encountered during iteration, as well as considerations regarding dependencies on the host DOM structure, permissions, and the MIT license, and includes the index page and GitHub link.
Read More