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

[GLIMMER] Known issues #582

Closed teddyzeenny closed 6 years ago

teddyzeenny commented 8 years ago
chancancode commented 8 years ago

@teddyzeenny I think emberjs/ember.js#14222 fixed the first issue, can you confirm?

teddyzeenny commented 8 years ago

@chancancode I confirm the issue is fixed 🎉 .

There was one regression though https://github.com/emberjs/ember-inspector/pull/588, should be fixed next time I publish. It may be good to have a ViewUtils.getRootElement API to avoid future breakage however I'm not sure what's the story behind multiple roots - ViewUitls.getRootElement(s)?

chancancode commented 8 years ago

@teddyzeenny that's usually not something you would see in apps. it's mainly for things like ember-islands where you manually instantiate multiple Components and call appendTo(...) on each of them manually

chancancode commented 7 years ago

@teddyzeenny what is the status of this? do you need any new APIs from me? 😄

teddyzeenny commented 7 years ago

@chancancode we'd need a way to know which components belong to which outlet without matching them through their controllers (which is what we're doing at the moment). The edge case that doesn't work currently when using controllers to match components to outlets is when multiple outlets use the same controller - all components will go under the first outlet.

That being said, tbqh I think our effort is best spent on building a Glimmer API to display the entire DOM tree in the inspector (à la devtools Elements tab) so we can replace the inspector's view tree altogether with a more sophisticated tab . So I'm thinking let's skip this issue and start working on an API for the new tab. What do you think?

RobbieTheWagner commented 6 years ago

Since we have the new component view tab now, I am closing this. Feel free to reopen if we need to do more work here!