ShareDrawer: Update documentation link buttons (#93339)

This commit is contained in:
Juan Cabanas 2024-09-18 11:53:02 +01:00 committed by GitHub
parent f7232b997c
commit af42f31fe6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 6 deletions

View File

@ -11,9 +11,9 @@ import { Trans } from 'app/core/internationalization';
import { getExpireOptions } from '../../ShareSnapshotTab';
const DASHBOARD_SNAPSHOT_URL =
'https://grafana.com/docs/grafana/latest/dashboards/share-dashboards-panels/#publish-a-snapshot';
const PANEL_SNAPSHOT_URL =
'https://grafana.com/docs/grafana/latest/dashboards/share-dashboards-panels/#publish-a-snapshot-1';
'https://grafana.com/docs/grafana/next/dashboards/share-dashboards-panels/#share-a-snapshot';
const PANEL_SNAPSHOT_URL = 'https://grafana.com/docs/grafana/next/dashboards/share-dashboards-panels/#panel-snapshot';
interface Props {
name: string;

View File

@ -2,7 +2,8 @@ import { selectors as e2eSelectors } from '@grafana/e2e-selectors';
import { Alert, Button, Stack } from '@grafana/ui';
import { Trans } from 'app/core/internationalization';
const EMAIL_SHARING_URL = 'https://grafana.com/docs/grafana/latest/dashboards/dashboard-public/#email-sharing';
const EMAIL_SHARING_URL =
'https://grafana.com/docs/grafana/next/dashboards/share-dashboards-panels/shared-dashboards/#share-externally-with-specific-people';
const selectors = e2eSelectors.pages.ShareDashboardDrawer.ShareExternally;

View File

@ -3,7 +3,8 @@ import { Alert, Button, Stack } from '@grafana/ui';
import { Trans } from '../../../../../../core/internationalization';
const PUBLIC_DASHBOARD_URL = 'https://grafana.com/docs/grafana/latest/dashboards/dashboard-public/';
const PUBLIC_DASHBOARD_URL =
'https://grafana.com/docs/grafana/next/dashboards/share-dashboards-panels/shared-dashboards';
const selectors = e2eSelectors.pages.ShareDashboardDrawer.ShareExternally;

View File

@ -33,7 +33,11 @@ export const UnsupportedDataSourcesAlert = ({ unsupportedDataSources }: { unsupp
)}
</p>
<a
href="https://grafana.com/docs/grafana/next/dashboards/dashboard-public/"
href={
config.featureToggles.newDashboardSharingComponent
? 'https://grafana.com/docs/grafana/next/dashboards/share-dashboards-panels/shared-dashboards/#supported-data-sources'
: 'https://grafana.com/docs/grafana/v11.2/dashboards/dashboard-public/#supported-data-sources'
}
target="blank"
className={cx('text-link', styles.unsupportedDataSourceDescription)}
>