From fce8b507ef79d820a95460e010e8f95d9e91f452 Mon Sep 17 00:00:00 2001
From: r12a `
- // figure out priority for this issue
- var priority = ''
- if (issueLabelSet.has('p:basic')) priority = 'basic'
- else if (issueLabelSet.has('p:advanced')) priority = 'advanced'
- else if (issueLabelSet.has('p:broken')) priority = 'broken'
- else if (issueLabelSet.has('p:ok')) priority = 'ok'
+ //console.log('issueLabelSet', issueLabelSet)
- out += `GitHub issue #${ theData[i].number }#'+theData[i].number+' '+theData[i].title+'
\n'
out += `
'
@@ -309,6 +327,42 @@ function setUpSummary () {
+function getDataLine (topic, lang) {
+ // condenses scores for individual languages to be used by printSummary
+ // topic is a pointer to a section in the document
+
+ if (typeof topic === 'undefined') return ''
+
+ var langDatas = topic.querySelectorAll('.relevantLanguages')
+ if (typeof langDatas === 'undefined' || langDatas.length === 0) {
+ if (topic.classList.contains('na') || topic.classList.contains('ok')) return '-'
+ else return ''
+ }
+ var langScores = topic.querySelectorAll('.issueScore')
+
+ //console.log('topic',topic.textContent)
+ //console.log('langDatas',langDatas)
+ //console.log('langScores',langScores)
+
+ latest = 10
+ for (i=0;i