Skip to content

Vue3/migrate plugin export#679

Open
jedi-of-the-sea wants to merge 32 commits intonextfrom
vue3/migrate-plugin-export
Open

Vue3/migrate plugin export#679
jedi-of-the-sea wants to merge 32 commits intonextfrom
vue3/migrate-plugin-export

Conversation

@jedi-of-the-sea
Copy link
Copy Markdown
Contributor

@jedi-of-the-sea jedi-of-the-sea commented Apr 24, 2026

Summary

The export plugin has been migrated to POLAR@3.

Instructions for local reproduction and review

In this effort, the required monkey patch has been tied to the export plugin itself, and can be turned on and off. However, since there is currently no mechanism to re-create the canvas, it remains tainted, and holds the same caveats as in POLAR@2.

The plugin itself may be tested in the iceberg client, run npm run dev and open http://localhost:1234/examples/iceberg/#.

You may also test changing the configuration, e.g. to a single export, or to not have an automated download.

Pull Request Checklist (for Assignee)

  • Changelogs are maintained Currently no changelogs featured
  • Functionality has been tested in Firefox, Chrome, Safari @dopenguin pls check Safari
  • Functionality has been tested on a smartphone
  • Functionality has been tested with 200% screen zoom
  • Screenreader functionality has been manually tested with NVDA

UI has been tested in the following tools regarding accessibility (only regarding functionality affected in this PR)

  • Chrome Lighthouse
  • Firefox Accessibility

@jedi-of-the-sea jedi-of-the-sea force-pushed the vue3/migrate-plugin-export branch from a952f9c to 6a5a4c5 Compare April 24, 2026 15:50
@dopenguin dopenguin added enhancement New feature or request refactor Refactoring of previous code labels Apr 29, 2026
@dopenguin dopenguin added this to the POLAR@3 milestone Apr 29, 2026
@dopenguin dopenguin linked an issue Apr 29, 2026 that may be closed by this pull request
@warm-coolguy warm-coolguy force-pushed the vue3/migrate-plugin-export branch from c6ee5fe to 2e4ac86 Compare May 4, 2026 06:52
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://Dataport.github.io/polar/pr-preview/pr-679/

Built to branch gh-pages at 2026-05-08 06:50 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@warm-coolguy warm-coolguy force-pushed the vue3/migrate-plugin-export branch from 2e4ac86 to da29f62 Compare May 5, 2026 13:29
@warm-coolguy warm-coolguy marked this pull request as ready for review May 5, 2026 14:16
Copy link
Copy Markdown
Member

@dopenguin dopenguin left a comment

Choose a reason for hiding this comment

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

Works in Safari ✅
🏓 @warm-coolguy

Comment thread examples/iceberg/components/IcebergMap.vue
Comment thread src/plugins/export/utils/CrossOriginMonkey.ts
Comment thread src/plugins/export/utils/convertToPdf.ts
Comment thread src/plugins/export/utils/downloadAsImage.ts
Comment thread src/plugins/export/utils/getCanvasFromMap.ts
Comment thread src/plugins/export/store.ts Outdated
Comment thread src/plugins/export/store.ts
Comment thread src/plugins/export/types.ts Outdated
Comment thread src/plugins/export/types.ts Outdated
Comment on lines +6 to +8
* Supported export formats. 'jpg' and 'jpeg' are effectively the same format,
* so you can provide whatever you prefer. Providing both is not recommended
* due to the confusing nature of having both options.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'd prefer including the part regarding jpg and jpeg under @remarks of formats

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sure. 12a26ec

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

7ce801d

I guess.

Comment thread src/plugins/export/components/ExportUI.ce.vue Outdated
@warm-coolguy
Copy link
Copy Markdown
Member

Works in Safari ✅ 🏓 @warm-coolguy

🏓 @dopenguin

warm-coolguy and others added 8 commits May 7, 2026 12:11
apply suggestion "fix typo"

Co-authored-by: Pascal Röhling <73653210+dopenguin@users.noreply.github.com>
apply suggestion "add tics"

Co-authored-by: Pascal Röhling <73653210+dopenguin@users.noreply.github.com>
Co-authored-by: Pascal Röhling <73653210+dopenguin@users.noreply.github.com>
@warm-coolguy warm-coolguy force-pushed the vue3/migrate-plugin-export branch from 12a26ec to 989d696 Compare May 7, 2026 10:12
Comment thread src/plugins/export/types.ts Outdated
@dopenguin
Copy link
Copy Markdown
Member

Works in Safari ✅ 🏓 @warm-coolguy

🏓 @dopenguin

🏓 @warm-coolguy

@warm-coolguy
Copy link
Copy Markdown
Member

Works in Safari ✅ 🏓 @warm-coolguy

🏓 @dopenguin

🏓 @warm-coolguy

🏓 @dopenguin

Bill_Gates'_Giant_Ping_Pong_Paddle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request refactor Refactoring of previous code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migration of Export plugin to POLAR@3

3 participants