diff --git a/public/zcash-dag.css b/public/zcash-dag.css index ed020bb..4df4722 100644 --- a/public/zcash-dag.css +++ b/public/zcash-dag.css @@ -20,6 +20,9 @@ /* Material Blue 700 */ fill: #1976d2; } + svg .node.needs-review polygon { + fill: #d29b19; + } svg .node.closed polygon { fill: #cf6b66; } diff --git a/zcash-issue-dag.py b/zcash-issue-dag.py index c51a4b3..b32d668 100755 --- a/zcash-issue-dag.py +++ b/zcash-issue-dag.py @@ -103,6 +103,7 @@ class GitHubIssue: self.title = data['title'] self.is_pr = 'merged' in data self.is_committed = 'S-committed' in labels + self.waiting_on_review = 'S-waiting-on-review' in labels self.url = data['url'] self.state = 'closed' if data['state'] in ['CLOSED', 'MERGED'] else 'open' if 'milestone' in data and data['milestone']: @@ -309,6 +310,9 @@ def main(): if n.state == 'closed': attrs['class'] = 'closed' attrs['fillcolor'] = '#fad8c7' + elif n.waiting_on_review: + attrs['class'] = 'needs-review' + attrs['fillcolor'] = '#dfc150' elif n.is_committed: attrs['class'] = 'committed' attrs['fillcolor'] = '#a6cfff'