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

Add links to each crate on crates.io or github in report html. #152

Merged
merged 2 commits into from Nov 10, 2017

Conversation

Projects
None yet
3 participants
@colinbankier
Copy link
Contributor

colinbankier commented Oct 31, 2017

Addresses #118.
This turns the name of each crate in the report into a link to either the crates.io page for that version, or the github source at that sha.

@aidanhs

This comment has been minimized.

Copy link
Member

aidanhs commented Nov 1, 2017

@colinbankier thanks for the PR! I'm travelling for a couple of days, but am looking forward to trying this out.

@Eh2406

This comment has been minimized.

Copy link
Contributor

Eh2406 commented Nov 2, 2017

This looks wonderful, thanks for doing this!

@@ -146,7 +147,7 @@ function insertResults(results) {

let row = `
<div class="${res}">
<span>${name}</span>
<span><a href="${url}" target="_blank">${name}</a></span>

This comment has been minimized.

@aidanhs

aidanhs Nov 5, 2017

Member

Can you add rel="noopener" to the link (per this)? The links are on trustworthy domains atm, but I want to make sure it's ok in the future. (firefox supports noopener too now)

@aidanhs

This comment has been minimized.

Copy link
Member

aidanhs commented Nov 5, 2017

Aside from the one minor comment, I'm ready to merge!

@colinbankier

This comment has been minimized.

Copy link
Contributor Author

colinbankier commented Nov 8, 2017

Added rel=noopener to link :)

@aidanhs aidanhs merged commit 58e65e5 into rust-lang-nursery:master Nov 10, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@aidanhs

This comment has been minimized.

Copy link
Member

aidanhs commented Nov 10, 2017

Thanks!

@aidanhs

This comment has been minimized.

Copy link
Member

aidanhs commented Nov 18, 2017

This is live in the latest reports (https://cargobomb-reports.s3.amazonaws.com/pr-45225-3/index.html) - thanks again @colinbankier!

@kraai kraai referenced this pull request Dec 7, 2017

Closed

link to the source in the ui #118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.