From 956efba8cb05bb828019a229007ed9153cd8317a Mon Sep 17 00:00:00 2001 From: Kris Date: Thu, 23 Jan 2025 18:14:52 -0500 Subject: [PATCH] UX: set usage as first AI admin tab (#1089) --- .../initializers/admin-plugin-configuration-nav.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/javascripts/initializers/admin-plugin-configuration-nav.js b/assets/javascripts/initializers/admin-plugin-configuration-nav.js index 54499728..3f0e0bfa 100644 --- a/assets/javascripts/initializers/admin-plugin-configuration-nav.js +++ b/assets/javascripts/initializers/admin-plugin-configuration-nav.js @@ -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", @@ -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", @@ -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", - }, ]); }); },