Project

General

Profile

Bug #10392

Compliance bar graph doesn't show small compliance numbers

Added by Jonathan CLARKE 8 months ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Compliance & node report
Target version:
Target version (plugin):
Severity:
Trivial - no functional impact | cosmetic
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Small
Priority:
39

Description

This is from a 4.0.3 installation of Rudder, I don't know what other versions are affected:

As you can see, "99%" is correctly displayed but the other two sections just say "<1", and something that is unreadable.

1.png (9.71 KB) Jonathan CLARKE, 2017-03-10 11:38

Associated revisions

Revision 3da21e3b
Added by Raphaël Gauthier 8 months ago

Fixes #10392: Compliance bar graph doesn't show small compliance numbers

History

#1 Updated by Jonathan CLARKE 8 months ago

This is on Chrome, by the way.

#2 Updated by François ARMAND 8 months ago

The fact that "<1%" is displayed in place of the actual number is by (your :) design choice, to let small number have a non-negligible part of the part (and so not be missed).

But clearly, we should be able to see the whole "<1%" text, be it with smaller font or broader zone for them (more likelly the second option).

#3 Updated by Jonathan CLARKE 8 months ago

François ARMAND wrote:

The fact that "<1%" is displayed in place of the actual number is by (your :) design choice, to let small number have a non-negligible part of the part (and so not be missed).

Yes, and that is great, but is not the subject of this bug (although it was not my design choice, but a request from several Rudder users)

But clearly, we should be able to see the whole "<1%" text, be it with smaller font or broader zone for them (more likelly the second option).

I think a smaller font would be fine. The fonts (and the graphs in fact) on this page are in general HUGE. Also, it's not overly surprising to have a smaller font for a smaller section - although that might not be visually pleasing. This is the case for "<1%", but I imagine it might well be the same for "2%" or even "3%", depending on the size of each section of the bar graph.

#4 Updated by Jonathan CLARKE 8 months ago

  • Severity changed from Minor - inconvenience | misleading | easy workaround to Trivial - no functional impact | cosmetic
  • Effort required set to Small

This may only happen on Chrome.

#5 Updated by Benoît PECCATTE 8 months ago

Working properly on my debian 8 firefox 51

#6 Updated by Benoît PECCATTE 8 months ago

  • Priority set to 40

#7 Updated by Raphael GAUTHIER 8 months ago

  • Target version set to 4.0.4

#8 Updated by Raphael GAUTHIER 8 months ago

  • Status changed from New to In progress

#9 Updated by Raphael GAUTHIER 8 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Raphael GAUTHIER to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/1616

#10 Updated by Anonymous 8 months ago

  • Status changed from Pending technical review to Pending release

#11 Updated by Vincent MEMBRÉ 7 months ago

  • Status changed from Pending release to Released
  • Priority changed from 40 to 39

This bug has been fixed in Rudder 4.0.4 and 4.1.1 which were released today.

Also available in: Atom PDF