-
Notifications
You must be signed in to change notification settings - Fork 645
Show README and metadata for yanked crates/versions #6415
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a good change, provided we take care not to confuse anyone as to what "yanked" actually means. 👍
app/components/crate-header.hbs
Outdated
<span local-class="yanked-badge"> | ||
{{svg-jar "trash"}} | ||
Yanked | ||
</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to link to something — or at least have a tooltip — which explains what yanking means in the same way the previous version said "This crate has been yanked, but it is still available for download for other crates that may be depending on it"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that sounds like a good idea, thanks! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
93b27c7
to
e8d6f9b
Compare
I've modified the existing tests for this route to cover the new behavior. This PR is ready for review/merging now. Unless there are any objections I plan on merging this some time tomorrow. |
Resolves #6414
Before
After
I'm opening this as a draft PR for discussion among the team. Also, tests are still missing for this change.