(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 лайков

Awesome! Thanks for the update! :+1:

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

3 лайка

Raw hbs are going away if I have understood correctly

3 лайка

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

3 лайка

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

3 лайка

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

3 лайка

Thank you! :heart:

1 лайк

Looks like this may have had a regression recently

3 лайка

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 лайка

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?

6 лайков

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 лайк

5 лайков

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!

2 лайка

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

6 лайков

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:

9 лайков

yes, this is awesome :+1:

3 лайка

It’s sad to see Theme component at the end of its life. :cold_sweat:

3 лайка

Did you see the developer toolbar? It’s so much more awesome!

7 лайков