Skip to content

Commit

Permalink
UX: set usage as first AI admin tab (#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomerobot authored Jan 23, 2025
1 parent 67a1257 commit 956efba
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export default {
withPluginApi("1.1.0", (api) => {
api.addAdminPluginConfigurationNav("discourse-ai", PLUGIN_NAV_MODE_TOP, [
{
label: "discourse_ai.embeddings.short_title",
route: "adminPlugins.show.discourse-ai-embeddings",
label: "discourse_ai.usage.short_title",
route: "adminPlugins.show.discourse-ai-usage",
},
{
label: "discourse_ai.llms.short_title",
Expand All @@ -24,6 +24,10 @@ export default {
label: "discourse_ai.ai_persona.short_title",
route: "adminPlugins.show.discourse-ai-personas",
},
{
label: "discourse_ai.embeddings.short_title",
route: "adminPlugins.show.discourse-ai-embeddings",
},
{
label: "discourse_ai.tools.short_title",
route: "adminPlugins.show.discourse-ai-tools",
Expand All @@ -32,10 +36,6 @@ export default {
label: "discourse_ai.spam.short_title",
route: "adminPlugins.show.discourse-ai-spam",
},
{
label: "discourse_ai.usage.short_title",
route: "adminPlugins.show.discourse-ai-usage",
},
]);
});
},
Expand Down

0 comments on commit 956efba

Please sign in to comment.