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

update the report viewer to new chart library #1252

Merged
merged 5 commits into from
Sep 1, 2023

Conversation

Kr0nox
Copy link
Member

@Kr0nox Kr0nox commented Aug 20, 2023

The vue wrapper of chart.js which we currently use (vue-chart-3) is no longer maintained and runs on an over two year old version of chart js (version 3.1.0)

To update chartjs to version 4 and also have a maintained library with all new features this PR proposes the change to vue-chartjs. This library also provides better type safety on the options and input data.

All components using charts were updated to the new library

@Kr0nox Kr0nox requested a review from sebinside August 20, 2023 14:00
Copy link
Member

@sebinside sebinside left a comment

Choose a reason for hiding this comment

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

Regarding the code, this PR is fine. However, I noticed a bug in the cluster view in this branch: Changing the entry in the drop-down menu of the radar chart does not update the radar chart. Please have a look at this. Afterward, this PR can be merged.

…t-dependency

# Conflicts:
#	report-viewer/src/components/ClusterRadarChart.vue
#	report-viewer/src/components/DistributionDiagram.vue
@sonarcloud
Copy link

sonarcloud bot commented Aug 31, 2023

[JPlag Report Viewer] 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
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Aug 31, 2023

[JPlag Plagiarism Detector] 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

@Kr0nox Kr0nox requested a review from sebinside August 31, 2023 11:34
@sebinside sebinside merged commit a8f7713 into develop Sep 1, 2023
26 checks passed
@sebinside sebinside deleted the report-viewer/chart-dependency branch September 1, 2023 13:08
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.

2 participants