Adding whole PDF folders to Zotero

  • Is it not possible to add whole pdf folders to Zotero at once?
  • You can drag multiple PDF items into Zotero at once, but you can’t drag folders in currently, no.
  • I guess that adding a folder import feature would invoke a lot of the same code paths, but might benefit from something like a progress bar, and might need some additional unit/functional tests. That would benefit in detecting any unreliability in the mutli-file case as well, where I've noticed some intermittent problems in the past.

    Where should those tests live? Is test/tests/importExportTest.js a good place for it to go, or should it happen in a more integrated context?
  • No, this would be an importFromFolder() in attachments.js, calling importFromFile(), as well as Zotero.CollectionTreeView.prototype.drop() in collectionTreeView.js (which also calls importFromFile() currently). (But the latter file is about to be completely replaced, so you shouldn't touch that for the moment.)

    If you want to look into implementing this, you can post further technical questions to zotero-dev.
Sign In or Register to comment.