Skip to content

Commit b884fb1

Browse files
committed
DEV: lint
1 parent 74b9e69 commit b884fb1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

javascripts/discourse/components/topic-list-tooltip.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default class TopicListTooltip extends Component {
2222
get gistsService() {
2323
try {
2424
return getOwner(this).lookup("service:gists");
25-
} catch (e) {
25+
} catch () {
2626
return null;
2727
}
2828
}

locales/en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ en:
22
theme_metadata:
33
description: Show a tooltip containing excerpts or AI gists on topic list title hover
44
settings:
5-
tooltip_content: "Choose what content to display in topic tooltips. <p>To use AI topic gists, you must have the <a href='/admin/plugins/discourse-ai/settings?filter=ai_summary_gists_enabled'>Discourse AI plugin enabled with gists configured</a>. Gists will only appear as tooltips when they are not already displayed inline in the topic list.</p>"
5+
tooltip_content: "Choose what content to display in topic tooltips. <p>To use AI topic gists, you must have the <a href='%{base_url}/admin/plugins/discourse-ai/settings?filter=ai_summary_gists_enabled'>Discourse AI plugin enabled with gists configured</a>. Gists will only appear as tooltips when they are not already displayed inline in the topic list.</p>"

spec/system/topic_list_tooltips_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
topic
1818
end
1919

20-
fab!(:user) { Fabricate(:user) }
20+
fab!(:user)
2121

2222
before do
2323
theme.theme_modifier_set.serialize_topic_excerpts = true

0 commit comments

Comments
 (0)