Skip to content

Commit 71d7640

Browse files
authored
[Network, Magic partials] Use DashButton component (#24930)
1 parent f654e66 commit 71d7640

File tree

16 files changed

+177
-107
lines changed

16 files changed

+177
-107
lines changed

src/content/docs/learning-paths/data-center-protection/configure-tunnels-routes/configure-routes.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import { Render } from "~/components"
1818
routePrioritization: "/magic-transit/reference/traffic-steering/#route-prioritization",
1919
chooseWeights: "/magic-transit/reference/traffic-steering/#set-priority-and-weights-for-static-routes",
2020
publicAsnMT: "[Public ASNs used for Magic Transit](/magic-transit/how-to/advertise-prefixes/#cloudflare-asn-vs-your-own-asn) are verified during the onboarding process.",
21-
productGatewayOrEgress: "Magic Transit with Egress"
21+
productGatewayOrEgress: "Magic Transit with Egress",
22+
dashButtonPath: "/?to=/:account/magic-transit/configuration"
2223
}}
2324
/>

src/content/docs/learning-paths/data-center-protection/configure-tunnels-routes/configure-tunnels.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ import { GlossaryTooltip, Render } from "~/components";
1616
ciphersPagePath: "/magic-transit/reference/gre-ipsec-tunnels/#supported-configuration-parameters",
1717
antiReplayPagePath: "/magic-transit/reference/anti-replay-protection/",
1818
cniLink: "/magic-transit/network-interconnect/",
19-
productPathDash: "Magic Transit > Configuration",
19+
targetPageName: "Configuration",
20+
dashButtonPath: "/?to=/:account/magic-transit/configuration",
2021
updateHCFrequencyPage: "/magic-transit/network-health/update-tunnel-health-checks-frequency/",
2122
tunnelHealthChecksPage: "/magic-transit/reference/tunnel-health-checks/",
2223
antiReplayPagePath: "/magic-transit/reference/anti-replay-protection/",

src/content/docs/magic-transit/analytics/traceroutes.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@ import { Render } from "~/components";
1010
<Render
1111
file="analytics/traceroutes"
1212
product="networking-services"
13-
params={{ productName: "Transit" }}
13+
params={{
14+
productName: "Transit",
15+
dashButtonPath: "/?to=/:account/magic-transit/tunnel-healthchecks",
16+
}}
1417
/>

src/content/docs/magic-transit/how-to/configure-routes.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { Render } from "~/components"
2121
routePrioritization: "/magic-transit/reference/traffic-steering/#route-prioritization",
2222
chooseWeights: "/magic-transit/reference/traffic-steering/#set-priority-and-weights-for-static-routes",
2323
publicAsnMT: "[Public ASNs used for Magic Transit](/magic-transit/how-to/advertise-prefixes/#cloudflare-asn-vs-your-own-asn) are verified during the onboarding process.",
24-
productGatewayOrEgress: "Magic Transit with Egress"
24+
productGatewayOrEgress: "Magic Transit with Egress",
25+
dashButtonPath: "/?to=/:account/magic-transit/configuration"
2526
}}
2627
/>

src/content/docs/magic-transit/how-to/configure-tunnel-endpoints.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ import { Render } from "~/components";
2020
ciphersPagePath: "/magic-transit/reference/gre-ipsec-tunnels/#supported-configuration-parameters",
2121
antiReplayPagePath: "/magic-transit/reference/anti-replay-protection/",
2222
cniLink: "/magic-transit/network-interconnect/",
23-
productPathDash: "Magic Transit > Configuration",
23+
targetPageName: "Configuration",
24+
dashButtonPath: "/?to=/:account/magic-transit/configuration",
2425
updateHCFrequencyPage: "/magic-transit/network-health/update-tunnel-health-checks-frequency/",
2526
tunnelHealthChecksPage: "/magic-transit/reference/tunnel-health-checks/",
2627
antiReplayPagePath: "/magic-transit/reference/anti-replay-protection/",

src/content/docs/magic-wan/analytics/traceroutes.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ sidebar:
77

88
import { Render } from "~/components";
99

