diff --git a/quadratic-client/src/app/actions/viewActionsSpec.ts b/quadratic-client/src/app/actions/viewActionsSpec.ts index 7d501f65c1..64339a3e1a 100644 --- a/quadratic-client/src/app/actions/viewActionsSpec.ts +++ b/quadratic-client/src/app/actions/viewActionsSpec.ts @@ -178,7 +178,7 @@ export const viewActionsSpec: ViewActionSpec = { }, }, [Action.ToggleAIAnalyst]: { - label: 'Chat', + label: 'Sheet chat', run: () => { if (!pixiAppSettings.setAIAnalystState) return; pixiAppSettings.setAIAnalystState((prev) => ({ ...prev, showAIAnalyst: !prev.showAIAnalyst })); diff --git a/quadratic-client/src/app/ui/menus/AIAnalyst/AIAnalystHeader.tsx b/quadratic-client/src/app/ui/menus/AIAnalyst/AIAnalystHeader.tsx index f59d64d7cd..4c0fb06241 100644 --- a/quadratic-client/src/app/ui/menus/AIAnalyst/AIAnalystHeader.tsx +++ b/quadratic-client/src/app/ui/menus/AIAnalyst/AIAnalystHeader.tsx @@ -1,3 +1,5 @@ +import { Action } from '@/app/actions/actions'; +import { viewActionsSpec } from '@/app/actions/viewActionsSpec'; import { aiAnalystChatsCountAtom, aiAnalystCurrentChatAtom, @@ -28,15 +30,13 @@ export function AIAnalystHeader({ textareaRef }: AIAnalystHeaderProps) { return (
+ {viewActionsSpec[Action.ToggleAIAnalyst].label} {showChatHistory ? ( - 'Chat history' + ' history' ) : ( - <> - Chat - - Experimental - - + + Experimental + )} diff --git a/quadratic-client/src/app/ui/menus/CodeEditor/panels/CodeEditorPanelBottom.tsx b/quadratic-client/src/app/ui/menus/CodeEditor/panels/CodeEditorPanelBottom.tsx index c28a2974bb..699263df79 100644 --- a/quadratic-client/src/app/ui/menus/CodeEditor/panels/CodeEditorPanelBottom.tsx +++ b/quadratic-client/src/app/ui/menus/CodeEditor/panels/CodeEditorPanelBottom.tsx @@ -52,7 +52,7 @@ export function CodeEditorPanelBottom({ schemaBrowser, showAIAssistant }: CodeEd {schemaBrowser && Schema} - {showAIAssistant && Chat} + {showAIAssistant && Code chat}