MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit 31252411 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

js/list.js: warning for clones with low coverage

There should be a generic way to have warnings for some clones.
parent ca9935b0
......@@ -56,7 +56,8 @@ function Clone(data, model, index) {
Clone.prototype = {
COVERAGE_WARN: 0.5,
/**
* return clone's most important name <br>
......
......@@ -448,15 +448,20 @@ List.prototype = {
}
span_size.style.color = this.m.clone(cloneID).getColor();
span_size.appendChild(document.createTextNode(this.m.clone(cloneID).getStrSize()));
var span_info = document.createElement('span')
span_info.className = "infoBox";
span_info.onclick = function () {
self.displayInfoBox(cloneID);
}
span_info.appendChild(document.createTextNode("I"));
if (this.m.clone(cloneID).coverage < this.m.clone(cloneID).COVERAGE_WARN) {
span_info.className += " warning" ;
span_info.appendChild(document.createTextNode("!"));
} else {
span_info.appendChild(document.createTextNode("i"));
}
var span_cluster = document.createElement('span')
span_cluster.className = "clusterBox";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment