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 dialog JavaScript for newer Electron API #178

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mosullivan93
Copy link

@mosullivan93 mosullivan93 commented May 18, 2023

This PR fixes the open/save dialog functionality for the latest version of the Blink package. Even after fixing the undefined variables, differences in the security model of newer versions of Electron meant that a few tweaks were necessary to ensure compatibility.

This patch is co-dependent on an update to Blink.jl, as well. Merging PR JuliaGizmos/Blink.jl#309 and updating the compatibility constraints for Project.toml may be necessary to prevent the potential for users to end up with a broken project.

This patch supplements the resolution to JuliaGizmos/Interact.jl#414 (in piever/InteractBase.jl#176) to fix an additional complication arising from the updated Electron in Blink.jl.

Blink.jl InteractBase.jl Status
Blink v0.12.5 (Electron 4.04) InteractBase v0.10.5 Working
Blink v0.12.5 (Electron 4.04) InteractBase v0.10.9 Broken (theme undefined)
Blink v0.12.5 (Electron 4.04) InteractBase #177 Working
Blink v0.12.5 (Electron 4.04) InteractBase #178 Broken (no dialog)
Blink.jl InteractBase.jl Status
Blink v0.12.6 (Electron 19.09) InteractBase v0.10.9 Broken (theme undefined)
Blink v0.12.7 (Electron 19.09) InteractBase v0.10.9 Broken (theme undefined)
Blink v0.12.7 (Electron 19.09) InteractBase #177 Broken (no dialog)
Blink #309 (Electron 19.09) InteractBase #177 Broken (no dialog)
Blink #309 (Electron 19.09) InteractBase #178 Working

Differences in the security model of later versions of Electron meant
that a few tweaks were necessary to ensure compatibility with the latest
updates to Blink.jl
@mosullivan93
Copy link
Author

Converting to draft. This PR depends on the changes in Blink#309.

@mosullivan93 mosullivan93 marked this pull request as draft May 31, 2023 19:28
@beorostica
Copy link

This would be very useful for solving a bug in our user interface in the Koma.jl package. Is there any news on this @mosullivan93?

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.

None yet

2 participants