AllenInstitute / biofile-finder

An open-use web application created for easy access, collaboration, and sharing of datasets through rich metadata search, filter, sort, and direct viewing in common industry applications or in our web-based 3D Volume Viewer.
https://biofile-finder.allencell.org/
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Enable metadata editing for internal data sources #96

Open SeanLeRoy opened 4 months ago

SeanLeRoy commented 4 months ago

This feature would be available on right click context menu as an "Edit Metadata" option only when the data source is "AICS FMS"

Clicking the "Edit Metadata" button it would open up a modal that just looks like any other file row but the cells in this are editable. Then also included in the modal would be a description of how the metadata is applied. So this would describe that the metadata would overwrite any and all metadata assigned to these files and talk about why some columns are present and some aren't.

We want to touch MMS not FES for reading and writing this metadata because we only want users to touch directly annotated metadata like "Plate Barcode" instead of "Solution" because the "Solution" annotation in this example is an indirect annotation that is sourced from "Plate Barcode" downstream of MMS in the ETL. So with this in mind when we build the row for users the edit we want to include only the annotations that are directly assigned to any of the files rather than the entirety of all the annotations i.e. only edit directly assigned annotations and let users add new columns (annotations).

The File Upload App's mass edit feature is a similar UI to what we want where it is one row that is edited that represents the metadata for the entire selection.

Might be good to start a new metadata branch for this? Like Edit or something?

Key endpoints in MMS:

SeanLeRoy commented 2 months ago

120 Required

lynwilhelm commented 2 days ago

@aswallace Design link: https://www.figma.com/design/oNQvOAK11YINcbPvNmkgwO/Public-File-Explorer?node-id=875-4724&t=nM3MIpceKUqKI8pl-1