-
Notifications
You must be signed in to change notification settings - Fork 34
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
New issue templates broke form prefilling of file-issue.js script #63
Comments
I tend to agree. Although I use it myself sometimes, the only use I see from others is the mountains and mountains of spam that I'm pretty sure comes from the file-issue.js links. (It follows the same format, of just the URL of some part of the spec as the body.) |
I think removing the script (and prefill function) would be fine ... however I do like the "File an issue" link in the corner ... perhaps we could implement the link in HTML so that it's also present without JavaScript? (Sidenote: perhaps the new issue templates will deter some spam since it's now one more step to create an issue) |
Filed whatwg/whatwg.org#426 on potentially restoring it with CSS. I'm going to remove it for now as it's indeed broken and the CSS replacement isn't necessarily better. |
Unfortunately it's primarily used for spammy issues. See whatwg/spec-factory#63 and whatwg/whatwg.org#426 for thoughts on reviving aspects of it at some point in the future.
See whatwg/spec-factory#63 and whatwg/whatwg.org#426 for thoughts on reviving parts of it at some future point.
If it's causing spam then it's probably better to not have it. |
Unfortunately it's primarily used for spammy issues. See whatwg/spec-factory#63 and whatwg/whatwg.org#426 for thoughts on reviving aspects of it at some point in the future.
It's now been removed everywhere. Might take some time to roll out across all standards. There's potential for a CSS-based replacement, but it has some shortcomings as discussed in the issue referenced above. |
Unfortunately it's primarily used for spammy issues. See whatwg/spec-factory#63 and whatwg/whatwg.org#426 for thoughts on reviving aspects of it at some point in the future.
The HTML spec makes use of the file-issue.js script, which provides a "File an issue about the selected text" link in the bottom right corner that when clicked previously opened the issue form prefilled with the selected text:
The new issue templates broke this since the
body
URL param no longer works. Fixing this will require four steps:data-file-issue-url=
in the HTMLsource
file to include?template=0-new-issue.yml
.file-issue.js
to preserve existing URL parameters.id: issue-body
belowtype: textarea
in0-new-issue.yml
. (I tested it and unfortunately GitHub ignores the id if it is set tobody
.)data-body-url-param
option infile-issue.js
and addingdata-body-url-param="issue-body"
to the HTMLsource
file.While I took the time to figure this out, I'm not interesting in implementing these steps myself ... I'm busy polishing my HTML parser.
The text was updated successfully, but these errors were encountered: