Closed robdimsdale closed 1 month ago
Looks good! Thank you
Awesome - thanks for the quick merge!
Hey @robdimsdale, just trying this feature out locally and noticed that if there are labels that overflow to the next line, things start to break. Can you please add code that checks if 2+ labels fit in the same line, and if not - overflow the label yourself by appending a new line?
Also can I suggest adding a margin of 1 line between label rows?
@dlvhdr yeah, I just saw that too.
I'll take a look ASAP
@dlvhdr fixed in: https://github.com/dlvhdr/gh-dash/pull/378
Summary
This PR adds support for labels in the PR sidebar, essentially identical to how they already render for issues.
I leverage PR labels a lot in my workflow, so this is helpful to quickly see which PRs have (or are missing) labels.
How did you test this change?
Add labels to PRs - see that they render similar to labels
Images/Videos
Here is an example PR with a label (PR can be found here).