Skip to content

fileuploader fixed - #125

Merged
veronika-tseleva-cleantalk merged 1 commit into
devfrom
fix_55346
Aug 21, 2026
Merged

fileuploader fixed#125
veronika-tseleva-cleantalk merged 1 commit into
devfrom
fix_55346

Conversation

@veronika-tseleva-cleantalk

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings August 21, 2026 11:41
@veronika-tseleva-cleantalk
veronika-tseleva-cleantalk merged commit 601fcb2 into dev Aug 21, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts the screenshot-capture path in the FileUploader so html2canvas renders from the root document element and uses explicit viewport sizing parameters, aiming to improve reliability/accuracy of captured screenshots.

Changes:

  • Switch html2canvas render target from document.body to document.documentElement.
  • Replace manual cloned-document sizing inside onclone with windowWidth / windowHeight html2canvas options.
  • Propagate the same change into the built dist bundles.

Reviewed changes

Copilot reviewed 1 out of 4 changed files in this pull request and generated no comments.

File Description
js/src/fileuploader.js Updates html2canvas screenshot capture configuration (target element + viewport sizing).
dist/doboard-widget-bundle.js Rebuild output reflecting the updated screenshot capture logic.
dist/doboard-widget-bundle.min.js Minified rebuild output reflecting the updated screenshot capture logic.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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