الفئات الفرعية للفرعية

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)

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.

10 إعجابات

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

إعجابَين (2)

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)

لا، ليس هناك. هذا الإعداد سيبقى. لقد اخترنا إخفاءه لأننا نريد تشجيع المواقع على التفكير بعمق في بنية المعلومات (dfn) الخاصة بها، وما إذا كان بإمكانهم جعلها تعمل مع مستوى واحد فقط من الفئات الفرعية. كما أن تجربة المستخدم لهذا التغيير لا تزال قيد التطوير بينما نعمل على ضبط كل التفاصيل.

8 إعجابات

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)

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
16 إعجابًا

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

Hello jomaxro, whatever can you teach me up level category to 4 or up to 5?

إعجاب واحد (1)

There is no support for category nesting greater than 3.

5 إعجابات

This seems like an awkward implementation for users. After setting up sub categories and then later wanting to move them, I ran across this level restriction. I had to adjust my implementation as a result.

And now I see that it’s possible to have more levels … but (a) the feature is hidden and undocumented and (b) it’s still limited to 3.

I appreciate the update and work, but just don’t understand the restrictions and how they’re supposed to make sense to implementers.

إعجابَين (2)

We haven’t designed the UI or tested performance beyond 3 category levels, so we don’t support it. Supporting 3 is meant to cover some exceptions and wasn’t intended to be the norm, which is why it’s not easily discoverable.

9 إعجابات

أواجه هذه الخطأ:
يمكنني إنشاء موضوع في فئة فرعية فرعية (A) عندما أكون داخل الفئة A، ولكن في الصفحة الرئيسية عند إنشاء موضوع، لا يعرض واجهة المستخدم لاختيار الفئة جميع الفئات الفرعية الفرعية (بما في ذلك A)


أرى أن خطأي مشابه لهذا الموضوع:

لقد قمت بترقية Discourse إلى أحدث إصدار.

إعجاب واحد (1)

لذا، لقد اكتشفت خطأً فادحًا يتعلق بالفئات الفرعية من المستوى الثاني.
بعد إنشاء فئة، ثم إنشاء فئات فرعية، دخلت إلى الفئة، وسمح لي بتعيين فئة فرعية منها كوالد لها.

إعجابَين (2)