오프토픽 카테고리가 최근 목록에 없는 것 같은데?

Hello. I’m not sure if this feature exists or has even been suggested as I’m having trouble researching exactly what I’m thinking of.

My wish would be to have one or more categories that don’t show up in the Topics or Recent Posts lists, but still get a discreet notification.

To be clearer, here’s what I have in mind: I’m an administrator of a discourse site, and one of the categories of my site is called “Coffee break”, which is used, as is often the case on forums, to deal with subjects that aren’t related to the site’s theme.

I’d like the topics published in this off-topic forum not to appear in the lists of recent topics, but to be the subject of a discreet notification like, for example, a count of the number of new topics or maybe even a message at the top of the site below the header saying something like Coffee break: 3 new topics.

이 기능을 내장된 방식으로 구현하는 방법은 없는 것 같지만, CSS를 사용하여 특정 카테고리의 주제 목록 항목을 숨기는 것을 시도해 볼 수 있습니다. 아래와 같은 코드를 사용하고 x를 카테고리 설정의 "slug"로 교체하면 됩니다:

.topic-list tr.category-x {
    display: none;
}

하지만 이렇게 하면 모든 주제 목록에서 항목이 사라지게 되며, 해당 카테고리의 주제 목록은 완전히 비어 보일 것입니다. 이를 해결하기 위해 카테고리 페이지에는 이 CSS가 적용되지 않도록 다음과 같이 제외할 수 있습니다:

body:not(.category-x) .topic-list tr.category-x {
    display: none;
}

사용자가 특정 태그를 검색할 때에도 항목이 보이기를 원한다면, 다음과 같이 추가할 수 있습니다:

body:not(.category-x):not(.tags-page) .topic-list tr.category-x {
    display: none;
}

이것은 아마도 사용자 정의 컴포넌트가 필요할 것입니다. 이러한 기능을 수행할 수 있는 기존 #customization:theme-component가 있을 수 있지만, 바로 떠오르는 것은 없습니다!

¡Muchas gracias! Queda por ver si otros tienen la misma necesidad, para que la funcionalidad pueda crearse como un componente.