dockview icon indicating copy to clipboard operation
dockview copied to clipboard

feat: priority experiments

Open mathuo opened this issue 1 year ago • 3 comments

mathuo avatar Apr 29 '24 20:04 mathuo

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 227320121ca57dbcb60e9280c691f61827fe2f17:

Sandbox Source
customheader-dockview Configuration
dockview-app Configuration
editor-gridview Configuration
events-dockview Configuration
externaldnd-dockview Configuration
fullwidthtab-dockview Configuration
iframe-dockview Configuration
keyboard-dockview Configuration
lockedgroup-dockview Configuration
nativeapp-dockview Configuration
nested-dockview Configuration
rendering-dockview Configuration

codesandbox-ci[bot] avatar Apr 29 '24 20:04 codesandbox-ci[bot]

@mathuo Thanks for this experiment! It looks very promising, especially preferredSize. However panels rarely have square shaped content: the preferred width most of the time it does not equal with the preferred height.

Some examples:

  • List panel designed for displaying as a narrow vertical bar by default. It has a preferred width of 420px, but no preferred height if I put it above/below a panel (especially not the 420px specified for width).
  • Search box panel: it has a text field for searching. It has a preferred height of 120px and a preferred width of 450px.

qcz avatar May 01 '24 10:05 qcz

This is really important to address, while min/max are a good start, day to day using the dockview it is important to be able to set flexible sizes to each panel

husayt avatar May 08 '24 11:05 husayt

Refer to https://github.com/mathuo/dockview/issues/641

mathuo avatar Sep 05 '24 19:09 mathuo