Sub-sub-categories

The release notes for 2.4.0.beta9 make various references to sub-sub-categories.

Are these actually enabled in this release, or are they coming soon?

On a related point is there a roadmap for future releases available anywhere?

2 Likes

They are currently behind a hidden site setting, max_category_nesting. Should you wish to test them out, modify the site setting via the console to 3 instead of 2.

Sure, see the #releases category for a high-level overview of planned features.

9 Likes

Great, thanks - I was searching for roadmap because I assumed that releases were what had already been released… :doh: (wot, no Homer emoticon! )

2 Likes

Is there any reasonable chance this setting will be going away? In other words, how “safe” is it to use for production use as a data structure, even if the UX changes significantly?

2 Likes

There is not, no. The setting is here to stay. We’ve chosen to make it hidden as we want to encourage sites to strongly think about their IA and if they can make it work with just 1-level of subcategories. Also, the UX of this change is still in flux, as we iron everything out.

7 Likes

Yeah agree, that makes very good sense. We are only considering it for internal administrative type stuff that already has a lot of hierarchy, and those categories would be hidden from non-staff.

2 Likes

Quick guide to set it from 2 (default) to 3 via the console:

cd /var/discourse/
./launcher enter app
rails c

read current value:

[1] pry(main)> SiteSetting.max_category_nesting
=> 2

write new value:

[2] pry(main)> SiteSetting.max_category_nesting = 3
=> 3
3 Likes

6 posts were split to a new topic: Cannot move sub-sub-category from UI