(deprecated) Plugin outlet locations theme component

Another update, now including the wrapper outlets (and a link to the source file in Github when you click on any outlet)

image

And the last one for today: a setting to show the toggle to administrators only (thank you @pfaffman for that good idea :+1:)

10 Likes

Awesome! Thanks for the update! :+1:

Do you think it would be possible to support plugin outlets in raw templates? :thinking:

3 Likes

Raw hbs are going away if I have understood correctly

3 Likes

I completely missed that part. Okay, nevermind then. :+1:

3 Likes

Thanks for the plugin! Can you add a license to the repository? It doesn’t have any now.

3 Likes

Thank you for pointing that out. I’ve added the license (MIT)

3 Likes

Thank you! :heart:

1 Like

Looks like this may have had a regression recently

3 Likes

Good spot @Lilly thank you!

There is a very broad CSS selector, just targeting div in there, so this is not something that’s only going to happen to the plugin outlet locations theme component, it’s something that’s going to be happening to everyone using these plugin outlets.

So instead of doing a lot of fragile CSS workarounds @jordan-vidrine maybe this is something that can be addressed in the user card theme component?

4 Likes

Another outlet showing up on the user summary page even when toggled off: user-profile-secondary

I’d recommend checking out Introducing Discourse developer toolbar. The integration with core means it can provide a more robust experience, and include more plugin outlets.

user-profile-secondary correctly hides/shows there.

I’ll add a note about core’s new plugin-outlet feature in the OP. Hope that’s ok @RGJ. Perhaps we could also update the theme-component itself with some kind of deprecation message?

3 Likes

Thanks David, I’m aware of the dev tools I use on my local dev install, but I sometimes use the unofficial TC on production installs, especially when I don’t have access to my computer. :slight_smile:

Or is there a way to enable these tools on a production install?

1 Like

3 Likes

Gotcha, missed this part. Thanks! Time to remove the TC from my forums. :slight_smile:

edit: and thanks, Richard, for this very helpful plugin I’ve used over the years, of course!

1 Like

Yes, I will do that in the next few days.
LOVE the new developer toolbar by the way! :heart_eyes:

5 Likes

Now that it’s integrated into the core, I just wanted to thank you, @RGJ, for initially creating this TC!
It saved us a lot of time, for sure. :+1:

6 Likes

yes, this is awesome :+1:

2 Likes