Skip to content
This repository has been archived by the owner on Oct 2, 2018. It is now read-only.

[File browser] Keep directory structure #174

Open
ferndot opened this issue Jun 24, 2014 · 4 comments
Open

[File browser] Keep directory structure #174

ferndot opened this issue Jun 24, 2014 · 4 comments

Comments

@ferndot
Copy link
Member

ferndot commented Jun 24, 2014

Instead of enumerating all editable files in a storage into a list, we should preserve the directory structure. This will make the app better suited to large storages filled with editable files.

@ferndot ferndot added the UX label Jun 24, 2014
@ferndot
Copy link
Member Author

ferndot commented Jul 18, 2014

Depends on the fix in #181

@twiss
Copy link
Collaborator

twiss commented Nov 19, 2014

Re this fixing #218, I don't think there's a way to list one level in the Device Storage API, so I'm guessing you simply want to lazily put the documents in the DOM one level at a time?

@ferndot
Copy link
Member Author

ferndot commented Nov 19, 2014

There is a path parameter that can be used with DeviceStorage.enumerate() to limit the results to a specific directory (https://developer.mozilla.org/docs/Web/API/DeviceStorage.enumerate). Unfortunately, I just checked, and there is no option to disable deep enumeration (directory and its sub-directories). I will file a bug.

@Ryuno-Ki
Copy link

Already done. See my reference in #218.

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

No branches or pull requests

3 participants