Update tracking issue tool to preserve issue order and display whitelisted labels
Created by: shrouxm
new features on the tracking issue tool:
- preserves order of issues that were already in the tracking issue body (new issues go to the bottom, but I can put them on top if we prefer)
- you can add a new comment
<!-- LABEL: <label name> -->
, and then issues with that label will have it appended as an inline code element on the end (couldn't figure out a way to embed the pretty colored label block). i want to use this to track issue phase (planning, implementing, blocked, etc) but could see plenty of different uses.
so won't change anything (other than new issues going to the bottom) for people who continue using as is, but a couple nifty new features.
potential drawbacks:
- requires re-parsing the issue markdown which is super inelegant, but it does it based on the issue URLs which i think are reasonably canonical
- adding the labels will make it way more likely for issues to take up multiple lines, which might look ugly. but it's opt in
i wasn't super duper careful about code hygiene given the context the code lives in, let me know if you think it's worth the time to clean it up a bit
Closes #10082 (closed)