Higher level of granularity for category & subcategory styling

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: #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

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
https://meta.discourse.org/c/plugin のように、いくつかの標準的なオプションを含んだものを求めているのでしょうか?

@codinghorror、そのようなレイアウトはどうやって作成するのですか?タイル内にタグやトピックを一覧表示することも可能でしょうか?
例えば、

のようにです。

「いいね!」 1

外観セクションにあるカテゴリ設定をご覧ください。

最新のトピックタイトルについては可能ですが、タグについては(そのための新しいテーマコンポーネントを作成しない限り)できません。

「いいね!」 2

有効化后发现了 :slight_smile:
grafik

なるほど :grimacing: でも、例えば https://experts.feverbee.com/ の「POPULAR TOPICS」の下に10個以上のボックスがある場合、それらを横スクロール可能なウィンドウに置き換えることが可能になりますね。


最終的に以下のようなレイアウトになります。

https://experts.feverbee.com/ は、新しいインターフェースを作成するために特別に書かれたプラグインと、非常に高度なカスタマイズ性を備えています。同じレベルのカスタマイズを実現するには、Discourse のテンプレートを操作・作成できる開発チームを持つか、当社の#marketplace で開発者を雇う必要があります。

「いいね!」 1

それらのカスタマイズのそれぞれが何によって行われているのか知りたいですね :yum:

彼らのサイトに掲載されている CSS カスタマイズの一部です。

さっそく https://discuss.okfn.org/ を発見しました。そこではサブカテゴリがボックス内に表示されています。これもカスタマイズされたものですか、それとも Discourse Vincent テーマ の固有の機能だけでしょうか?

私もこれを見たいですね。タグの表示を同じようにしてほしいです。Discourse で採用された今、タグをより効果的にナビゲーションに活用できるようになると素晴らしいです。現状ではタグはほとんど隠れており、技術に詳しくないユーザーはそれらを見つけたり使ったりするのに苦労するでしょう。