"Your topic is similar to..."-box has class=hidden

The your topic is similar to… banner:

Has class="composer-popup hidden similar-topics ember-view"

This kind of clashes with an assumption that a dev on our side made, namely that everything with .hidden should be … hidden :slight_smile:

So he put a

.hidden { 
   display: none !important;
}

in the CSS somewhere.

Could be nice not to put class=hidden on things that should not be hidden :slight_smile:

Hmm not sure, perhaps @Johani could have a look.. low priority.

Indeed, didn’t expect this to be a Prio 1 :wink:

어떤 버그로 이 문제가 처리되고 있나요?
현재 저는 Discourse 2.6.0.beta2를 실행 중인데, ‘유사한 주제’ 뷰가 전혀 표시되지 않습니다.

개발자 도구를 확인해 보니 유사한 주제를 불러오기 위한 요청은 전송되고 있으며, similar-topics div에도 콘텐츠가 채워져 있습니다. 하지만 해당 div에는 hidden 클래스가 적용되어 있어 helpers.scss를 통해 display:none !important; 스타일이 적용되고 있습니다.

따라서 제 사용자들은 유사한 주제를 볼 수 없게 되며, 이로 인해 여기저기 중복된 주제들이 발생하고 있습니다.

이 커밋을 방금 발견했는데, Apparently 이 문제를 일으킨 것 같습니다: FIX: Adds important declaration to `.hidden` utility/helper class · discourse/discourse@5a34c7c · GitHub

해당 변경 사항은 여기서 논의되고 있습니다: Guest Gate (Sign Up Popup Plugin) - #55 by michaeld

저도 메타에서 이 문제를 재현해 봤는데, 실제로 같은 문제인 것 같습니다.

이렇게 하면 수정될 것 같습니다:

우리의 검토를 기다리고 있습니다.