phoenix icon indicating copy to clipboard operation
phoenix copied to clipboard

[feat] Support for Phoenix firefox

Open charlypa opened this issue 2 years ago • 2 comments

Describe the problem

Currently, phoenix is not supported in firefox as firefox does not implement native filesystem libraries. As a result, anyone using firefox cannot open a folder /project to work with phoenix,

Describe the solution you'd like

For Firefox and Safari, when the user clicks open folder shows OS native empty folder and allows the user to choose a folder to work with. Once development is completed, users should be allowed to download the project.

Alternatives considered

No response

Additional context

No response

charlypa avatar Feb 04 '23 09:02 charlypa

File System Access API polyfill: https://github.com/use-strict/file-system-access

Crystal-RainSlide avatar Feb 21 '23 09:02 Crystal-RainSlide

@Crystal-RainSlide Thanks for the link. phcode has our file system virtualization layer https://github.com/phcode-dev/phoenix-fs . It works similarly to the library mentioned. But the main problem is firefox will not allow opening local files for editing. Firefox is now supported with phcode. It still cannot open local folders due to firefox restrictions.

abose avatar May 03 '23 10:05 abose