I muted two categories and it still appear on top of the categories page (since it have recent activity). Shouldn’t it be hidden or at the bottom? It’s more annoying when I use categories as home page. And “categories with featured topics” option even showing me muted category’s topics too. Also is it better to order categories by notification_level and then activity.
AI-generated summary
Users discuss the visibility of muted categories on Discourse’s Categories page. vinothkannans reports that muted categories still appear at the top due to recent activity, suggesting they should be hidden or moved to the bottom—especially since they appear in “categories with featured topics” and disrupt UX when categories are set as the homepage. codinghorror agrees a fix is needed, and zogstrip advises against removing muted categories from categories.json, recommending instead to mark them as muted and respect notification_level=0 in rendering. vinothkannans explores implementation challenges, noting exclusion would break visibility everywhere. hhlp requests a fix due to a long-standing business plan. sam clarifies this is by design, suggesting theme components for suppression. vinothkannans shares a theme component link, while mangojumbo notes muted categories are now grouped at the bottom and seeks a way to restore the old behavior—listing muted categories inline. codinghorror defends the new behavior as a better default. mangojumbo explains their need for full category visibility for discoverability and workflow, and debryc echoes this, comparing it to Slack’s channel model. vinothkannans provides CSS to expand muted categories by default and shares screenshots of current behavior. mangojumbo replies that their custom CSS groupings break when muted categories are moved to the bottom, requesting a setting to revert to old behavior—displaying muted categories in their original positions.
Yes we should fix this in some manner cc @sam.
May I create PR to exclude muted categories from categories.json?
Of course, but don’t “exclude” them, mark then as “muted” instead.
In categories.json it already have notification_level=0 property. If we excluded it will not display in all categories listing locations (like categories page, composer dropdown, filter dropdown, etc.,). Or we have to manually hide it or order it to the bottom position in all locations.
You can’t remove categories from categories.json, otherwise they’ll never appear anywhere if you mute them.
I would start with ensuring we respect the notification_level=0 for the /categories page first.
Then I would deal with the dropdowns and such.
I thought it shouldn’t appear anywhere except user’s preferences page setting muted categories. If it will affect site’s functionality let’s do manually.
“categories.json” is the source of truth for categories. So if you remove them, they’ll never appear anywhere ![]()
修正をお願いします。2020年2月以来、この動作を前提としたビジネスプランを策定しています。
これは仕様です。カテゴリでこれらを非表示にしたい場合は、テーマコンポーネントを使用してください。
カテゴリリストからミュートされたカテゴリを非表示にするには、このテーマコンポーネントを使用できます。
これは現在、当てはまりません。
ミュートされたカテゴリは、カテゴリページの下部にあるボックスにグループ化され、非表示になりました。ミュートされたカテゴリがカテゴリページに引き続きリストされていた以前の動作に戻す方法を知っていますか?
ありがとうございます!
古い動作を望む理由は何ですか?新しい動作の方が一般的なデフォルトとして優れています。
こんにちは @codinghorror さん、作業グループがミュートされていないカテゴリだけでなく、すべてのカテゴリリストを取得できるように、以前の動作に戻す方法を見つける必要があります。また、ミュートされたカテゴリがページの下部に隠されていることにも気づかないでしょう。
以前は、新しい動作と同様の結果を達成する方法がありました(このプラグイン https://github.com/discourse/discourse-categories-suppressed を使用して、ミュートされたトピックを最新トピックページから非表示にし、この CSS プラグイン https://github.com/discourse/discourse-hide-muted-categories を使用して、カテゴリページからミュートされたカテゴリをすべて非表示にすることができました。しかし、こちらで説明しようとしたように、以前の動作を達成する方法が見つかりません。
何か提案はありますか?ありがとうございます!
カテゴリリスト全体が必要であることに同意します。トピックが人々を圧倒しないように、デフォルトですべてのカテゴリをミュートしますが、人々が参加して特定の作業に参加したいかどうかを確認できるように、カテゴリを発見できるようにしたいと考えています。Slackには、自分が参加していないチャンネルは表示されませんが、新しいチャンネルを追加しに行くと、すべてのオプションが表示され、参加するかどうかを決定するために任意のチャンネルの内容を検討できるようなものです。
その場合、すでにすべてのカテゴリがエンドユーザーに次のようなスクリーンショットで表示されています。
カテゴリをフォローした後、ユーザーのカテゴリページビューは次のようになります:arrow_down:
いつでもミュートされたカテゴリセクションを展開できます。
ミュートされたカテゴリセクションを常に展開表示したい場合は、次のCSSを使用して実現できます。
.muted-categories .category-list.hidden {
display: table !important;
}
.muted-categories-link .d-icon {
display: none;
}
@mangojumbo このCSSハックも使用できます。
@vinothkannans 返信と有用なCSSをありがとうございます。
私たちの問題は、カテゴリページをCSSでカスタマイズし、カテゴリを(異なるプロジェクト、異なる言語などに関する)別々のグループにグループ化し、各グループにメインタイトルを付けたことです。
ユーザーが属していないすべてのカテゴリをミュートすると、ほとんどのカテゴリが一番下に移動するため、このカテゴリ分けはもはや有効ではありません。
Discourseは、古い動作(ミュートされたすべてのグループを同じ位置に表示する)を元に戻す設定を提供することは可能でしょうか? @codinghorror
この素晴らしいプロジェクトで行っていることに、心から感謝いたします。


