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

Display the version badge on crate list pages #481

Merged

Conversation

carols10cents
Copy link
Member

Instead of the plain-text version number.

This has the advantage of quickly showing pre-1.0 (orange) vs. post-1.0
(blue) when scanning down a list of crates.

Since people might want to copy the version number of a crate from the
crate list page, I've changed the alt text of the image to just be the
version number that used to appear here, so that you can highlight the
image and copy the version number.

Screenshot:

screen shot 2016-11-30 at 10 32 50 am

Instead of the plain-text version number.

This has the advantage of quickly showing pre-1.0 (orange) vs. post-1.0
(blue) when scanning down a list of crates.

Since people might want to copy the version number of a crate from the
crate list page, I've changed the alt text of the image to just be the
version number that used to appear here, so that you can highlight the
image and copy the version number.
@alexcrichton alexcrichton merged commit b70e2f6 into rust-lang:master Dec 1, 2016
@carols10cents carols10cents deleted the version-badge-on-crate-list branch December 1, 2016 15:50
carols10cents added a commit to integer32llc/crates.io that referenced this pull request Dec 3, 2016
@bluss
Copy link
Member

bluss commented Dec 31, 2016

Now that this is live; this is not a better UI: the version number text is small and the badge is completely out of place.

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.

3 participants