Skip to content

Enable an ADO Entity Loader and a Preview functionality on the Metadata Display Entity Edit Form #123

@DiegoPino

Description

@DiegoPino

What is needed?

To make users writing and testing twig templates easier we want to add a few new features to the Metadata Display Entity Edit form

  • An ADO autocomplete (we may need to check if we already have the autocomplete handler, if not we may write one, simple task). This is to select any ADO object from the repository to load .. (continued)
  • The SBF field Metadata/JSON into a second Text area, so users can see the sources and values present. This helps with Writing/testing twig templates
  • A dual column layout, left the twig template (as it is now), right the loaded JSON to be used to preview/test the Template
  • A "Preview button" that submits to a handler that does exactly what our Metadata Formatter does, render the Template using the JSON as context. Also passes our globals like the IIIF server.
  • A tiny info area (fieldset) showing users which globals and their values are present
  • Remove the redirect on "save" OR add a "save and continue" button, open to both options, so every time a user saves its not redirected to main Entity List of the Metadata Display entity

@pcambra please let me know if you have any questions here. I tried to explain the use case as good as I could. The purpose is only one: help site builders and metadata professionals to build better twig templates by having data to see and test against.

@alliomeria anything else we could need to aid in the twig template creation?

this relates the more advanced issue #72 but that one is a separate thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Custom EntitiesIIIFSpecs/Manifests/ImplementationsTwigTwig template processingUI driven hintsShow stuff on screen so people have less guessing to doenhancementNew feature or requestmetadataMeta(l) data

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions