Skip to content

Show 404 pages for unknown crates/versions #4156

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 3 commits into from
Nov 16, 2021
Merged

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Nov 10, 2021

Instead of redirecting back to a known URL and showing a notification message, we now stay on the requested URL and show an error page instead.

Bildschirmfoto 2021-11-10 um 14 41 29

(though with "Crate/Version not found" instead)

The implementation is a little questionable, but due to the way the error substates in Ember.js work I've found no other way to implement this.

This PR is based on #4154.

@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-frontend 🐹 labels Nov 10, 2021
@Turbo87 Turbo87 requested review from locks and pichfl November 10, 2021 22:01
@Turbo87 Turbo87 force-pushed the crate-404 branch 2 times, most recently from bffad5f to 72a9a98 Compare November 15, 2021 19:07
@locks
Copy link
Contributor

locks commented Nov 16, 2021

:shipit:
@bors r+

@bors
Copy link
Contributor

bors commented Nov 16, 2021

📌 Commit b62a875 has been approved by locks

@bors
Copy link
Contributor

bors commented Nov 16, 2021

⌛ Testing commit b62a875 with merge 4e57507...

@bors
Copy link
Contributor

bors commented Nov 16, 2021

☀️ Test successful - checks-actions
Approved by: locks
Pushing 4e57507 to master...

@bors bors merged commit 4e57507 into rust-lang:master Nov 16, 2021
@Turbo87 Turbo87 deleted the crate-404 branch November 16, 2021 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend 🐹 C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants