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

Remove the "open a rust-lang/rust issue" link #671

Closed
jonas-schievink opened this issue Jan 14, 2021 · 8 comments · Fixed by #697
Closed

Remove the "open a rust-lang/rust issue" link #671

jonas-schievink opened this issue Jan 14, 2021 · 8 comments · Fixed by #697
Labels
maintenance Keeping the wheels turning

Comments

@jonas-schievink
Copy link
Contributor

The "Open an issue on the Rust GitHub repository" link on the Share window is frequently used to open spam issues that we then have to close manually. Since opening an issue manually just involves copying code and output by hand, I am not sure it is pulling its weight. Perhaps it would be better to remove it?

@shepmaster
Copy link
Member

Can you link me to some of the spam issues?

@jonas-schievink
Copy link
Contributor Author

@jonas-schievink
Copy link
Contributor Author

Some more spam issues caused by this:
rust-lang/rust#83617
rust-lang/rust#83620

@shepmaster shepmaster added the maintenance Keeping the wheels turning label Mar 29, 2021
@camelid
Copy link
Member

camelid commented Apr 14, 2021

I understand that this was used to create spam issues, but I have found this feature very useful and use it a lot. The primary way I use it is to quickly be able to copy

  • code,
  • playground link, and
  • output

all at once. I find it tedious to do it manually. Is there some kind of replacement feature that could be added where it would let me copy what used to go into the GitHub issue body? E.g., it would output this to a textbox that could be copied:

Code ([playground](...)):

```rust
...
```

Output:

```
...
```

I would find that very useful.

@shepmaster
Copy link
Member

There's a few possibilities, sure. Off the top of my head:

  1. We could remove the <a> tag and only have the copy icon. That way you'd have to deliberately paste it into your address bar, but otherwise it'd be the same as what previously existed.
  2. Use a collapsed/expandable textbox like you mentioned.

@jonas-schievink do you have any intuition about why GitHub issues were comparatively spammed? I've not heard anyone complain about the same misuse on the user's forum, for example.

@jonas-schievink
Copy link
Contributor Author

I've seen one URLO spam post that clearly came from the playground: https://users.rust-lang.org/t/marvinrivera1234/58204

I'm not aware of others, but I'm not too active on URLO. I suspect GitHub gets more spam because more people have an account there (and it keeps you logged in permanently).

I'd be fine with outputting copy-pastable markdown for the forum and GitHub, that shouldn't cause any spam issues as long as you omit the link. Having a non-clickable, but copyable link might still cause spam, so I'd rather avoid that.

@camelid
Copy link
Member

camelid commented Apr 15, 2021

Yeah, the copy-pastable textbox would actually work even better than the GitHub issue link for me because I often copy-paste from the issue body into Zulip or an issue or PR comment instead of opening the issue.

@camelid
Copy link
Member

camelid commented Apr 15, 2021

I opened an issue: #708

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Keeping the wheels turning
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants