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

File drag&drop issues #950

Closed
1 of 8 tasks
fonsp opened this issue Feb 26, 2021 · 4 comments · Fixed by #1780
Closed
1 of 8 tasks

File drag&drop issues #950

fonsp opened this issue Feb 26, 2021 · 4 comments · Fixed by #1780
Assignees
Labels
frontend Concerning the HTML editor

Comments

@fonsp
Copy link
Owner

fonsp commented Feb 26, 2021

I thought it might be nice to have a central place for drag&drop TODOs:

  • Video and audio mime types should also become a PlutoUI.LocalResource.
  • I would definitely like small files to be embedded in the notebook file directly, be that base64 encoded or raw, inserted inside code or hidden somewhere else in the file. Alternatively, we come up with a different file type. We have to make sure that sharing the notebook means sharing a single file/folder.
  • If a file type is not recognized, we should still upload it and make the variable name available as a variable.
  • Deleting the last asset should delete the asset folder
  • (Can you delete assets?)
  • I don't like the "let block package import" hack -- we should generate nice code, with toplevel package imports

About the design: it still looks a bit messy and hacky, some ideas:

  • Use a sans font
  • Don't show the drop handle on top of a cell, but between cells, at the place where it will go

Schermafbeelding 2021-02-26 om 09 28 43

- [ ] We could have dedicated UI to show the presence of an "asset", instead of referring to it by its filename string. We could also have a sidebar with all assets, instead of placing them inline.
@fonsp fonsp added the frontend Concerning the HTML editor label Feb 26, 2021
@pankgeorg
Copy link
Collaborator

This looks like a nice idea for small data:
JuliaComputing/DataSets.jl#15

@c42f
Copy link
Contributor

c42f commented Jun 3, 2021

Cool :)

I'm happy to answer any questions about DataSets.jl. I've been hoping we can have some nice Pluto integration at some stage, and this was one piece in the puzzle.

@fonsp
Copy link
Owner Author

fonsp commented Feb 23, 2022

"Fixed" by #1780 , a GUI for DataSets.jl would be a good way to pick this up again!

@pankgeorg

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Concerning the HTML editor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants