emberjs / ember-inspector

Adds an Ember tab to the browser's Developer Tools that allows you to inspect Ember objects in your application.
MIT License
966 stars 286 forks source link

provide name for hbs template only components #2581

Closed patricklx closed 4 months ago

patricklx commented 5 months ago

for template only components coming from .hbs files we can know the name by using the moduleName.

this is when gjs/gts files import hbs template only components. Or also when references via js. e.g <this.MyTemplateOnlyComponent />

RobbieTheWagner commented 5 months ago

Seems logical. We need to get beta and canary passing though. It would also be good to add a test case for this.

patricklx commented 5 months ago

canary & beta are failing because we cannot patch glimmer vm anymore to add the tracked inspection... I suggest we just ignore those for now until we have https://github.com/glimmerjs/glimmer-vm/pull/1489

RobbieTheWagner commented 4 months ago

@patricklx can you please rebase this so we can skip that test?