Skip to content

[v15] Use download center route for cloud clusters download link in support page#37015

Merged
mcbattirola merged 3 commits intobranch/v15from
bot/backport-36804-branch/v15
Jan 25, 2024
Merged

[v15] Use download center route for cloud clusters download link in support page#37015
mcbattirola merged 3 commits intobranch/v15from
bot/backport-36804-branch/v15

Conversation

@mcbattirola
Copy link
Copy Markdown
Contributor

Backport #36804 to branch/v15

@mcbattirola mcbattirola added the no-changelog Indicates that a PR does not require a changelog entry label Jan 22, 2024
@github-actions github-actions Bot requested review from avatus, kimlisa and zmb3 January 22, 2024 16:02
<a
class="c12"
href="https://goteleport.com/docs/cloud/downloads/"
href="/web/downloads"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

omg i just noticed this. this is routing in-app right? we need to use the react-router-dom Link so that navigating to this doesn't re-load the entire app. Also we probably dont want to open this in another tab right?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Link compiles down to a tags, and this is the snapshot. I don't think this will open in another tab because of the relative path (which loads like the Link correctly). you can test it by opening the web app, adding the target="_blank" attribute to any of our links and it works fine

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It looks like this is really opening in a new tab, at least this is how its behaving in my browser.

I'll open a PR on master to use a react-router-dom Link here, then it should work as expected.

I'll wait to merge this backport once the fix is merged, so I backport both together

@mcbattirola mcbattirola requested a review from kimlisa January 25, 2024 16:06
@mcbattirola
Copy link
Copy Markdown
Contributor Author

@kimlisa alright, #37080 is merged. We can now merge this one and backport #37080 after

@mcbattirola mcbattirola added this pull request to the merge queue Jan 25, 2024
Merged via the queue into branch/v15 with commit 6982c2a Jan 25, 2024
@mcbattirola mcbattirola deleted the bot/backport-36804-branch/v15 branch January 25, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport no-changelog Indicates that a PR does not require a changelog entry size/sm ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants