Zum Hauptinhalt springen
S

dsh-settings-sidebar-organizer

six6strings/dsh-settings-sidebar-organizer

Drag and drop to reorder DSH settings entries and organize them into collapsible groups.

Installation

dsh plugin --profile web add github:six6strings/dsh-settings-sidebar-organizer

README

Settings Sidebar Organizer logo

Settings Sidebar Organizer

English · 简体中文

awesome · DSH plugin dsh license

npm version npm downloads repo GitHub stars

Organize DSH's settings sidebar with drag-and-drop. Put frequently used pages first, collect related entries into named groups, and keep your layout between sessions.

  • Reorder entries: drag to an edge or the gap between entries.
  • Create collapsible groups: drop an entry in the center of another; move entries into, out of, or between groups.
  • Rename without crowding the sidebar: use the group's ⋯ popup to rename or dissolve it.
  • Save your layout: order, group membership, names, and expanded state are stored through DSH's settings.
  • Follow DSH's appearance: theme-aware controls and Chinese/English UI that follows the application language.

Dragging, grouping, and editing settings entries

Installation

Host requirement: >=0.2.2-rc.1. Verified on DSH 0.2.2-rc.1 and 0.2.2-rc.3; other versions have not been verified.

npm

For DSH Desktop's desktop profile:

dsh plugin --profile desktop add dsh-settings-sidebar-organizer

For the default CLI profile:

dsh plugin add dsh-settings-sidebar-organizer

GitHub

For DSH Desktop's desktop profile:

dsh plugin --profile desktop add github:Six6stRINgs/dsh-settings-sidebar-organizer

For the default CLI profile:

dsh plugin add github:Six6stRINgs/dsh-settings-sidebar-organizer

If you use a different named profile, replace desktop with its name. These commands register the bundle with DSH; a plain npm install is not a substitute.

Usage

GoalAction
ReorderDrop at an entry's edge or an insertion gap.
Create a groupDrop an entry in the center of another entry.
Add to a groupDrop onto a group or one of its children.
Expand or collapseClick the group heading.
RenameClick ⋯, edit Group name, then choose Save name or press Enter.
Cancel editingChoose Cancel, press Escape, or click outside the popup. Blur alone never saves.
Dissolve a groupChoose Dissolve group in ⋯. Its entries return to the top level.
Move a child outRight-click it and choose Move to root.
ResetOpen Organize sidebar, choose Reset layout, and confirm.

Groups have two levels at most: a group can contain entries, not other groups. Keyboard alternatives are Alt+Up/Down to reorder and Alt+Left to move a child to the top level.

Changing DSH's language translates controls, not your group names or unsaved drafts. Read-only settings still allow opening pages and locally expanding groups, but cannot save layout changes.

Compatibility and troubleshooting

  • Supported version: DSH >=0.2.2-rc.1 (verified on 0.2.2-rc.1 and 0.2.2-rc.3; other versions have not been verified).
  • Dragging does not respond: check for conflicts with other sidebar or drag-enhancement plugins.
  • Changes are not saved: open Organize sidebar and check for read-only or save-error messages.
  • Need help? Open an issue with your DSH version, the status message, and steps to reproduce the problem.

How it works

A version-specific adapter decorates the existing settings component while keeping native pages and actions. Layout is recorded by stable entry IDs and saved through DSH's Host settings transport with revision checks, not by directly editing profile files. The group editor is rendered into the existing settings dialog, outside the sidebar's scroll area, so it does not move entries or get clipped by the sidebar.

Development

git clone https://github.com/Six6stRINgs/dsh-settings-sidebar-organizer.git
cd dsh-settings-sidebar-organizer
npm install --ignore-scripts --no-package-lock
npm run check
lib/      Installable Host entry and generated Client bundle
src/      Internal source modules and build script
test/     Automated tests
assets/   Logo and showcase GIF
locale/   Plugin display translations

Run npm run build after source changes. Development dependencies are used only for testing and are not included in the distributed plugin. Automated tests do not replace visual testing in DSH.

License

MIT.

Ähnliche Plugins