avalonmediasystem / avalon

Avalon Media System – Samvera Application
http://www.avalonmediasystem.org/
Apache License 2.0
94 stars 51 forks source link

Provide default required metadata in IIIF manifest for newly uploaded media #6001

Open elynema opened 2 months ago

elynema commented 2 months ago

Description

When a file is uploaded into Avalon from the web, and the user tries to preview the page before adding any descriptive metadata, Ramp gives an error:

image.png

This error is due to Ramp was missing manifest.label which I'm guessing is Title in the manifest's metadata which wasn't in the manifest. The labels in the structure were also null.

Prior to 7.8, when a media file had been uploaded, but no metadata added, the preview page would have a default title and date displaying. These default values did not populate into the Resource Description section when editing the item.

image.png

Questions

Done Looks Like

masaball commented 2 months ago

As long as a user has not moved past the file upload screen they can upload multiple files. The validations on the media object are only activated after the file upload step has been "completed", so when the user has hit the "Continue" button and moved to the resource description page.

We could potentially expand that so users can always attach more files but that would take some thought on how to do the rework and should be its own ticket if we want to look into it.

elynema commented 4 days ago

@masaball I see one potential tweak here. After uploading a single item, there is a section with a blank title. After uploading 2 items, the file names populate the sections. Is it possible to populate the section title when the first item is uploaded?

image.png image.png