diff --git a/CHANGELOG.md b/CHANGELOG.md index 084f2089..2430b31b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - feat: edit visualization with natural language in a dialog([#351](https://github.com/opensearch-project/dashboards-assistant/pull/351)) - fix: Update alerting DSL verify mechanism([#359](https://github.com/opensearch-project/dashboards-assistant/pull/359)) - fix: Refactor contextProvider get to reduce re-fetch([#365](https://github.com/opensearch-project/dashboards-assistant/pull/365)) +- fix: minor UX change([#364](https://github.com/opensearch-project/dashboards-assistant/pull/364)) ### 📈 Features/Enhancements diff --git a/public/assets/filled_sparkle.svg b/public/assets/filled_sparkle.svg new file mode 100644 index 00000000..02087754 --- /dev/null +++ b/public/assets/filled_sparkle.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/public/components/incontext_insight/generate_popover_body.tsx b/public/components/incontext_insight/generate_popover_body.tsx index a161e4a8..c608f665 100644 --- a/public/components/incontext_insight/generate_popover_body.tsx +++ b/public/components/incontext_insight/generate_popover_body.tsx @@ -297,8 +297,8 @@ export const GeneratePopoverBody: React.FC<{ - -
+ +

{showInsight ? i18n.translate('assistantDashboards.inContextInsight.withRAGSummary', { defaultMessage: 'Insight With RAG', @@ -306,7 +306,7 @@ export const GeneratePopoverBody: React.FC<{ : i18n.translate('assistantDashboards.inContextInsight.summary', { defaultMessage: 'Summary', })} -

+

@@ -338,7 +338,7 @@ export const GeneratePopoverBody: React.FC<{ {}} usageCollection={usageCollection} isOnTrace={showInsight} diff --git a/public/components/incontext_insight/index.tsx b/public/components/incontext_insight/index.tsx index c0732604..93b669fd 100644 --- a/public/components/incontext_insight/index.tsx +++ b/public/components/incontext_insight/index.tsx @@ -30,7 +30,7 @@ import { IncontextInsight as IncontextInsightInput } from '../../types'; import { getIncontextInsightRegistry, getNotifications } from '../../services'; // TODO: Replace with getChrome().logos.Chat.url import chatIcon from '../../assets/chat.svg'; -import sparkle from '../../assets/sparkle.svg'; +import filled_sparkle from '../../assets/filled_sparkle.svg'; import { HttpSetup, StartServicesAccessor } from '../../../../../src/core/public'; import { GeneratePopoverBody } from './generate_popover_body'; import { UsageCollectionSetup } from '../../../../../src/plugins/usage_collection/public/plugin'; @@ -270,7 +270,7 @@ export const IncontextInsight = ({
- +