lisniuse/dsh-modal-enhancer
Window-like controls for every Web UI modal: drag by title bar, eight-way resize, pin against outside clicks, maximize to the full viewport, removable backdrop blur, and per-dialog persistent state.
Gives every DeepSeek Harness Web GUI modal window-like controls: drag a dialog by its dedicated top strip, eight-way resize from all four edges and four corners, pin/unpin so a pinned dialog ignores outside clicks (its close button and Escape keep working), maximize/restore to fill the viewport with a small outer margin and return to the previous rectangle, and remove-backdrop to strip both the dim mask and backdrop blur while adding a light shadow so the dialog stays visually separated. Position, width, height, maximized state, pinned state and backdrop state persist per dialog across modal remounts and browser restarts.
Install
dsh plugin --profile web add github:lisniuse/dsh-modal-enhancerREADME: Git install (recommended, like other dsh plugins) with the github: form. The package declares dsh.client (platform web), so dsh plugin add reconciles it into the profile. The master switch lives in Settings → General (弹窗增强 / modal enhancement).
Compatibility
DeepSeek Harness Web GUI client-side plugin; it discovers dialogs through the stable accessibility contract [role="dialog"][aria-modal="true"] and does not change the Harness source code.
Details
- Repo: lisniuse/dsh-modal-enhancer
- Category: UI Enhancements
- Stars: 0
- Version: GitHub install (README does not claim an npm release)
- Last push: 2026-08-15
- First seen: 2026-08-15
Recent updates
README documents the accessibility-contract discovery (it does not depend on component internals) and per-dialog persistence of geometry and state.
FAQ
- How do I install dsh-modal-enhancer?
- Run dsh plugin --profile web add github:lisniuse/dsh-modal-enhancer, the README's recommended Git install. The package declares dsh.client for the web platform, so dsh plugin add reconciles it into the profile.
- Does dsh-modal-enhancer modify the DeepSeek Harness source?
- No — it is a client-side Cordis plugin that discovers dialogs through the stable accessibility contract [role="dialog"][aria-modal="true"] without changing the Harness source.
- Do modal positions survive a browser restart?
- Yes — position, width, height, maximized state, pinned state and backdrop state persist per dialog across modal remounts and browser restarts.