Skip to content

Releases

v1.0.1

Choose a tag to compare

@meng-114 meng-114 released this 28 Sep 15:01

Settings navigation collapse for the DSH web UI — client-only, no host behaviour.

  • One header button folds the 188px settings navigation into a 56px icon rail (88px labelled fallback when rows carry no inline svg), so the content column stays readable on phones.
  • The panel is located at runtime from the plugin's own node (closest('[role="dialog"][aria-modal="true"]')) and tagged with the plugin's own marker — nothing keys on a package-internal attribute, so it works on DSH 0.1.5 as well as 0.1.7.
  • The applied state is written only when it changes; the marker and the style are re-asserted on every panel mutation (a plugin dispose cannot leave a half-torn state); the row gap targets the row list; aria-pressed reports the state that is actually applied.

Install: dsh plugin add @mengli114/dsh-settings-nav-collapse
npm: https://www.npmjs.com/package/@mengli114/dsh-settings-nav-collapse

设置面板导航折叠为图标轨道:手机窄屏下正文重新可读。