mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-02-28 06:19:25 +00:00
Besides updating the connector using the new tracking preference service interface, this PR fixes a bug where due to `ai_embeddings_semantic_related_topics_enabled` not having `client: true` the initializer never ran, and we didn't show the related topics list when scrolling to the bottom of a long topic.
15 lines
433 B
Handlebars
15 lines
433 B
Handlebars
<div
|
|
id="related-topics"
|
|
class="more-topics__list {{if this.hidden 'hidden'}}"
|
|
role="complementary"
|
|
aria-labelledby="related-topics-title"
|
|
{{did-insert this.registerList}}
|
|
{{will-destroy this.removeList}}
|
|
>
|
|
<h3 id="related-topics-title" class="more-topics__list-title">
|
|
{{i18n "discourse_ai.related_topics.title"}}
|
|
</h3>
|
|
<div class="topics">
|
|
<BasicTopicList @topics={{this.relatedTopics}} />
|
|
</div>
|
|
</div> |