BlueBrain / nexus

Blue Brain Nexus - A knowledge graph for data-driven science
https://bluebrainnexus.io/
Apache License 2.0
280 stars 74 forks source link

Preview Plugin: Ability to manage files #3220

Open samuel-kerrien opened 2 years ago

samuel-kerrien commented 2 years ago

Description Currently the plugin only shows files that are already linked to a KG Resource. Let's add the ability for a user to manage files:

This task includes the design of the UI update and validation prior to implementing.

TODO

smitfire commented 2 years ago

@samuel-kerrien Uploading files to the preview plugin would require us to show this functionality even if there are no files attached to the resource. How would this affect other resources without files attached? should all resources show the preview plugin? if not, which ones should we limit? If we follow this process for other plugins, would we be showing all plugins always?

loris-olivier commented 2 years ago

@samuel-kerrien @smitfire I strongly recommend to regroup the preview and image plugin into a file plugin which will display a list of items that can be either an image (PNG, JPEG, GIF) and other files (PDF, SWC, NWB, etc). Look at this card for more details: https://github.com/BlueBrain/nexus/issues/3172