github: add spoiler tags to bug report issue template #612
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
What this PR does / why we need it:
Tags
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):N/A
Can see examples of spoiler tag usage in my own #541
Can see examples of very long output logs and/or configs in #417, #424, etc
A similar example is in ezolenko/rollup-plugin-typescript2#244 as well.
Review Notes
Feel free to reject this if you don't think it'll be that useful in this context, thought I'd suggest it at least.
See Rendered Version
The spoiler tags aren't properly indented unfortunately. While you can indent them under the bullets, the logs themselves then need to be indented as well, which I think is too difficult for users and so will be ignored. If the logs aren't indented, then they don't make it into the spoiler tag anyway 😕 . So I think having them unindented and allowing for straight copy+paste is better, but does look a bit funky. Suggestions welcome.