diff --git a/analyze.py b/analyze.py index 72d38c1..45f6349 100755 --- a/analyze.py +++ b/analyze.py @@ -67,8 +67,8 @@ def main(): "url": issue["pull_request"]["html_url"] } - if len(pr["title"]) > 53: - pr["title"] = pr["title"][0:50] + "..." + #if len(pr["title"]) > 53: + # pr["title"] = pr["title"][0:50] + "..." if isPRDying(pr): pr["labels"].append("dying") diff --git a/www/template.html b/www/template.html index 3300310..7a4784f 100644 --- a/www/template.html +++ b/www/template.html @@ -17,7 +17,13 @@ background: #333333; } .container { - width:1500px; + width:1200px; + } + .pr-title { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + max-width: 350px; } @@ -37,14 +43,16 @@
"important" implies top-priority ------ - "opinion-needed" implies medium priority ------ - "work needed" implies low priority ------ - "inactive" / "postponed" implies very low priority.
- Then with creation time : + With labels +older PRs have higher priority than newer PR
- 'Dying' status + 'Dying' statusA PR is considered "dying" if it has been created more than 60 days ago and not updated since 30 days. This is meant to be an incentive to either revive it or flag it as inactive/postponed... 'Dying' PRs @@ -100,7 +108,7 @@ {% endif %} {% endif %}" href="{{ pr.url }}">{{ pr.id }} -