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

Support importing/exporting .zip archives #306

Closed
gideonthomas opened this issue May 21, 2015 · 5 comments
Closed

Support importing/exporting .zip archives #306

gideonthomas opened this issue May 21, 2015 · 5 comments

Comments

@gideonthomas
Copy link

  • Maybe dropbox integration?
    • Just the design
  • As zipped files (import/export)
  • Drag and drop?
  • URL to files?
@humphd
Copy link

humphd commented May 21, 2015

If we decide to allow DnD into the filetree or editor window somehow, we should consider whether to do this upstream or just in our fork--there are bugs on this and/or Trello cards for this feature in Brackets.

@humphd
Copy link

humphd commented May 21, 2015

The "unzip into filesystem" stuff is something I wrote here, and we could rework into an extension we load if you need that feature (i.e., don't always load it, since the zip/unzip code isn't small):

https://github.com/humphd/nohost/blob/master/src/webserver.js#L29-L84

@humphd
Copy link

humphd commented May 22, 2015

From discussions today, our plan is:

  • Allow a user to Import a file or files. This could be done with a button and dialog box, drag-and-drop, both
  • If it's a regular file or files, we add it to the current filesystem
  • If it's a zip file, we ask whether they want to expand it into the current filesystem OR use it as the basis for a new project
  • We also allow a user to Open a project by URL (i.e., an existing published URL for a project) or name (username/project-name or something). This could be their own, or someone else's, which is similar to the concept of a remix.

@JordanTheriault JordanTheriault changed the title Import and export files to and from the desktop [META] Import and export files to and from the desktop May 28, 2015
@humphd humphd changed the title [META] Import and export files to and from the desktop Support importing/exporting .zip archives Jun 2, 2015
@humphd
Copy link

humphd commented Jun 2, 2015

I've done the file-import via dnd, so I've morphed this into the zip import/export bits.

@humphd
Copy link

humphd commented Jun 26, 2015

I'm going to do the zip export in #347, and close this now that I've landed the zip import stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants