GodSVG icon indicating copy to clipboard operation
GodSVG copied to clipboard

Collapsable menues

Open Tsunami014 opened this issue 7 months ago • 5 comments

When you make an svg with lots of things in it, the list view becomes quite crowded. I suggest having the list items all collapsable to declutter the view.

I suggest you would click on the title bar (what it looks like) to collapse the element, so only the title bar is shown. The nested elements should also not be visible when the title bar is shown (or maybe that can be an option?)

Tsunami014 avatar May 14 '25 23:05 Tsunami014

The inspector definitely needs to be reworked. I'm not sure if the rework will make it less compact or more. In any case, I think something for seeing way less info would be great to have.

But it will take a while, as I'm working on alpha 9 at the moment, and after that I'll be focusing on reworking the handles system. Collapsable sections seem trivial, but I'm avoiding this exact implementation because it requires a notion of states, but I'm intentionally avoiding metadata for anything other than super temporary concepts, such as selections and drag and drop locations.

MewPurPur avatar May 14 '25 23:05 MewPurPur

OK cool, was just one idea for the implementation anyway!

Also, for however you do it, an idea could also be to hide handles for collapsed (or whatever your alternative is) elements to not have them cluttering the viewport. (Again, just an idea; it really depends on the implementation)

Thanks so much for this awesome program, can't wait for the next release!

Tsunami014 avatar May 14 '25 23:05 Tsunami014

I started thinking about what the inspector should look like, evaluating pros and cons of different approaches. I'm pretty set now on a completely different implementation, which makes collapsing pretty unnecessary. It's too early to showcase, but, something like this:

Image

I think this issue would become obsolete if I push this through.

MewPurPur avatar Nov 11 '25 23:11 MewPurPur

I mean, it just becomes less of a problem; like if you had a very large number of elements or something it would be annoying

Or if you were working on a part of the picture and didn't want to have the other parts in the way?

But that layout is significantly easier to collapse, and does mean it is less necessary

Tsunami014 avatar Nov 11 '25 23:11 Tsunami014

Then I'd rather re-evaluate the topic once this is finished, instead of starting from the assumptions of the old proposal, which was made in the context of the old inspector.

MewPurPur avatar Nov 12 '25 01:11 MewPurPur