Skip to content

chore: pin html-to-image to 1.11.11 #1963

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

Merged
merged 3 commits into from
Feb 18, 2025
Merged

Conversation

J05h-L
Copy link
Collaborator

@J05h-L J05h-L commented Feb 18, 2025

Context

AB#248372 - AB#249983

See the description in task 249983. In newer versions of this package a change has been introduced where the styling for the charts is not being resolved correctly resulting in the charts displaying incorrectly as images. Worth noting 1.11.11 is the most popular version.

See below comment from @WolfyUK for likely source.

Change proposed in this pull request

pin the version for html-to-image to 1.11.11

Guidance to review

front-end component can be built locally and using that for the Web app the charts should display correctly when saved. Worth clearing broswer cache as that can preserve styles if you have generated images previously.

A bump to front-end will follow

Checklist (add/remove as appropriate)

  • Work items have been linked (use AB#)
  • Your code builds clean without any errors or warnings
  • You have run all unit/integration tests and they pass
  • Your branch has been rebased onto main
  • You have tested by running locally

@WolfyUK
Copy link
Collaborator

WolfyUK commented Feb 18, 2025

It might be worth adding that the suspicion is around this PR that was merged into 1.11.12, but it could have been anything in that version or 1.11.13 (latest at this time). See also: this issue.

@J05h-L J05h-L force-pushed the chore/248372/pin-html-to-image branch from 2c93dd1 to 23627d3 Compare February 18, 2025 12:55
@J05h-L J05h-L marked this pull request as ready for review February 18, 2025 12:57
WolfyUK
WolfyUK previously approved these changes Feb 18, 2025
@J05h-L J05h-L merged commit e63cc59 into main Feb 18, 2025
8 checks passed
@J05h-L J05h-L deleted the chore/248372/pin-html-to-image branch February 18, 2025 13:19
@J05h-L J05h-L mentioned this pull request Feb 18, 2025
5 tasks
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