dat-ecosystem-archive / datBase

Open data sharing powered by Dat [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
http://datbase.org
244 stars 32 forks source link

page the file list #280

Open okdistribute opened 7 years ago

okdistribute commented 7 years ago

if there's 1000 files, the file list will now choke and be difficult to handle. Let's page the file list. might be fixed in hyperdrive-ui

okdistribute commented 7 years ago

hey jhand, the paged list uses this call to render the list: https://github.com/datproject/datfolder/blob/master/client/js/components/hyperdrive/index.js#L18

Every file list is rendered here, with entries passed manually: https://github.com/datproject/datfolder/blob/master/client/js/components/hyperdrive/client.js#L19

So you won't need to edit yo-fs -- just edit where state.archive.entries (or state.entries in te archive model) are being updated.

okdistribute commented 7 years ago

@joehand : "not sure I understand how we can do it without the append-tree"

Let's wait for @mafintosh to land the append-tree patch and then revisit

okdistribute commented 7 years ago

Going to move this to the next milestone~