From fad68caba137855fd3de6bdf9064f59e8f4d268a Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Sat, 16 May 2026 12:49:38 -0400 Subject: [PATCH 1/3] Rebrand ChatGXY to GalaxyAI in the client Renames ChatGXY.vue and the ChatGXY/ subdir to GalaxyAI, switches the /chatgxy SPA route to /galaxyai, renames CSS class prefixes and the activity id, and updates navigation.yml so selenium finds the new ids and classes. --- .../components/ActivityBar/ActivityBar.vue | 8 ++--- .../components/{ChatGXY.vue => GalaxyAI.vue} | 36 +++++++++---------- .../{ChatGXY => GalaxyAI}/ActionCard.vue | 0 .../ChatHistoryPanel.vue | 10 +++--- .../{ChatGXY => GalaxyAI}/ChatInput.test.ts | 0 .../{ChatGXY => GalaxyAI}/ChatInput.vue | 0 .../ChatMessageCell.test.ts | 0 .../{ChatGXY => GalaxyAI}/ChatMessageCell.vue | 0 .../{ChatGXY => GalaxyAI}/agentTypes.test.ts | 0 .../{ChatGXY => GalaxyAI}/agentTypes.ts | 0 .../{ChatGXY => GalaxyAI}/chatTypes.ts | 0 .../{ChatGXY => GalaxyAI}/chatUtils.test.ts | 0 .../{ChatGXY => GalaxyAI}/chatUtils.ts | 0 .../PageEditor/PageChatPanel.test.ts | 4 +-- .../components/PageEditor/PageChatPanel.vue | 8 ++--- client/src/composables/useHistoryDatasets.ts | 2 +- client/src/entry/analysis/router.js | 6 ++-- client/src/stores/activitySetup.ts | 10 +++--- client/src/utils/navigation/navigation.yml | 14 ++++---- 19 files changed, 49 insertions(+), 49 deletions(-) rename client/src/components/{ChatGXY.vue => GalaxyAI.vue} (93%) rename client/src/components/{ChatGXY => GalaxyAI}/ActionCard.vue (100%) rename client/src/components/{ChatGXY => GalaxyAI}/ChatHistoryPanel.vue (95%) rename client/src/components/{ChatGXY => GalaxyAI}/ChatInput.test.ts (100%) rename client/src/components/{ChatGXY => GalaxyAI}/ChatInput.vue (100%) rename client/src/components/{ChatGXY => GalaxyAI}/ChatMessageCell.test.ts (100%) rename client/src/components/{ChatGXY => GalaxyAI}/ChatMessageCell.vue (100%) rename client/src/components/{ChatGXY => GalaxyAI}/agentTypes.test.ts (100%) rename client/src/components/{ChatGXY => GalaxyAI}/agentTypes.ts (100%) rename client/src/components/{ChatGXY => GalaxyAI}/chatTypes.ts (100%) rename client/src/components/{ChatGXY => GalaxyAI}/chatUtils.test.ts (100%) rename client/src/components/{ChatGXY => GalaxyAI}/chatUtils.ts (100%) diff --git a/client/src/components/ActivityBar/ActivityBar.vue b/client/src/components/ActivityBar/ActivityBar.vue index bd89c9fb8c4..e03ca9afdca 100644 --- a/client/src/components/ActivityBar/ActivityBar.vue +++ b/client/src/components/ActivityBar/ActivityBar.vue @@ -16,7 +16,7 @@ import { useUnprivilegedToolStore } from "@/stores/unprivilegedToolStore"; import { useUserStore } from "@/stores/userStore"; import localize from "@/utils/localization"; -import ChatHistoryPanel from "../ChatGXY/ChatHistoryPanel.vue"; +import ChatHistoryPanel from "../GalaxyAI/ChatHistoryPanel.vue"; import InvocationsPanel from "../Panels/InvocationsPanel.vue"; import ActivityBarHeader from "./ActivityBarHeader.vue"; import ActivityBarSeparator from "./ActivityBarSeparator.vue"; @@ -127,7 +127,7 @@ const activities = computed({ if (activity.id === "interactivetools" && !config.value?.interactivetools_enable) { return false; } - if (activity.id === "chatgxy" && !config.value?.llm_api_configured) { + if (activity.id === "galaxyai" && !config.value?.llm_api_configured) { return false; } return true; @@ -139,7 +139,7 @@ const activities = computed({ (activity) => (activity.id === "user-defined-tools" && !canUseUnprivilegedTools.value) || (activity.id === "interactivetools" && !config.value?.interactivetools_enable) || - (activity.id === "chatgxy" && !config.value?.llm_api_configured), + (activity.id === "galaxyai" && !config.value?.llm_api_configured), ); storeActivities.value = [...newActivities, ...filteredOut]; }, @@ -425,7 +425,7 @@ defineExpose({ - + diff --git a/client/src/components/ChatGXY.vue b/client/src/components/GalaxyAI.vue similarity index 93% rename from client/src/components/ChatGXY.vue rename to client/src/components/GalaxyAI.vue index 19fc0ad06ee..fa387a330fb 100644 --- a/client/src/components/ChatGXY.vue +++ b/client/src/components/GalaxyAI.vue @@ -10,12 +10,12 @@ import { type AgentResponse, useAgentActions } from "@/composables/agentActions" import { useMarkdown } from "@/composables/markdown"; import { errorMessageAsString } from "@/utils/simple-error"; -import { getAgentIcon } from "./ChatGXY/agentTypes"; -import type { ChatHistoryItem, ChatMessage } from "./ChatGXY/chatTypes"; -import { generateId, scrollToBottom } from "./ChatGXY/chatUtils"; +import { getAgentIcon } from "./GalaxyAI/agentTypes"; +import type { ChatHistoryItem, ChatMessage } from "./GalaxyAI/chatTypes"; +import { generateId, scrollToBottom } from "./GalaxyAI/chatUtils"; -import ChatInput from "./ChatGXY/ChatInput.vue"; -import ChatMessageCell from "./ChatGXY/ChatMessageCell.vue"; +import ChatInput from "./GalaxyAI/ChatInput.vue"; +import ChatMessageCell from "./GalaxyAI/ChatMessageCell.vue"; import Heading from "@/components/Common/Heading.vue"; const props = withDefaults( @@ -71,7 +71,7 @@ function showWelcome() { id: generateId(), role: "assistant", content: - "Welcome to ChatGXY. Ask about tools, workflows, errors, or data quality " + + "Welcome to GalaxyAI. Ask about tools, workflows, errors, or data quality " + "and your question will be routed to the appropriate specialist agent.", timestamp: new Date(), agentType: "router", @@ -118,7 +118,7 @@ async function submitQuery() { }); if (error) { - const errorText = errorMessageAsString(error, "Failed to get response from ChatGXY."); + const errorText = errorMessageAsString(error, "Failed to get response from GalaxyAI."); const errorMsg: ChatMessage = { id: generateId(), role: "assistant", @@ -322,17 +322,17 @@ async function deleteCurrentChat() { function popOutToWindowManager() { const Galaxy = getGalaxyInstance(); - const path = currentChatId.value ? `/chatgxy/${currentChatId.value}` : "/chatgxy"; + const path = currentChatId.value ? `/galaxyai/${currentChatId.value}` : "/galaxyai"; const url = `${path}?compact=true`; - Galaxy.frame.add({ title: "ChatGXY", url }); + Galaxy.frame.add({ title: "GalaxyAI", url }); }