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

Add docs for opening/saving files #756

Closed
3 tasks done
Tracked by #579
marimeireles opened this issue Sep 8, 2022 · 3 comments
Closed
3 tasks done
Tracked by #579

Add docs for opening/saving files #756

marimeireles opened this issue Sep 8, 2022 · 3 comments
Labels
tag: docs Related to the documentation

Comments

@marimeireles
Copy link
Member

marimeireles commented Sep 8, 2022

Checklist

  • I added a descriptive title
  • I searched for other issues and couldn't find a duplication
  • I already searched in Google and didn't find any good information or help

What is the issue/comment/problem?

This is an umbrella issue to take care of all issues related to how to open files from your file system using PyScript.

This is not necessarily a responsibility of our framework (or at least not yet since we don't have this in our API) but there are so many requests about it, I think it'd be very beneficial to add a page in our "How to" section of the docs.

Please, correct me if I'm wrong @antocuni but I guess this is still the best solution we have?
#179 (comment)

I think it's also fair to say the PyScript team is working on something that might offer users a kind of solution for that. This feature should be done by the end of the month of sept. 2022 and we'll announce it broadly.

Issue where we track the actual API development to fix this issue rather than using a workaround: #558

Related issues:
#595

Closes issues:
#558
#146
#399
#748
#179
#146
#124
#111

@marimeireles marimeireles added the needs-triage Issue needs triage label Sep 8, 2022
@marimeireles marimeireles added tag: docs Related to the documentation and removed needs-triage Issue needs triage labels Sep 8, 2022
@antocuni
Copy link
Contributor

antocuni commented Sep 9, 2022

Please, correct me if I'm wrong @antocuni but I guess this is still the best solution we have?
#179 (comment)

yes it is

@WebReflection
Copy link
Contributor

It looks like #595 is the only opened one but the final solution should work even on main thread on latest PyScript, not just classic ... that solution is how download links are created on the Web too but it looks like some documentation or modern example might be still needed or beneficial ... and I wonder if @JeffersGlass by any chance wrote already something related to files upload/download from either DOM input file fields or the virtual FS.

@WebReflection
Copy link
Contributor

this has been fixed and explained with the latest documentation which should be live ASAP ... in there we explain how to load files from users, save in the virtual FS, eventually read or download these from there, and so on.

There is not much activity in here so I am closing it ahead of time as I know we and Jeff both documented the "circus" around files. We can re-open this if needed in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: docs Related to the documentation
Projects
Status: Next
Development

No branches or pull requests

3 participants