diff --git a/packages/ui/src/components/Command/AiCommand.tsx b/packages/ui/src/components/Command/AiCommand.tsx index e0a1cb73caf..9cea7a8f52b 100644 --- a/packages/ui/src/components/Command/AiCommand.tsx +++ b/packages/ui/src/components/Command/AiCommand.tsx @@ -16,6 +16,7 @@ import { import { SSE } from 'sse.js' import { + AiIconAnimation, Button, IconAlertTriangle, IconCornerDownLeft, @@ -410,7 +411,12 @@ const AiCommand = () => { return (
- + <> {message.status === MessageStatus.Pending ? (
@@ -456,7 +462,7 @@ const AiCommand = () => { forceMount key={key} > - + {question} ) diff --git a/packages/ui/src/components/Command/Command.icons.tsx b/packages/ui/src/components/Command/Command.icons.tsx index 114991c64a7..84d083c99f5 100644 --- a/packages/ui/src/components/Command/Command.icons.tsx +++ b/packages/ui/src/components/Command/Command.icons.tsx @@ -1,3 +1,4 @@ +import { AiIconAnimation } from '@ui/layout/ai-icon-animation' import React from 'react' interface AiIconProps { @@ -5,53 +6,55 @@ interface AiIconProps { } export const AiIcon = ({ className = 'text-brand-900 w-6 h-6' }: AiIconProps) => ( - - - - + + // + // + // + // ) -export const AiIconChat = () => ( -
+ //
- - - -
+ // rounded-md border border-brand-400 flex items-center justify-center + // shadow-sm + // " + // > + // + // + // + //
) diff --git a/packages/ui/src/components/Command/CommandMenu.tsx b/packages/ui/src/components/Command/CommandMenu.tsx index c76fb086872..1cb7d00ee23 100644 --- a/packages/ui/src/components/Command/CommandMenu.tsx +++ b/packages/ui/src/components/Command/CommandMenu.tsx @@ -34,6 +34,7 @@ import APIKeys from './APIKeys' import SearchableStudioItems from './SearchableStudioItems' import CommandMenuShortcuts from './CommandMenuShortcuts' import { BadgeExperimental } from './Command.Badges' +import { AiIconAnimation } from '@ui/layout/ai-icon-animation' export const CHAT_ROUTES = [ COMMAND_ROUTES.AI, // this one is temporary @@ -121,7 +122,7 @@ const CommandMenu = ({ projectRef }: CommandMenuProps) => { }} forceMount > - + Ask Supabase AI {search ? ( diff --git a/packages/ui/src/components/Command/GenerateSQL/GenerateSQL.tsx b/packages/ui/src/components/Command/GenerateSQL/GenerateSQL.tsx index d4945fde0ce..ebea019da55 100644 --- a/packages/ui/src/components/Command/GenerateSQL/GenerateSQL.tsx +++ b/packages/ui/src/components/Command/GenerateSQL/GenerateSQL.tsx @@ -132,7 +132,12 @@ const GenerateSQL = () => {
- +
<> {message.status === MessageStatus.Pending ? ( @@ -178,7 +183,6 @@ const GenerateSQL = () => { ) } })} - {messages.length === 0 && !hasError && (
@@ -239,7 +243,6 @@ const GenerateSQL = () => {
)} - {hasError && (
@@ -252,7 +255,6 @@ const GenerateSQL = () => {
)} -