mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PublicDashboards: Add link to public dashboards docs to sharing modal (#55186)
This commit is contained in:
committed by
GitHub
parent
8a62020211
commit
82708df287
@@ -143,12 +143,23 @@ export const SharePublicDashboard = (props: Props) => {
|
|||||||
<p>Before you click Save, please acknowledge the following information:</p>
|
<p>Before you click Save, please acknowledge the following information:</p>
|
||||||
<FieldSet disabled={publicDashboardPersisted(publicDashboard) || !hasWritePermissions}>
|
<FieldSet disabled={publicDashboardPersisted(publicDashboard) || !hasWritePermissions}>
|
||||||
<VerticalGroup spacing="md">
|
<VerticalGroup spacing="md">
|
||||||
<Checkbox
|
<HorizontalGroup spacing="none">
|
||||||
label="Your entire dashboard will be public"
|
<Checkbox
|
||||||
value={acknowledgements.public}
|
label="Your entire dashboard will be public"
|
||||||
data-testid={selectors.WillBePublicCheckbox}
|
value={acknowledgements.public}
|
||||||
onChange={(e) => onAcknowledge('public', e.currentTarget.checked)}
|
data-testid={selectors.WillBePublicCheckbox}
|
||||||
/>
|
onChange={(e) => onAcknowledge('public', e.currentTarget.checked)}
|
||||||
|
/>
|
||||||
|
<LinkButton
|
||||||
|
variant="primary"
|
||||||
|
href="https://grafana.com/docs/grafana/latest/dashboards/dashboard-public/"
|
||||||
|
target="_blank"
|
||||||
|
fill="text"
|
||||||
|
icon="info-circle"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
tooltip="Learn more about public dashboards"
|
||||||
|
/>
|
||||||
|
</HorizontalGroup>
|
||||||
<HorizontalGroup spacing="none">
|
<HorizontalGroup spacing="none">
|
||||||
<Checkbox
|
<Checkbox
|
||||||
label="Publishing currently only works with a subset of datasources"
|
label="Publishing currently only works with a subset of datasources"
|
||||||
|
|||||||
Reference in New Issue
Block a user