dock-spawn-ts icon indicating copy to clipboard operation
dock-spawn-ts copied to clipboard

Create Stick/Unsticky Containers like in VisualStudio

Open jogibear9988 opened this issue 6 years ago • 10 comments

image

image

They can be Sticky at left, right, top or bottom (depends on their dock position)

jogibear9988 avatar Jun 06 '19 05:06 jogibear9988

Would love to have this feature!

vinayakkulkarni avatar Oct 21 '21 16:10 vinayakkulkarni

me too 😊

jogibear9988 avatar Oct 21 '21 16:10 jogibear9988

Hi! I would love to have this feature too! Have you started working on it? I might be able to help, but I would need some support to get started

NitnerocL avatar May 13 '24 15:05 NitnerocL

I‘ve not looked into it due lack of time.

jogibear9988 avatar May 13 '24 16:05 jogibear9988

What help do you need?

jogibear9988 avatar May 13 '24 16:05 jogibear9988

I'm not familiar with the internals of the lib so it will take me some time to get my head around it. If you had some docs / UML diagrams to share it could help, or maybe give me a tour of the project.

NitnerocL avatar May 15 '24 07:05 NitnerocL

Not really... I didn't invent it, only converted to typescript and extended it. I'm also always looking on how to do smth.... But I really don't find it to hard.

jogibear9988 avatar May 15 '24 08:05 jogibear9988

I'll give it a try and let you know if I have specific interrogations then.

Regarding the specs of this feature, should we try to reproduce the behavior of visual studio, with floating tabs above main content, that hide as soon as they lose focus? Or just have a button to open/hide the whole container? I suppose the latter would be easier to implement at first, what do you think?

NitnerocL avatar May 15 '24 08:05 NitnerocL

I would think, the floating would be easier. Because the other one, needs to reposition the other containers ;-) my main point is, keep the elements in DOM, don't remove them. This was the biggest rework I've done in dockspawn, so every element is kept in the dom and only resized (or hidden). Because we have views with 1000s of elments and removing and adding them takes very long

jogibear9988 avatar May 15 '24 08:05 jogibear9988

I love your library and I use it extensively in my projects. In case of intereset I am willing to help with this feature, too. I am missing it, too.

evonox avatar May 16 '24 16:05 evonox