-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/2377/improve metric descriptions in legend #2421
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR and the fix.
Since I see the solution now, I would rather hide the following part : <empty description>
. The label should be still visible, even if no description is available. Thus, the legend would provide information of the choosen metrics all the time.
Would you please so kind and change this?
@ce-bo I've been thinking about that, too. I just wonder then what added value the legend brings. The selected metric can also be seen in the bar at the top of the screen. |
@jannikr That's true. For the case, that we take a screenshot, we need the metric information to be included in the legend. |
Notice: do not Squash and merge. there is some changes coming. |
@ce-bo Please note my new commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @jannikr 👍
I think you could have done it by applying the ng-if
to the span. This would be less "html-verbose".
[CodeCharta Analysis] Kudos, SonarCloud Quality Gate passed! |
[CodeCharta Visualization] Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Improve metric descriptions in legend
closes #2377
Description
-The metric label is not shown, if no description is available.
-More basic metric descriptions are provided. Especially for loc and comment_lines