Skip to content
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

Feature/1066/display tooltip description in frontend #3162

Merged

Conversation

BenediktMehl
Copy link
Collaborator

@BenediktMehl BenediktMehl commented Dec 2, 2022

Display Tooltip Description in Frontend

Issue: #1066

Description

Adds the new metric attributes to the legend.

  • If cc.json has attribute name: Show metric.name and metric.title of the cc.json instead of the old metric.names and metric.titles stored in metricTitles.js
  • If cc.json has metric.description: Show the metric.description in title
  • If cc.json has no attributeDescriptors: Show old metric.name and metric.title

Screenshots or gifs

image

renovate bot and others added 22 commits November 17, 2022 16:13
the word "Size" is quite unusual at this position because in the code and in the ribbonbar the word "Area" is used
@BenediktMehl
Copy link
Collaborator Author

BenediktMehl commented Dec 2, 2022

I would suggest to refactor "metric.metricName" and "metric.title" to "metric.abbreviation" and "metric.name", because I don't think it's intuitive.
Example for current use:
"Metric.name": rloc
"Metric.title": Real Lines of Code

@BenediktMehl BenediktMehl marked this pull request as draft December 7, 2022 13:48
Copy link
Collaborator

@ce-bo ce-bo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :-)

@sonarcloud
Copy link

sonarcloud bot commented Dec 9, 2022

[CodeCharta Analysis] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sonarcloud
Copy link

sonarcloud bot commented Dec 9, 2022

[CodeCharta Visualization] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

96.8% 96.8% Coverage
0.0% 0.0% Duplication

@BenediktMehl BenediktMehl merged commit 9740b92 into main Dec 9, 2022
@BenediktMehl BenediktMehl deleted the feature/1066/display-tooltip-description-in-frontend branch December 9, 2022 13:49
@BenediktMehl BenediktMehl restored the feature/1066/display-tooltip-description-in-frontend branch December 9, 2022 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants