Spaces:
Runtime error
Runtime error
LysandreJik
commited on
Commit
·
b1bc81d
1
Parent(s):
cef1f1e
Cleanup
Browse files
index.js
CHANGED
@@ -100,7 +100,6 @@ const createButton = (title, libraries, methods) => {
|
|
100 |
const initialize = async () => {
|
101 |
const inferResponse = await fetch(`initialize`);
|
102 |
const inferJson = await inferResponse.json();
|
103 |
-
inferJson.push('Cumulated')
|
104 |
// const graphsDiv = document.getElementsByClassName('graphs')[0];
|
105 |
const librarySelector = document.getElementById('library-selector');
|
106 |
const graphSelector = document.getElementById('graph-selector');
|
@@ -123,10 +122,7 @@ const initialize = async () => {
|
|
123 |
const checkBoxLabel = document.createElement('label');
|
124 |
const labelSpan = document.createElement('span')
|
125 |
|
126 |
-
|
127 |
-
labelSpan.textContent = "Cumulated - Only works for pip installs, will crash otherwise."
|
128 |
-
else
|
129 |
-
labelSpan.textContent = element.charAt(0).toUpperCase() + element.slice(1)
|
130 |
checkBoxLabel.appendChild(checkBox)
|
131 |
checkBoxLabel.appendChild(labelSpan)
|
132 |
|
@@ -322,7 +318,7 @@ const retrieveIssues = async (libraryNames, options) => {
|
|
322 |
plugins: {
|
323 |
title: {
|
324 |
display: true,
|
325 |
-
text: '
|
326 |
}
|
327 |
}
|
328 |
}
|
|
|
100 |
const initialize = async () => {
|
101 |
const inferResponse = await fetch(`initialize`);
|
102 |
const inferJson = await inferResponse.json();
|
|
|
103 |
// const graphsDiv = document.getElementsByClassName('graphs')[0];
|
104 |
const librarySelector = document.getElementById('library-selector');
|
105 |
const graphSelector = document.getElementById('graph-selector');
|
|
|
122 |
const checkBoxLabel = document.createElement('label');
|
123 |
const labelSpan = document.createElement('span')
|
124 |
|
125 |
+
labelSpan.textContent = element.charAt(0).toUpperCase() + element.slice(1)
|
|
|
|
|
|
|
126 |
checkBoxLabel.appendChild(checkBox)
|
127 |
checkBoxLabel.appendChild(labelSpan)
|
128 |
|
|
|
318 |
plugins: {
|
319 |
title: {
|
320 |
display: true,
|
321 |
+
text: 'Cumulated number of issues, PRs, and comments'
|
322 |
}
|
323 |
}
|
324 |
}
|
style.css
CHANGED
@@ -40,7 +40,7 @@ button:hover {
|
|
40 |
}
|
41 |
|
42 |
.option-div {
|
43 |
-
border-radius:
|
44 |
border-color: rgb(180, 180, 200);
|
45 |
border-style: solid;
|
46 |
border-width: 2px 4px 4px 2px;
|
@@ -85,6 +85,10 @@ button:hover {
|
|
85 |
border-radius: 50%;
|
86 |
animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
|
87 |
}
|
|
|
|
|
|
|
|
|
88 |
.lds-ripple div:nth-child(2) {
|
89 |
animation-delay: -0.5s;
|
90 |
}
|
|
|
40 |
}
|
41 |
|
42 |
.option-div {
|
43 |
+
border-radius: 10px;
|
44 |
border-color: rgb(180, 180, 200);
|
45 |
border-style: solid;
|
46 |
border-width: 2px 4px 4px 2px;
|
|
|
85 |
border-radius: 50%;
|
86 |
animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
|
87 |
}
|
88 |
+
|
89 |
+
.lds-ripple .dark-theme div {
|
90 |
+
border: 4px solid #fff;
|
91 |
+
}
|
92 |
.lds-ripple div:nth-child(2) {
|
93 |
animation-delay: -0.5s;
|
94 |
}
|