mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ShareDrawer: Update documentation link buttons (#93339)
This commit is contained in:
parent
f7232b997c
commit
af42f31fe6
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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)}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user