10-
<Render file="analytics/traceroutes"
10+
<Render
11+
file="analytics/traceroutes"
1112
product="networking-services"
12-
params={{ productName: "WAN" }}
13+
params={{
14+
productName: "WAN",
15+
dashButtonPath: "/?to=/:account/magic-wan/tunnel-healthchecks",
16+
}}
1317
/>

src/content/docs/magic-wan/configuration/manually/how-to/configure-routes.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ import { Render } from "~/components"
2121
routePrioritization: "/magic-wan/reference/traffic-steering/#route-prioritization",
2222
chooseWeights: "/magic-wan/reference/traffic-steering/#set-priority-and-weights-for-static-routes",
2323
publicAsnMT: " ",
24-
productGatewayOrEgress: "Magic WAN with Gateway"
24+
productGatewayOrEgress: "Magic WAN with Gateway",
25+
dashButtonPath: "/?to=/:account/magic-wan/configuration"
2526
}}
2627
/>
2728

src/content/docs/magic-wan/configuration/manually/how-to/configure-tunnel-endpoints.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ import { GlossaryTooltip, Render } from "~/components";
2020
ciphersPagePath: "/magic-wan/reference/gre-ipsec-tunnels/#supported-configuration-parameters",
2121
antiReplayPagePath: "/magic-wan/reference/anti-replay-protection/",
2222
cniLink: "/magic-wan/network-interconnect/",
23-
productPathDash: "Magic WAN > Configuration",
23+
targetPageName: "Configuration",
24+
dashButtonPath: "/?to=/:account/magic-wan/configuration",
2425
updateHCFrequencyPage: "/magic-wan/configuration/common-settings/tunnel-health-checks-frequency/",
2526
tunnelHealthChecksPage: "/magic-wan/reference/tunnel-health-checks/",
2627
antiReplayPagePath: "/magic-wan/reference/anti-replay-protection/",

src/content/partials/networking-services/analytics/traceroutes.mdx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
---
22
params:
33
- productName
4+
- dashButtonPath
45
---
56

6-
import { Markdown } from "~/components";
7+
import { DashButton } from "~/components";
78

89
Magic {props.productName} customers can run traceroutes to understand the hop by hop Internet path and latencies from Cloudflare's network to their own network.
910

1011
To run a traceroute from a specific Cloudflare data center to your network:
1112

12-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
13-
2. Go to **Magic {props.productName}** > **Tunnel Health**.
14-
3. Expand a Magic Tunnel, and find the Cloudflare data center where the traceroute will be run from.
15-
4. Select **Traceroute for details**.
13+
1. In the Cloudflare dashboard, go to Magic {props.productName}'s **Network health** page.
14+
15+
<DashButton url={props.dashButtonPath} />
16+
17+
2. Expand a Magic Tunnel, and find the Cloudflare data center where the traceroute will be run from.
18+
3. Select **Traceroute for details**.
1619

1720
You can access detailed data from the traceroute, including:
1821

src/content/partials/networking-services/magic-user-role.mdx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,21 @@
33

44
---
55

6+
import { DashButton } from "~/components";
7+
68
You can determine which users have, or do not have, configuration edit access for Magic products, including Magic Transit, Magic WAN, and Magic Firewall.
79

810
For example, if you have multiple Cloudflare products managed by different teams on the same account, you may want to provide select users with edit access and other users with read-only access.
911

1012
## Assign permissions
1113

12-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account.
13-
2. From your Account Home, go to **Manage Account** > **Members**.
14-
3. Under **Members**, enter an existing user's name and select **Search**.
15-
4. Expand the menu at the end of the user row.
16-
5. From the list, locate **Network Services (Magic)**.
17-
6. Select one of two options:
14+
1. In the Cloudflare dashboard, go to the **Members** page.
15+
16+
<DashButton url="/?to=/:account/members" />
17+
18+
2. Under **Members**, enter an existing user's name and select **Search**.
19+
3. Expand the menu at the end of the user row.
20+
4. From the list, locate **Network Services (Magic)**.
21+
5. Select one of two options:
1822
- **Network Services (Magic)** - Enables users to view and edit Magic configurations.
1923
- **Network Services (Magic, Read-Only)** - Enables users to view but not modify Magic configurations.

0 commit comments

Comments
 (0)