dockview icon indicating copy to clipboard operation
dockview copied to clipboard

Pinning/hiding panels and putting a tab bar to any side of the page

Open maddouri opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

I wasn't able to figure out:

  1. How to put a (possibly "nested") tab bar on any side except the top of the page
  2. How to "hide" or "pin" a given tab/panel

Describe the solution you'd like

I'd like to please be able to make certain tabs/panels "hideable" or "pinnable" to the left, right or bottom of the page, much like what is possible in certain IDEs such as Visual Studio (and, to a degree, VSCode through its sidebar buttons) or other docking layout libs such as FlexLayout.

Describe alternatives you've considered

The only alternative that I came up with at the current time is to use a different docking layout lib which implements the features that I wasn't able to figure out with dockview in points 1 and 2 above.

Additional context

Visual Studio screenshot illustrating the "pinning" and "hiding" of a panel:

visual_studio_pin_dock_example

VSCode screenshot illustrating the show/hide a panel that is associated with a sort of "tab bar on the side"

vscode_hide_panel_example

FlexLayout lib screenshot and the associated "Default" sample page illustrating an implementation of features 1 and 2 mentioned above

side_and_bottom_tab_bars

Thank you for creating the feature-packed dockview lib and, in advance, for considering this feature request 🙂

maddouri avatar Nov 11 '24 21:11 maddouri

I came here to add that ticket, glad to see I'm not alone! This is the only major feature needed to reach feature parity with Caplin / Flex Layout (Which has disadvantages on its own). This would make Dockview the best of both worlds!