JuliaGizmos / Interact.jl

Interactive widgets to play with your Julia code
Other
522 stars 77 forks source link

Filepicker Widget in Mux? #316

Open versipellis opened 5 years ago

versipellis commented 5 years ago

I'm trying to use filepicker with Mux, and haven't been able to get it to work. I just noticed this line in the Tutorial, however:

Important note: this app needs to run in Blink, as the browser doesn't allow us to get access to the local path of a file.

Does this mean that the filepicker widget only works with Blink, or am I misunderstanding what the limitations are?

piever commented 5 years ago

That is correct, browsers don't have access to the local file system, so the "Blink" filepicker that returns the path to the selected file is not possible (normally this is handled server side). I'm not sure what's the best way to handle this in the Interact framework.

versipellis commented 5 years ago

Is there a way to load and cache that file into the server rather than a reference to the local file system?