From 0832b6738df82355720e8a976fc9be3a656477b9 Mon Sep 17 00:00:00 2001 From: Bauke Date: Mon, 25 Jun 2018 10:36:42 +0200 Subject: [PATCH] Change some more phrasing --- 2018/June/post.md | 7 +++---- 2018/June/statistics.md | 6 +++--- main.js | 6 +++--- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/2018/June/post.md b/2018/June/post.md index 9068468..0101cf1 100644 --- a/2018/June/post.md +++ b/2018/June/post.md @@ -111,13 +111,13 @@ An average of 1.50 issues were opened and 0.63 issues were closed each day. The average time to close issues was 8.56 days or 205.34 hours. -Most frequent issue creators: +Top 3 issue creators: * [cfabbro](https://gitlab.com/cfabbro) with [12 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=cfabbro). * [Deimorz](https://gitlab.com/Deimorz) with [8 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=Deimorz). * [expectocode](https://gitlab.com/expectocode) with [3 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=expectocode). -Total amount of labels assigned to currently open issues: +Amount of labels assigned to currently open issues: * [bug](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=bug): 9 times. * [code](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=code): 1 times. @@ -128,7 +128,7 @@ Total amount of labels assigned to currently open issues: * [suggestion](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=suggestion): 12 times. * [tweak](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=tweak): 5 times. -Total amount of labels assigned to closed issues: +Amount of labels assigned to closed issues: * [bug](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=bug): 4 times. * [code](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=code): 1 times. @@ -139,7 +139,6 @@ Total amount of labels assigned to closed issues: * [suggestion](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=suggestion): 5 times. * [tweak](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=tweak): 5 times. - ## Issue Table **This will be regenerated on June 30th and is not the final table.** diff --git a/2018/June/statistics.md b/2018/June/statistics.md index 525fdc6..23d911d 100644 --- a/2018/June/statistics.md +++ b/2018/June/statistics.md @@ -6,13 +6,13 @@ An average of 1.50 issues were opened and 0.63 issues were closed each day. The average time to close issues was 8.56 days or 205.34 hours. -Most frequent issue creators: +Top 3 issue creators: * [cfabbro](https://gitlab.com/cfabbro) with [12 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=cfabbro). * [Deimorz](https://gitlab.com/Deimorz) with [8 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=Deimorz). * [expectocode](https://gitlab.com/expectocode) with [3 issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=expectocode). -Total amount of labels assigned to currently open issues: +Amount of labels assigned to currently open issues: * [bug](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=bug): 9 times. * [code](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=code): 1 times. @@ -23,7 +23,7 @@ Total amount of labels assigned to currently open issues: * [suggestion](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=suggestion): 12 times. * [tweak](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=tweak): 5 times. -Total amount of labels assigned to closed issues: +Amount of labels assigned to closed issues: * [bug](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=bug): 4 times. * [code](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=code): 1 times. diff --git a/main.js b/main.js index 0a6712f..ebc511a 100644 --- a/main.js +++ b/main.js @@ -200,7 +200,7 @@ function createStatistics() { mostFrequent.sort((a, b) => _mostFrequent[b] - _mostFrequent[a]) mostFrequent = mostFrequent.slice(0, 3) - statistics += 'Most frequent issue creators:\n\n' + statistics += 'Top 3 issue creators:\n\n' for (const user of mostFrequent) { statistics += `* [${user}](https://gitlab.com/${user}) ` statistics += `with [${_mostFrequent[user]} issues created](https://gitlab.com/tildes/tildes/issues?state=all&author_username=${user}).\n` @@ -219,7 +219,7 @@ function createStatistics() { let labelsOrdered = {} Object.keys(labels).sort().forEach(label => labelsOrdered[label] = labels[label]) - statistics += '\nTotal amount of labels assigned to currently open issues:\n\n' + statistics += '\nAmount of labels assigned to currently open issues:\n\n' for (const label in labelsOrdered) { statistics += `* [${label}](https://gitlab.com/tildes/tildes/issues?state=opened&label_name%5B%5D=${label.replace(' ', '+')}): ${labels[label]} times.\n` @@ -237,7 +237,7 @@ function createStatistics() { labelsOrdered = {} Object.keys(labels).sort().forEach(label => labelsOrdered[label] = labels[label]) - statistics += '\nTotal amount of labels assigned to closed issues:\n\n' + statistics += '\nAmount of labels assigned to closed issues:\n\n' for (const label in labelsOrdered) { statistics += `* [${label}](https://gitlab.com/tildes/tildes/issues?state=closed&label_name%5B%5D=${label.replace(' ', '+')}): ${labels[label]} times.\n`