Skip to content

FsZip: checklist #392

@warpdesign

Description

@warpdesign

Checklist to have a MVP of a (readonly) zip plugin:

  • correctly handle goto parent when at the root of the zip (should change FS)
  • correctly handle directories inside a zip file when typing a path, eg. /tmp/archive.zip/foo/
  • correctly handle directories inside a zip file when double-clicking on a directory inside an opened archive
  • need to allow browsing a zip by double-clicking it
  • need to add readonly + checks on Fs so that read+delete+paste+rename operations are disabled
  • Error handling: archive.zip/foo-does-not-exist
  • Error handling: archive.zip/foo-exist-but-is-a-file
  • close zip file when closing cache or browsing out of zip
  • need to handle opening a file from zip (by extracting the file in /tmp)
  • fix: archive.zip/foo/bar/ appears empty
  • Error: opening an invalid zip will keep FsZip ref, so opening a valid zip will fail since it will attempt to open previous file
  • Error handling: bad archive
  • Error handling: no read access to archive
  • need to handle copying files from zip
  • need to handle copying folders from zip
  • open in terminal should do nothing if fs.options.indirect is true
  • should not attempt to open zip file if foo.zip is a directory
  • should disable some context menu entries when readonly is true
  • check that everything relying on directory separator works as expected on Windows
  • error message is correct when attempting to enter a path to a non-supported file, see Improve error message #409
  • should show an error message when attempting to open a password protected zip (not sure the zip library supports it)
  • /foo/archive.zip is a directory
  • /foo/archive.zip/bar/archive2.zip: should openFile
  • /foo/archive.zip/bar/archive2.zip is a directory (should browse it)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions