Ember-inspector: Proposal: left column shrink on breakpoint

Created on 2 May 2020  路  3Comments  路  Source: emberjs/ember-inspector

Is your feature request related to a problem? Please describe.
Difficulties to make my window fit both application and ember-inspector while it's expanded on a small screen.

Screenshot 2020-05-02 at 15 18 29

Describe the solution you'd like
I would love the left bar in ember-inspector to be automatically shrink on some conditions.

Screenshot 2020-05-02 at 15 16 02

Describe alternatives you've considered
Want to shrink the left sidebar bellow a certain devtools width
AND
When inspectorExpanded is true (while digging into a data row attributes for example c.f. screenshot 1)

Additional context
The breakpoint to shrink the sidebar would be 885px (750+135)
I chose this one regarding the width when Chrome devtools moves the CSS section from the bottom to the right of the devtools container (750px) in Elements section.
And the hidden part of the sidebar that will be visible again after 750px in ember-inspector section (135px).

Screenshot 15 16 02

I would also love to have another breakpoint when the inspector is fully expended (inspectorExpanded === true) and if the ember-inspector width in below 1125px. I have chosen this width regarding the situation where I can have 3 data columns displayed and the inspector fully expended.

Qonto - dev 2020-05-02 16-14-37

Also, we should not forget to add a title to the sidebar section links so we can find the section name while hovering the icons.

We can directly interact with the first Ui::DraggableColumn in application.hbs.

And I would be very happy to do it !

Future possibilities
Some other ideas for the future.

I was wondering if you guys have ideas regarding making ember-inspector fully responsive or make a full redesign of it.

enhancement

Most helpful comment

Here are the latest mockups:
image
image

image

All 3 comments

@nummi recently mocked up a collapsed column and some new ideas around responsive design. Please feel free to work together on a solution here 馃槃

Here are the latest mockups:
image
image

image

Awesome ! Let me know how I can help.
I'm on discord with the same name if you want.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fpauser picture fpauser  路  3Comments

seanmhoffman picture seanmhoffman  路  4Comments

danilovaz picture danilovaz  路  8Comments

chancancode picture chancancode  路  3Comments

gkaran picture gkaran  路  9Comments