Skip to content
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

Show README and metadata for yanked crates/versions #6415

Merged
merged 4 commits into from
May 4, 2023

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented May 2, 2023

Resolves #6414

Before

Bildschirmfoto 2023-05-02 um 13 30 16

After

Bildschirmfoto 2023-05-02 um 13 29 45

I'm opening this as a draft PR for discussion among the team. Also, tests are still missing for this change.

@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-frontend 🐹 labels May 2, 2023
Copy link
Contributor

@LawnGnome LawnGnome left a 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. 👍

Comment on lines 8 to 16
<span local-class="yanked-badge">
{{svg-jar "trash"}}
Yanked
</span>
Copy link
Contributor

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"?

Copy link
Member Author

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! 👍

Copy link
Member Author

Choose a reason for hiding this comment

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

Bildschirmfoto 2023-05-03 um 16 27 14

@Turbo87 Turbo87 marked this pull request as ready for review May 3, 2023 14:38
@Turbo87
Copy link
Member Author

Turbo87 commented May 3, 2023

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.

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
Archived in project
Development

Successfully merging this pull request may close these issues.

Show README and metadata for yanked crates/versions
2 participants