「あなたのトピックは...と似ています」ボックスに 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 にはコンテンツが格納されています。ただし、hidden クラスが付与されているため、helpers.scss 経由で display:none !important; が適用されてしまいます。

そのため、ユーザーは類似トピックを一度も見ることはできず、結果としてあちこちに重複したトピックが作成されてしまっています。

ちょうどこれを見つけたのですが、どうやらこれが原因のようです: FIX: Adds important declaration to `.hidden` utility/helper class · discourse/discourse@5a34c7c · GitHub

この変更については、ここで議論されています: Guest Gate (Sign Up Popup Plugin) - #55 by michaeld

メタでもこの問題を再現できました。やはり同じもののようです。

これで解決すると思います:

こちらでレビュー待ち中です。