-
Notifications
You must be signed in to change notification settings - Fork 646
Show "Try on Rust Playground" button for crates that are available there #3211
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
7fb805a
to
1700f81
Compare
☔ The latest upstream changes (presumably #3216) made this pull request unmergeable. Please resolve the merge conflicts. |
1700f81
to
bd4052c
Compare
☔ The latest upstream changes (presumably #3215) made this pull request unmergeable. Please resolve the merge conflicts. |
b0de949
to
9889c60
Compare
@shepmaster We'd love your feedback on this feature and the best way to implement it to make it easy for people to try available crates out on the playground but not add playground support burden (likely in the form of "can I have x crate on the playground too?") We're currently thinking it would make more sense to show this button only for those crates that are available on the playground by virtue of being in the top 100 crates, not because they're a dependency of the top 100 (I will open an issue on the playground repo to discuss the possibility of having that available from the playground as an API). We'd show the button that says "Try this crate on the playground" along with some text that says "The top 100 crates are available in the online Rust playground" or similar. What do you think? |
Playground issue opened: rust-lang/rust-playground#676 |
9889c60
to
cc217c1
Compare
☔ The latest upstream changes (presumably #3277) made this pull request unmergeable. Please resolve the merge conflicts. |
cc217c1
to
f1cfda8
Compare
I've added the help text and a bunch of tests for the functionality. This should be ready to go now :) |
f1cfda8
to
e3697cc
Compare
e3697cc
to
c8780ac
Compare
☔ The latest upstream changes (presumably #3261) made this pull request unmergeable. Please resolve the merge conflicts. |
f569d44
to
5bb6791
Compare
☔ The latest upstream changes (presumably #3330) made this pull request unmergeable. Please resolve the merge conflicts. |
8b2fd95
to
7a92da9
Compare
7a92da9
to
454ed8e
Compare
@bors r+ |
📌 Commit 454ed8e has been approved by |
Show "Try on Rust Playground" button for crates that are available there <img width="989" alt="Bildschirmfoto 2021-01-28 um 18 06 47" src="https://user-images.githubusercontent.com/141300/106173514-4d029100-6194-11eb-8c15-0e05aba9c81f.png"> r? `@pichfl`
💔 Test failed - checks-actions |
…e available there
… has been open for 1 sec
454ed8e
to
76bbf59
Compare
📌 Commit 76bbf59 has been approved by |
☀️ Test successful - checks-actions |
r? @pichfl