Muted categories appear in Categories page

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.

「いいね!」 6

Yes we should fix this in some manner cc @sam.

「いいね!」 4

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.

「いいね!」 1

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.

「いいね!」 1

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

「いいね!」 4

Please can you fix it, we’ve have a business plan with this behavior since February 2020

This is by design, if you wish to suppress them on the categories pleas use a theme component.

「いいね!」 3

You can use this theme component to suppress the categories.

「いいね!」 7

これは現在、当てはまりません。
ミュートされたカテゴリは、カテゴリページの下部にあるボックスにグループ化され、非表示になりました。ミュートされたカテゴリがカテゴリページに引き続きリストされていた以前の動作に戻す方法を知っていますか?
ありがとうございます!

古い動作を望む理由は何ですか?新しい動作の方が一般的なデフォルトとして優れています。

「いいね!」 1

こんにちは @codinghorror さん、作業グループがミュートされていないカテゴリだけでなく、すべてのカテゴリリストを取得できるように、以前の動作に戻す方法を見つける必要があります。また、ミュートされたカテゴリがページの下部に隠されていることにも気づかないでしょう。

以前は、新しい動作と同様の結果を達成する方法がありました(このプラグイン https://github.com/discourse/discourse-categories-suppressed を使用して、ミュートされたトピックを最新トピックページから非表示にし、この CSS プラグイン https://github.com/discourse/discourse-hide-muted-categories を使用して、カテゴリページからミュートされたカテゴリをすべて非表示にすることができました。しかし、こちらで説明しようとしたように、以前の動作を達成する方法が見つかりません。

何か提案はありますか?ありがとうございます!

「いいね!」 1

カテゴリリスト全体が必要であることに同意します。トピックが人々を圧倒しないように、デフォルトですべてのカテゴリをミュートしますが、人々が参加して特定の作業に参加したいかどうかを確認できるように、カテゴリを発見できるようにしたいと考えています。Slackには、自分が参加していないチャンネルは表示されませんが、新しいチャンネルを追加しに行くと、すべてのオプションが表示され、参加するかどうかを決定するために任意のチャンネルの内容を検討できるようなものです。

その場合、すでにすべてのカテゴリがエンドユーザーに次のようなスクリーンショットで表示されています。

カテゴリをフォローした後、ユーザーのカテゴリページビューは次のようになります:arrow_down:
いつでもミュートされたカテゴリセクションを展開できます。

ミュートされたカテゴリセクションを常に展開表示したい場合は、次のCSSを使用して実現できます。

.muted-categories .category-list.hidden {
 display: table !important;
}

.muted-categories-link .d-icon {
  display: none;
}

@mangojumbo このCSSハックも使用できます。

「いいね!」 1

@vinothkannans 返信と有用なCSSをありがとうございます。
私たちの問題は、カテゴリページをCSSでカスタマイズし、カテゴリを(異なるプロジェクト、異なる言語などに関する)別々のグループにグループ化し、各グループにメインタイトルを付けたことです。
ユーザーが属していないすべてのカテゴリをミュートすると、ほとんどのカテゴリが一番下に移動するため、このカテゴリ分けはもはや有効ではありません。
Discourseは、古い動作(ミュートされたすべてのグループを同じ位置に表示する)を元に戻す設定を提供することは可能でしょうか? @codinghorror
この素晴らしいプロジェクトで行っていることに、心から感謝いたします。