From cbb54c517d7b905eeb6063be325faeda0c744dab Mon Sep 17 00:00:00 2001 From: Miguel Palau Date: Fri, 22 Aug 2025 17:02:35 +0200 Subject: [PATCH] =?UTF-8?q?Refactor:=20Remove=20unused=20extension=20links?= =?UTF-8?q?=20from=20DataSourceTestingStatus=20=E2=80=A6=20(#110004)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/DataSourceTestingStatus.tsx | 29 +------------------ public/locales/en-US/grafana.json | 3 +- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/public/app/features/datasources/components/DataSourceTestingStatus.tsx b/public/app/features/datasources/components/DataSourceTestingStatus.tsx index 234a49c6635..317070df7c6 100644 --- a/public/app/features/datasources/components/DataSourceTestingStatus.tsx +++ b/public/app/features/datasources/components/DataSourceTestingStatus.tsx @@ -52,13 +52,7 @@ const getStyles = (theme: GrafanaTheme2, hasTitle: boolean) => { }; }; -const AlertSuccessMessage = ({ - title, - exploreUrl, - dataSourceId, - onDashboardLinkClicked, - extensionLinks = [], -}: AlertMessageProps) => { +const AlertSuccessMessage = ({ title, exploreUrl, dataSourceId, onDashboardLinkClicked }: AlertMessageProps) => { const theme = useTheme2(); const hasTitle = Boolean(title); @@ -90,26 +84,6 @@ const AlertSuccessMessage = ({ . - - {/* Extension links for allowed datasource extension plugins */} - {extensionLinks.length > 0 && ( -
- - You can also explore data with the following extensions: - - {extensionLinks.map((link) => ( - - {link.title} - - ))} -
- )} ); }; @@ -236,7 +210,6 @@ export function DataSourceTestingStatus({ testingStatus, exploreUrl, dataSource exploreUrl={exploreUrl} dataSourceId={dataSource.uid} onDashboardLinkClicked={onDashboardLinkClicked} - extensionLinks={extensionLinks} /> ) : null} {severity === 'error' && errorDetailsLink ? : null} diff --git a/public/locales/en-US/grafana.json b/public/locales/en-US/grafana.json index e628b21db30..f4290d1df1d 100644 --- a/public/locales/en-US/grafana.json +++ b/public/locales/en-US/grafana.json @@ -6421,8 +6421,7 @@ }, "data-source-testing-status-page": { "error-more-details-link": "Click <2>here to learn more about this error.", - "success-more-details-links": "Next, you can start to visualize data by <2>building a dashboard, or by querying data in the <5>Explore view.", - "success-more-details-links-extensions": "You can also explore data with the following extensions:" + "success-more-details-links": "Next, you can start to visualize data by <2>building a dashboard, or by querying data in the <5>Explore view." }, "data-sources": { "datasource-add-button": {