EpicLinux icon indicating copy to clipboard operation
EpicLinux copied to clipboard

Consider using summary/details tags in markdown of issues to reduce length

Open StefanLobbenmeier opened this issue 3 years ago • 5 comments

The logs take up a lot of space in the issues, it might be better to have them hidden by default so they don’t take up as much space. This is how to use the tags:

https://gist.github.com/scmx/eca72d44afee0113ceb0349dd54a84a2

I took a brief look at the template and I have never worked with them so I am not quite sure how to modify the content being generated. Maybe I can find something on this as well

StefanLobbenmeier avatar Mar 11 '22 18:03 StefanLobbenmeier

This is probably done using the render attribute in the yaml file:

  • https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema

StefanLobbenmeier avatar Mar 11 '22 18:03 StefanLobbenmeier

Hm, from how I've understood the documentation, it's not possible to add arbitrary text (like HTML tags) to the form.
I could change the logs field so it's a one-line text field, and add a note that you're supposed to upload the log to pastebin or something. I think that's the next best thing

CommandMC avatar Mar 14 '22 17:03 CommandMC

Hmm i See

Reading the documentation again I think the render attribute is set to some target language that is used to set syntax highlighting

StefanLobbenmeier avatar Mar 14 '22 17:03 StefanLobbenmeier

Don’t quite agree with uploading it to pastebin though / don’t like the idea of depending on another service to view the ticket and makes them impossible to search

StefanLobbenmeier avatar Mar 14 '22 17:03 StefanLobbenmeier

Maybe someone from GitHub will respond to https://github.com/github/feedback/discussions/12823

StefanLobbenmeier avatar Mar 14 '22 17:03 StefanLobbenmeier