summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorArun Isaac2022-06-25 16:02:25 +0530
committerArun Isaac2022-06-25 16:04:08 +0530
commitd1bd37eb16b3dfb81e2254f6c9c3cb86a0f68b01 (patch)
tree13679b8c5c3302dc826547ce9ac3bc38a5a6d79c /bin
parente3bc61d00c8de8a5a618d28cb87a69fe30e7dad8 (diff)
downloadtissue-d1bd37eb16b3dfb81e2254f6c9c3cb86a0f68b01.tar.gz
tissue-d1bd37eb16b3dfb81e2254f6c9c3cb86a0f68b01.tar.lz
tissue-d1bd37eb16b3dfb81e2254f6c9c3cb86a0f68b01.zip
bin: Unbolden issue keywords and show them all on blue.
Bold issue keywords are too visually distracting. They compete with highlit text in snippets. * bin/tissue (print-issue): Unbolden issue keywords and show them all on blue, instead of some on red and some on blue.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tissue17
1 files changed, 3 insertions, 14 deletions
diff --git a/bin/tissue b/bin/tissue
index 862f807..f4a6532 100755
--- a/bin/tissue
+++ b/bin/tissue
@@ -99,20 +99,9 @@ to run tissue."
;; words in red. Else, highlight in blue.
(unless (null? (issue-keywords issue))
(display " ")
- (display (string-join
- (map (lambda (keyword)
- ((cut colorize-string
- <>
- (cond
- ((not (null? (lset-intersection
- string=?
- (string-split keyword #\space)
- (list "bug" "critical"))))
- 'ON-RED)
- (else 'ON-BLUE)))
- (string-append " " keyword " ")))
- (issue-keywords issue))
- " ")))
+ (display (string-join (map (cut colorize-string <> 'ON-BLUE)
+ (issue-keywords issue))
+ " ")))
(unless (null? (issue-assigned issue))
(display (colorize-string (string-append " (assigned: "
(string-join (issue-assigned issue)