רכיב תבנית מיקומי שקעי תוסף (הוספתי לשימוש ישן)

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 לייקים