Skip to content

Conversation

@marciocloudflare
Copy link
Contributor

@marciocloudflare marciocloudflare commented Feb 12, 2025

Summary

  • Consolidates broken partials where applicable in one page
  • Closes PCX-15544

Documentation checklist

@marciocloudflare marciocloudflare marked this pull request as ready for review February 12, 2025 15:03
conditinal render partiasl
Copy link
Member

@KianNH KianNH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work!

My comments are all stylistic or personal preference, so up to you on how you want to format the partials.


| Prefix | NextHop | Priority | Weight |
| ----------------- | -------------- | -------- | ------ |
| `10.10.10.100/24` | `TUNNEL_1_IAD` | `100` | `64` |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| `10.10.10.100/24` | `TUNNEL_1_IAD` | `100` | `64` |
| `10.10.10.100/24` | `TUNNEL_1_IAD` | `100` | `64` |

Comment on lines +59 to +60
| Prefix | NextHop |
| ----------------- | -------------- |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| Prefix | NextHop |
| ----------------- | -------------- |
| Prefix | NextHop |
| ----------------- | -------------- |

Comment on lines +14 to +16
<>
<p>For Magic WAN Connector, health checks are sent to IPsec tunnel endpoints.</p>
</>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can omit technically <> and </> if there is only a single element, but you might prefer to keep it as it's easier to consistently stick with it regardless - up to you!

No fragment needed:

<p>
  <strong>text</strong>
</p>

Fragment needed:

<>
  <p>thing</p>
  <p>thing2</p>
</>

{ props.magicProduct === "Magic WAN" && (
<>
<AnchorHeading depth={2} title="Configure Connector" />
<ol><li>Log in to the <a href='https://dash.cloudflare.com/'>Cloudflare dashboard</a> and select your account.</li><li>Go to <strong>Magic WAN</strong> {'>'} <strong>Sites</strong>.</li><li>Select your site {'>'} <strong>Edit</strong>.</li><li>In <strong>Network</strong> {'>'} <strong>WAN configuration</strong> {'>'} select your WAN {'>'} <strong>Edit</strong>.</li><li>Change the <strong>Health check rate</strong> to your desire rate.</li><li>Select <strong>Save</strong>.</li></ol>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be formatted like so, but the caveat is needing to use {" "} to indicate spaces between elements on different lines.

<>
  <AnchorHeading depth={2} title="Configure Connector" />
  <ol>
    <li>
      Log in to the{" "}
      <a href="https://dash.cloudflare.com/">Cloudflare dashboard</a> and select
      your account.
    </li>
    <li>
      Go to <strong>Magic WAN</strong> {">"} <strong>Sites</strong>.
    </li>
    <li>
      Select your site {">"} <strong>Edit</strong>.
    </li>
    <li>
      In <strong>Network</strong> {">"} <strong>WAN configuration</strong> {">"}{" "}
      select your WAN {">"} <strong>Edit</strong>.
    </li>
    <li>
      Change the <strong>Health check rate</strong> to your desire rate.
    </li>
    <li>
      Select <strong>Save</strong>.
    </li>
  </ol>
</>

@github-actions
Copy link
Contributor

Preview URL: https://d46ecce9.preview.developers.cloudflare.com
Preview Branch URL: https://marcio-pcx15544-partials.preview.developers.cloudflare.com

Files with changes (up to 15)

Original Link Updated Link
https://developers.cloudflare.com/magic-wan/analytics/ https://marcio-pcx15544-partials.preview.developers.cloudflare.com/magic-wan/analytics/
https://developers.cloudflare.com/magic-transit/analytics/ https://marcio-pcx15544-partials.preview.developers.cloudflare.com/magic-transit/analytics/
https://developers.cloudflare.com/magic-transit/reference/mtu-mss/ https://marcio-pcx15544-partials.preview.developers.cloudflare.com/magic-transit/reference/mtu-mss/
https://developers.cloudflare.com/magic-transit/how-to/configure-static-routes/ https://marcio-pcx15544-partials.preview.developers.cloudflare.com/magic-transit/how-to/configure-static-routes/
https://developers.cloudflare.com/magic-wan/configuration/manually/how-to/configure-static-routes/ https://marcio-pcx15544-partials.preview.developers.cloudflare.com/magic-wan/configuration/manually/how-to/configure-static-routes/
https://developers.cloudflare.com/magic-wan/reference/mtu-mss/ https://marcio-pcx15544-partials.preview.developers.cloudflare.com/magic-wan/reference/mtu-mss/
https://developers.cloudflare.com/magic-wan/configuration/common-settings/tunnel-health-checks/ https://marcio-pcx15544-partials.preview.developers.cloudflare.com/magic-wan/configuration/common-settings/tunnel-health-checks/
https://developers.cloudflare.com/magic-transit/how-to/tunnel-health-checks/ https://marcio-pcx15544-partials.preview.developers.cloudflare.com/magic-transit/how-to/tunnel-health-checks/

@marciocloudflare marciocloudflare merged commit 6168c1b into production Feb 12, 2025
11 checks passed
@marciocloudflare marciocloudflare deleted the marcio/pcx15544-partials branch February 12, 2025 16:47
jonesphillip pushed a commit that referenced this pull request Feb 12, 2025
…ed content (#19935)

* added content from all partials in static-routes1

* corrected code

* deleted unnecessary static routes partials

* renamed partial

* moved staticroutes outside folder

* added optional vars

* added conditional vars

* removed extra vars

* changed to hmtl

* removed extra space

* created overview partial

* corrected vars

* corrected vars

* added indenting

* added all content to same partial

* corrected code

* deletes old partials

* deletes old partials mwan

* moves mtu out of folder

* corrected partial path

* added partials for clamping
conditinal render partiasl

* removed extra space

* added gre ipsec partials mwan

* added optional vars to mt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants