Element84 / filmdrop-ui

A web UI to search and display results from the FilmDrop STAC API.
Other
23 stars 1 forks source link

Ba/feature/per collection metadata fields #227

Closed bradleyandrick closed 1 year ago

bradleyandrick commented 1 year ago

Related Issue(s):

Proposed Changes:

  1. Change Popup Result component to only render title (id of stac item) as default field
  2. Add setting in config.json to allow for user defined properties to specify if additional metadata fields should be set in Popup Result

NOTE: This PR improves upon configuration but still couples the metadata fields to some known properties needed for demo UI projects. There is a followup ticket created by project team to refactor this in more detail and introduce things like field name aliases and better handle presentation of edge cases with varying data types and human readable formatting needs.

To Test:

automated tests pass 🍏 npm run test

Test config set

Test config partially set

Test no config

PR Checklist: