deprecated.js:54 Deprecation notice: PluginOutlet arguments should now be passed using @outletArgs=instead of@args= (outlet: category-box-below-each-category) [deprecation id: discourse.plugin-outlet-args]
I know this component is getting a bit old, but I really like it and would love to see a tiny improvement that would also help with some of the original requests as well.
Showing just the first paragraph is fine, but I would love to have a “Read more…” link which is linked to the category description. A very elegant solution to have a lengthy description without cluttering up the category’s page. I can add this link manually, but then it shows on the Categories page which isn’t very clean.
I think that this is a brilliant idea! I’ve often thought that the remainder of the description topic was unnecessarily buried in the UI once it had been unpinned. And before it is unpinned, the first paragraph is total duplication. This is (in my mind) a much better approach.
I can see where the code would need to be inserted - and had a crack at it. However, my skills are simply too meagre for me to work out how to get the topic_id of the category description topic.
FYI Nathan, I’ve forked this, and with the help of AI I have the idea working! Since I really don’t know what I’m doing I’m not sure if a PR is appropriate, but I’ll let other decide…
Nice!! You had more luck (or skill) with the AI help than I did.
This whole theme component is a little bit hacky (part of its charm ), so your changes will fit right in. Definitely do a PR I reckon!
It would be nice to have a setting for it though, so as not to force a change on sites who are already using the component and who might not want that.
Useful component and very welcome thanks, in initial use without reverting to custom CSS to solve issues. I thought perhaps these options could be highly useful for many use cases applications:
A) Cascading Parent Category style/features - more options possible?
There is this
Show parent category logo - Show the parent category logo when a subcategory logo is not set
Would it be possible to have the same option for “parent category bg image”
If you have one parent category and 100 subcategories, setting the bg image manually for each one to reflect the same as the parent is obviously a task that is cubermsoe and burdensome, and when the logo feature is no required.
B) More/Other options to Manage image sizing
I found sizing when only wanting a category header/banner a bit tricky and a quick fix reverted to using the LOGO option and placing a transparent .png to lock in the heigh dimension for force and lock in the height of the banner image.
This had affects the /categories by creating a the effect of a large indentation space, but that’s not a big issue.
An option to quickly adjust Px height and width of various image components, would also be very useful here too.