Skip to content

Dissallow empty Div creation in SME #176

@Dananji

Description

@Dananji

Description

SME renders the structure from a nested list of Ranges under structures property in a IIIF manifest.

According to the Presentation 3.0 spec, a Range must have an items property with at least one item (https://iiif.io/api/presentation/3.0/#34-structural-properties).

To abide this when creating/changing structures in SME, we should disallow saving empty Div (heading) items.

Done Looks Like

  • Do not allow saving structure with empty heading items (Divs)
  • Mark structure heading items without children when using erroneous manifests (for external uses in the demo site, not specifically in Avalon)

Definition of Done

  • SME disallows saving structure with heading items (Divs) without children in Avalon
  • In the public facing demo site: opening a manifest where the structure has empty heading items (Divs) display them as invalid items.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions