ember-inspector icon indicating copy to clipboard operation
ember-inspector copied to clipboard

Object inspector visibility is not persisted

Open kangax opened this issue 4 years ago • 2 comments

Describe the bug When navigating through the tree of components/routes/etc. the object inspector closes for some of them. It's unclear why or when this happens.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://ember-super-rentals.netlify.app/
  2. Navigate and focus on <Rental ... component
  3. Observe the object inspector getting hidden

Expected behavior I would expect object inspector to be visible unless explicitly hidden (using a toggle on the right).

Screenshots Screen Shot 2021-03-23 at 13 15 59 Screen Shot 2021-03-23 at 13 15 50

Environment Ember inspector 4.3.5, Ember 3.25.3

kangax avatar Mar 23 '21 17:03 kangax

@kangax this is likely due to https://github.com/emberjs/ember-inspector/issues/1387. Template only components have no backing class, so they sidebar does not open for them.

RobbieTheWagner avatar Aug 13 '21 12:08 RobbieTheWagner

I suppose we could think about keeping it open, but showing a message like template only components are not supported in object inspector at this time or something. @chancancode @pzuraq @nummi any thoughts?

RobbieTheWagner avatar Aug 13 '21 12:08 RobbieTheWagner