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 chartjs-plugin-annotation to version 3.1.0 #269

Merged
merged 2 commits into from
Feb 24, 2025

Conversation

vdeshkar
Copy link
Contributor

Overview

  • Updated chartjs-plugin-annotation to the latest version 3.1.0 to be compatible with "chart.js": "^4.3.3",

How it was tested

  • Tested by running cardio, cardio-patients, showcase, and documentation app locally with mock data.
  • Tested by running unit tests for all apps.

Checklist

  • The title contains a short meaningful summary
  • I have added a link to this PR in the Jira issue
  • I have described how this was tested
  • I have included screen shots for changes that affect the user interface
  • I have updated unit tests
  • I have run unit tests locally
  • I have updated documentation (including README)

Comment on lines 48 to 50
@Injectable()
@Injectable({
providedIn: 'root',
})
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why was this changed to provide in root? Mappers should not be provided in the root injector. Apps should use provideChartsOnFhir(withMappers(...))

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, you are right, I made a mistake while running the showcase with mock data. I will remove this.

Comment on lines 7 to 9
@Injectable()
@Injectable({
providedIn: 'root',
})
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why was this changed to provided in root?

@vdeshkar vdeshkar changed the title RT-1886: Update chartjs-plugin-annotation to version 3.1.0 Update chartjs-plugin-annotation to version 3.1.0 Feb 21, 2025
@vdeshkar vdeshkar requested a review from semicolin February 21, 2025 13:49
@vdeshkar vdeshkar merged commit ad6af90 into main Feb 24, 2025
6 checks passed
@vdeshkar vdeshkar deleted the RT-1886-charts-on-fhir-upgrade-annotation-plugin branch February 24, 2025 10:12
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.

4 participants