node-projects / dock-spawn-ts

A TypeScript HTML Docking Framework (fork of dock-spawn)
MIT License
125 stars 27 forks source link

Create Stick/Unsticky Containers like in VisualStudio #3

Open jogibear9988 opened 5 years ago

jogibear9988 commented 5 years ago

image

image

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

vinayakkulkarni commented 2 years ago

Would love to have this feature!

jogibear9988 commented 2 years ago

me too 😊

NitnerocL commented 3 months ago

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

jogibear9988 commented 3 months ago

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

jogibear9988 commented 3 months ago

What help do you need?

NitnerocL commented 3 months ago

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.

jogibear9988 commented 3 months ago

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.

NitnerocL commented 3 months ago

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?

jogibear9988 commented 3 months ago

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

evonox commented 3 months ago

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.