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

Feature request: Accept a URL to an input file #82

Open
slowkow opened this issue Jan 12, 2022 · 1 comment
Open

Feature request: Accept a URL to an input file #82

slowkow opened this issue Jan 12, 2022 · 1 comment
Labels
good first issue Good for newcomers

Comments

@slowkow
Copy link

slowkow commented Jan 12, 2022

Suppose we have a URL like this:

https://www.jkanche.com/kana/?10xh5=https://example.com/myfile.h5

It would be great if we could click that link and have Kana automatically retrieve the file and load it into the app.

This feature facilitates sharing with colleagues.

This feature also unlocks the possibility to create a light-weight Chrome extension (similar to BioJupies) that adds a "Kana button" to the web page when the extension detects a filename like *.h5 on the page. In one click, the file can be automatically loaded in a new Kana page and ready for analysis.

This feature also enables accepting a URL for a file in the input form instead of choosing a local file on the user's disk:

@jkanche
Copy link
Collaborator

jkanche commented Jan 12, 2022

thats a great idea. it is something we are currently working on for a different data backend system and can add this feature when its fully tested. Also the UI needs to support both file drag/drop & urls and may be a redesign so that its not clunky with a lot of UI elements.

Probably don't anticipate this on most public servers that host data although we might run into issues with CORS when datasets are hosted through S3 (if the bucket hosting the file doesn't have CORS enabled)

@jkanche jkanche added the good first issue Good for newcomers label Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants