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

Zip Preview #31

Open
a-drew opened this issue Jul 14, 2021 · 2 comments
Open

Zip Preview #31

a-drew opened this issue Jul 14, 2021 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@a-drew
Copy link
Member

a-drew commented Jul 14, 2021

Is your feature request related to a problem? Please describe.

It's not possible to tell what's inside of a zip file without downloading the whole thing and opening it. This can take a lot of time depending on the size of the zip.

Describe the solution you'd like

We should have a way to preview the zip folder contents in the media manager interface

For frontend: could be part of the details sidebar, with a little scrollable area, kind of like google drive does it

For backend: we should add a new api route that reads the file with ZipArchive and recursively gets all the contents with getNameIndex()

Describe alternatives you've considered

  • Downloading it
  • Extracting it and displaying all files in a folder

Additional context

Should be tackled after we nail the core functionality and do the first release.

@a-drew a-drew added the enhancement New feature or request label Jul 14, 2021
@m-triassi
Copy link
Contributor

@JeromeDevillers mentioned that this can be used to inspect zip contents on the front end,

alternatively, we can use the ZipArchive class built in to PHP and then i can attach the file list of a zip as a accessor on the media model

@forecast forecast bot added this to the Get Er Done milestone Oct 5, 2021
@forecast
Copy link

forecast bot commented Nov 2, 2021

This would be a quite involved features, sounds like a v2.0 thing to me

@forecast forecast bot unassigned m-triassi Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants