Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 3a755ca

Browse files
authored
DEV: add summary button wrapper removed from core (#1136)
1 parent 12f00a6 commit 3a755ca

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

assets/javascripts/discourse/connectors/topic-map-expanded-after/ai-summary-trigger.gjs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ export default class AiSummaryTrigger extends Component {
1919

2020
<template>
2121
{{#if @outletArgs.topic.summarizable}}
22-
<DButton
23-
@label="summary.buttons.generate"
24-
@icon="discourse-sparkles"
25-
@action={{this.openAiSummaryModal}}
26-
class="btn-default ai-summarization-button"
27-
/>
22+
<section class="topic-map__additional-contents toggle-summary">
23+
<DButton
24+
@label="summary.buttons.generate"
25+
@icon="discourse-sparkles"
26+
@action={{this.openAiSummaryModal}}
27+
class="btn-default ai-summarization-button"
28+
/>
29+
</section>
2830
{{/if}}
2931
</template>
3032
}

0 commit comments

Comments
 (0)