Skip to content

Link directly to cargo install page #1994

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 21, 2019

Conversation

jtgeibel
Copy link
Member

This fixes a paper-cut where after clicking on the button, clicking the
back button causes the user to immediately redirect again.

Additionally, on Firefox 71, it was not possible to long-click on the
back button to return to crates.io (as the only entry in the list was
the redirect. On Chromium 79 I had no such issue.

@rust-highfive
Copy link

r? @carols10cents

(rust_highfive has picked a reviewer for you, use r? to override)

@jtgeibel jtgeibel force-pushed the papercut/frontpage-install-button branch from 9bf676c to 58c39c3 Compare December 19, 2019 01:49
Copy link
Member

@Turbo87 Turbo87 left a comment

Choose a reason for hiding this comment

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

seems totally reasonable to me!

do we still use the install route afterwards? was it done that way to not break existing links to https://crates.io/install?

This fixes a papercut where after clicking on the button, clicking the
back button causes the user to immediately redirect again.

Additionally, on Firefox 71, it was not possible to long-click on the
back button to return to crates.io (as the only entry in the list was
the redirect.  On Chromium 79 I had no such issue.
@jtgeibel jtgeibel force-pushed the papercut/frontpage-install-button branch from 58c39c3 to 2eebe8b Compare December 21, 2019 03:52
@jtgeibel
Copy link
Member Author

I've amended the commit to drop the ='true'.

do we still use the install route afterwards? was it done that way to not break existing links to https://crates.io/install?

Yes, I left it in case there are external pages linking to that URL. I don't think there are any remaining internal uses of it.

@bors r=Turbo87

@bors
Copy link
Contributor

bors commented Dec 21, 2019

📌 Commit 2eebe8b has been approved by Turbo87

@bors
Copy link
Contributor

bors commented Dec 21, 2019

⌛ Testing commit 2eebe8b with merge a59a9c6...

bors added a commit that referenced this pull request Dec 21, 2019
…urbo87

Link directly to cargo install page

This fixes a paper-cut where after clicking on the button, clicking the
back button causes the user to immediately redirect again.

Additionally, on Firefox 71, it was not possible to long-click on the
back button to return to crates.io (as the only entry in the list was
the redirect.  On Chromium 79 I had no such issue.
@bors
Copy link
Contributor

bors commented Dec 21, 2019

☀️ Test successful - checks-travis
Approved by: Turbo87
Pushing a59a9c6 to master...

@bors bors merged commit 2eebe8b into rust-lang:master Dec 21, 2019
@jtgeibel jtgeibel deleted the papercut/frontpage-install-button branch December 26, 2019 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants