The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
add tooltip to clear-conversation action (#63309)
Maz Ameli00aca4b87381
diff --git a/enterprise/frontend/src/metabase-enterprise/metabot/components/MetabotChat/MetabotChat.tsx b/enterprise/frontend/src/metabase-enterprise/metabot/components/MetabotChat/MetabotChat.tsxindex b022a7224e7..95e38ecb28d 100644--- a/enterprise/frontend/src/metabase-enterprise/metabot/components/MetabotChat/MetabotChat.tsx+++ b/enterprise/frontend/src/metabase-enterprise/metabot/components/MetabotChat/MetabotChat.tsx@@ -15,6 +15,7 @@ import {Stack,Text,Textarea,+ Tooltip,} from "metabase/ui";import { useGetSuggestedMetabotPromptsQuery } from "metabase-enterprise/api";import { MetabotResetLongChatButton } from "metabase-enterprise/metabot/components/MetabotChat/MetabotResetLongChatButton";@@ -68,12 +69,14 @@ export const MetabotChat = () => {</Flex><Flex gap="sm">- <ActionIcon- onClick={() => metabot.resetConversation()}- data-testid="metabot-reset-chat"- >- <Icon c="text-primary" name="revert" />- </ActionIcon>+ <Tooltip label={t`Clear conversation`} position="bottom">+ <ActionIcon+ onClick={() => metabot.resetConversation()}+ data-testid="metabot-reset-chat"+ >+ <Icon c="text-primary" name="revert" />+ </ActionIcon>+ </Tooltip><ActionIcon onClick={handleClose} data-testid="metabot-close-chat"><Icon c="text-primary" name="close" /></ActionIcon>