Skip to content

Add "⇲ Dock all" button for bulk-docking popped-out panels #3

Description

@carochacs

Background

This repo (per PR #20) has per-panel names, top-right Pop/Dock placement, and exposes panels to other plugins — capabilities slopsmith-plugin-splitscreen lacks. However, slopsmith has a "⇲ Dock all" button that this repo doesn't: a single control that docks every currently popped-out panel back into the main window at once, instead of requiring the user to dock pop-outs one at a time.

Ask

Port a "Dock all" button (visible only when ≥1 panel is popped out) that iterates the popups tracking structure and re-docks each one, reusing this repo's existing single-panel _redockPanel-equivalent logic per popup. Should respect the same in-flight/single-flight guards used elsewhere in the dock/pop-out lifecycle (see also the related issue about popOutPanel()'s missing _starting guard).

Reference

slopsmith-plugin-splitscreen screen.jsdockAllBtn / "Dock all pop-outs" section.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions