The discussion revolves around implementing collapsible subcategories in the Discourse sidebar, inspired by the Unreal Engine forum’s design. alkah3st notes that while standard components may not suffice, they developed a custom JavaScript and CSS solution to achieve the desired functionality. The script dynamically collapses subcategories under parent categories, adding toggle buttons for interaction. nathank references similar themes and encourages sharing the code, acknowledging the maintenance challenges. alkah3st shares the full script and CSS, explaining it works by tracking parent-child category relationships and applying visibility toggles. The solution is effective but cautioned against for sites with many subcategories due to performance concerns.
I’ve seen a few posts about this but none have definitive answers.
Does the Unreal Engine Discourse (featured on the Discourse “Discover” page) have a completely custom theme, or are there components that can achieve this?
I also notice they display the subcategories as top level links when you click into one, and then beneath it lists all the topics. It looks like what’s happening here is setting “Subcategory List Style” to “Rows” on the parent category to achieve that?