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

A shortcut for "get Owner"

Open NullVoxPopuli opened this issue 6 months ago • 3 comments

Is your feature request related to a problem? Please describe.

I want to be able to inspect and interact with the owner more easily. I shouldn't need to find some other object that has an owner to try to grab it.

Describe the solution you'd like

Maybe an easy button or right-click menu "use owner in console" or something.

Describe alternatives you've considered

n/a

Additional context

request idea from @rtablada

NullVoxPopuli avatar May 19 '25 15:05 NullVoxPopuli

The container tabl/pane (when taught and understood) can be one of the most valuable parts of the Ember Inspector. This is mostly a wrapper around 'owner' which can be hard to find and dive through.

So having a quick ability to use a keyboard shortcut or static button to get owner or jump to the container tab would be invaluable

rtablada avatar May 19 '25 15:05 rtablada

So it looks like clicking this button on the container panel gives you what you want @NullVoxPopuli

Image

Is there something more specific that you would want from this feature request? Is it just about making that more prominent?

mansona avatar Jun 13 '25 10:06 mansona

Yeah, $E doesn't get you the owner, but whatever object you are looking at. Which requires you to choose at object to look at

NullVoxPopuli avatar Jun 13 '25 11:06 NullVoxPopuli

@NullVoxPopuli the $E in Container view will give the owner in general terms, the application. If you do custom things with get/set Owner, then thats different. you can customize the debug info thats shown for an object via https://github.com/emberjs/ember-inspector/wiki/customize-debug-info-of-objects

patricklx avatar Jun 16 '25 14:06 patricklx

i think this is too specific a use case?

patricklx avatar Jun 16 '25 14:06 patricklx

I just had a conversation with @NullVoxPopuli and I fully understand the use case that we're aiming for 👍 reopening

mansona avatar Aug 06 '25 15:08 mansona

I'll submit a PR for this.

pichfl avatar Aug 07 '25 13:08 pichfl