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

[Improvement] Add Gotenberg support to define screenshot size #17023

Merged
merged 3 commits into from May 16, 2024

Conversation

kingjia90
Copy link
Contributor

Changes in this pull request

Resolves #17009

@kingjia90 kingjia90 added this to the 11.3.0 milestone May 8, 2024
Copy link

github-actions bot commented May 8, 2024

Review Checklist

  • Target branch (11.2 for bug fixes, others 11.x)
  • Tests (if it's testable code, there should be a test for it - get help)
  • Docs (every functionality needs to be documented, see here)
  • Migration incl. install.sql (e.g. if the database schema changes, ...)
  • Upgrade notes (deprecations, important information, migration hints, ...)
  • Label
  • Milestone

@@ -6,6 +6,8 @@
- Unused setting `general.language` has been deprecated.
#### [Listing]
- The methods `setOrder()` and `setOrderKey()` throw an `InvalidArgumentException` if the parameters are invalid now.
#### [Html to Image]
- [Gotenberg] Bumped the lowest requirement of `gotenberg-php` from `^2.0` to `^2.4` to add support of passing screenshot size
Copy link
Contributor Author

@kingjia90 kingjia90 May 8, 2024

Choose a reason for hiding this comment

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

does this phrasing sounds clear that the minimum ^1.1 is still supported?

Copy link
Contributor

Choose a reason for hiding this comment

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

Agree that it's potentially a little bit strange, but I would say it's fine. Some kind of convoluted sentence which describes the reason for the ^1.1 support wouldn't make it better, so let's write it like this.

@markus-moser markus-moser self-assigned this May 15, 2024
@markus-moser markus-moser self-requested a review May 16, 2024 10:29
Copy link
Contributor

@markus-moser markus-moser left a comment

Choose a reason for hiding this comment

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

Let's resolve the conflict and then merge it! Thanks!

Copy link

sonarcloud bot commented May 16, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@kingjia90 kingjia90 merged commit 4e3c006 into 11.x May 16, 2024
19 checks passed
@kingjia90 kingjia90 deleted the gotenberg-screenshot-size branch May 16, 2024 10:51
@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gotenberg previews: consider window size of screenshots
3 participants