Plugin-outlet incorrectly handles multiple plugins at the same outlet

We kind of regressed here when we upgraded to Glimmer.

@eviltrout and I have a plan on how to attack this, but have not had a chance to yet.

Yeah it’s actually not that hard – we just need to specify tagName: ''

I guess the harder part is we need to make sure all major plugins continue to work that way though.

3 Likes

FYI we have a general pattern for fixing this, its just a matter of implementing it internally in a few of the existing outlets.

Closing this, we have a working pattern in our connectors, for example:

https://github.com/discourse/discourse/blob/003b7f06adf3bb625e7e99d61fae2b2a8f1653ee/app/assets/javascripts/discourse/templates/components/topic-list.hbs#L19-L29

tagName=""
  connectorTagName=""

Makes the magic happen, feel free to submit PRs if you notice this missing anywhere.

3 Likes