Higher level of granularity for category & subcategory styling

AI-generated summary

The discussion revolves around enhancing the granularity of category and subcategory styling in Discourse. erlend_sh proposes a more flexible system for desktop category and subcategory page styles, allowing customization such as showing categories only, with featured topics, or with latest topics, and introduces a new ‘feature page style’ option. The conversation includes requests for visual examples, with PackElend asking about layouts like those on https://meta.discourse.org/c/plugin and exploring options for displaying tags and topics in tiles. dax explains that such layouts require theme customization and mentions the possibility of using new theme components for advanced features. PackElend notes that some sites, like https://discuss.okfn.org/, achieve subcategory displays through customization or specific themes like Discourse Vincent. Andy02 adds that better tag navigation would benefit non-technical users.

Continuing the discussion from Show subcategory list UI:

I find our current options for category styling a bit confusing. When I change the category style, I expect that category style to apply everywhere, unless otherwise specified. The fact that a subcategory index has a unique, hardcoded styling is unexpected.

I’d love to have category UI settings with this level of granularity:

  • desktop category page style

  • Categories only

  • Categories with featured topics

  • Categories and latest topics

  • None; just show Latest

  • :new: desktop sub-category list style (replaces show subcategory list)

  • Inherit desktop category page style

  • Categories only

  • Categories with featured topics

  • Categories and latest topics

  • None; just show Latest

  • :new: Contribute > Feature page style (i.e. configured in a category’s General settings)

  • Inherit desktop sub-category list style

  • Categories only

  • Categories with featured topics

  • Categories and latest topics

This would would allow us to set a more documentation-friendly styling for our howto category, while the rest remains focused on discussion.

(Also find it a bit weird that we only do this on desktop, as there’s definitely a way to do a mobile style layout for all of these options, but that’s a different topic.)

5 Likes

I’m not able to understand your post – can you perhaps use some cropped screenshots to illustrate?

If I understand it, we’re talking about having the option to maintain the two-column split view while browsing categories, or to only show subcategories with no topics listed (in the case of “container” categories).

Perhaps @erlend_sh can clarify with cropped screenshots.

I’m holding off on the mockups since I suggested a simpler solution in one of our internal discussions.

@erlend_sh
is that what ask for something like on https://meta.discourse.org/c/plugin, including some inherent options?

@codinghorror, how do you create such a layout? Could also list tags and/or topics in the tile?
Somethinkg like

1 Like

Take a look to the Category Settings, under the Appearance title

Yes for the latest topic titles, no for tags (unless you build a new theme component to do that).

2 Likes

found it after activating it :slight_smile:
grafik

good to know :grimacing: but it would allow me to replace boxes by e.g. in a horizontal scrollable window, e.g. imaging there >10 boxes under POPULAR TOPICS on https://experts.feverbee.com/


ending up with a layout like

https://experts.feverbee.com/ has a very high level of customization and plugins written specifically to create a new interface. If you want to reach the same level of customization, you must have a team of developers able to manipulate and create new templates for Discourse, or hire developers on our Marketplace

1 Like

would be nice to know what of those is behind which customization :yum:

Some of those CSS customizations they have posted on their site.

I’ve just stumbled across https://discuss.okfn.org/ where they show the sub-categories in the boxes. Is this also customized or is that only a unique feature of the Discourse Vincent theme?

this is something i’d like to see, the same view for Tags. Now Discourse has adopted them it would be great to be able to use them for navigation more effectively. right now they are mostly hidden away and a non-tech users will struggle to find and use them