core-geonetwork icon indicating copy to clipboard operation
core-geonetwork copied to clipboard

Improve metadata editor validation counters

Open josegar74 opened this issue 5 years ago • 2 comments

Currently the counters in the validation panel are not very clear

For example for ISO Rules, 14/20 seem means that from the 20 rules in that validation set, 14 pass.

validation-panel

I think would be more clear to show the number of failing rules instead, as seem more relevant for the user.

Something like 6 failing rules of 20

josegar74 avatar Oct 01 '19 14:10 josegar74

Maybe a badge with x% of green and the rest in red would make more sense too. @MichelGabriel any CSS to do this kind of stuff ?

fxprunayre avatar Oct 08 '19 07:10 fxprunayre

Yes, with a bit of HTML and CSS this can be done.

With class label label-success for green and label label-danger for the red badge.

MichelGabriel avatar Oct 08 '19 08:10 MichelGabriel