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

**URL:** <https://meta.discourse.org/t/your-topic-is-similar-to-box-has-class-hidden/97561>\
**Category:** Development\
**Created:** [9월 19, 2018, 1:31오후 UTC](https://meta.discourse.org/t/your-topic-is-similar-to-box-has-class-hidden/97561 "2018-09-19T13:31:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)\
**Post date:** [9월 19, 2018, 1:31오후 UTC](https://meta.discourse.org/t/your-topic-is-similar-to-box-has-class-hidden/97561/1 "2018-09-19T13:31:45Z")

</div>

The your topic is similar to… banner:

 ![32](https://global.discourse-cdn.com/meta/original/3X/d/f/df5ebe629d1be8283959e6223f63d7cc63277e3b.png)

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 🙂

So he put a

```css
.hidden { 
   display: none !important;
}

```

in the CSS somewhere.

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

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [9월 20, 2018, 3:47오전 UTC](https://meta.discourse.org/t/your-topic-is-similar-to-box-has-class-hidden/97561/2 "2018-09-20T03:47:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)\
**Post date:** [9월 20, 2018, 7:56오전 UTC](https://meta.discourse.org/t/your-topic-is-similar-to-box-has-class-hidden/97561/3 "2018-09-20T07:56:46Z")

</div>

> [@codinghorror](#):
>
> low priority.

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

---

<div class="post-metadata">

**Author:** ![BennyInc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bennyinc/32/194249_2.png) [@BennyInc](https://meta.discourse.org/u/BennyInc)\
**Post date:** [9월 18, 2020, 7:43오전 UTC](https://meta.discourse.org/t/your-topic-is-similar-to-box-has-class-hidden/97561/5 "2020-09-18T07:43:55Z")

</div>

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

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

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

---

<div class="post-metadata">

**Author:** ![BennyInc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bennyinc/32/194249_2.png) [@BennyInc](https://meta.discourse.org/u/BennyInc)\
**Post date:** [9월 18, 2020, 7:47오전 UTC](https://meta.discourse.org/t/your-topic-is-similar-to-box-has-class-hidden/97561/6 "2020-09-18T07:47:13Z")

</div>

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

해당 변경 사항은 여기서 논의되고 있습니다: [Guest Gate (Sign Up Popup Plugin) - #55 by michaeld](https://meta.discourse.org/t/guest-gate-sign-up-popup-plugin/56625/55)

---

<div class="post-metadata">

**Author:** ![michaeld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michaeld/32/1594_2.png) [@michaeld](https://meta.discourse.org/u/michaeld)\
**Post date:** [9월 18, 2020, 9:46오전 UTC](https://meta.discourse.org/t/your-topic-is-similar-to-box-has-class-hidden/97561/7 "2020-09-18T09:46:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [9월 18, 2020, 11:03오전 UTC](https://meta.discourse.org/t/your-topic-is-similar-to-box-has-class-hidden/97561/8 "2020-09-18T11:03:00Z")

</div>

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

> <https://github.com/discourse/discourse/pull/10701>

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

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [4월 19, 2024, 5:36오후 UTC](https://meta.discourse.org/t/your-topic-is-similar-to-box-has-class-hidden/97561/10 "2024-04-19T17:36:09Z")

</div>


