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

Commit aa13d16

Browse files
UX: Add description to configuration nav (#1153)
This will be used in the new admin search UI
1 parent 9aafca0 commit aa13d16

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

assets/javascripts/initializers/admin-plugin-configuration-nav.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,32 @@ export default {
1414
{
1515
label: "discourse_ai.usage.short_title",
1616
route: "adminPlugins.show.discourse-ai-usage",
17+
description: "discourse_ai.usage.subheader_description",
1718
},
1819
{
1920
label: "discourse_ai.llms.short_title",
2021
route: "adminPlugins.show.discourse-ai-llms",
22+
description: "discourse_ai.llms.preconfigured.description",
2123
},
2224
{
2325
label: "discourse_ai.ai_persona.short_title",
2426
route: "adminPlugins.show.discourse-ai-personas",
27+
description: "discourse_ai.ai_persona.persona_description",
2528
},
2629
{
2730
label: "discourse_ai.embeddings.short_title",
2831
route: "adminPlugins.show.discourse-ai-embeddings",
32+
description: "discourse_ai.embeddings.description",
2933
},
3034
{
3135
label: "discourse_ai.tools.short_title",
3236
route: "adminPlugins.show.discourse-ai-tools",
37+
description: "discourse_ai.tools.subheader_description",
3338
},
3439
{
3540
label: "discourse_ai.spam.short_title",
3641
route: "adminPlugins.show.discourse-ai-spam",
42+
description: "discourse_ai.spam.spam_description",
3743
},
3844
]);
3945
});

config/locales/client.en.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ en:
198198
no_users: "No user usage data found"
199199
no_models: "No model usage data found"
200200
no_features: "No feature usage data found"
201-
subheader_description: "Tokens are the basic units that LLMs use to understand and generate text, usage data may affect costs."
201+
subheader_description: "Tokens are the basic units that LLMs use to understand and generate text, usage data may affect costs"
202202
stat_tooltips:
203203
total_requests: "All requests made to LLMs through Discourse"
204204
total_tokens: "All the tokens used when prompting an LLM"
@@ -415,7 +415,7 @@ en:
415415
preconfigured:
416416
title_no_llms: "Select a template to get started"
417417
title: "Unconfigured LLM templates"
418-
description: "LLMs (Large Language Models) are AI tools optimized for tasks like summarizing content, generating reports, automating customer interactions, and facilitating forum moderation and insights."
418+
description: "LLMs (Large Language Models) are AI tools optimized for tasks like summarizing content, generating reports, automating customer interactions, and facilitating forum moderation and insights"
419419
fake: "Manual configuration"
420420
button: "Set up"
421421
next:

0 commit comments

Comments
 (0)