Element84 / filmdrop-ui

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

metadata config exception error #305

Closed bradleyandrick closed 9 months ago

bradleyandrick commented 9 months ago

Related Issue(s):

Proposed Changes:

  1. Refactor way display fields are formatted
  2. Put in basic handling for nested objects (this fixes exception issue, but can be revisited in follow up tickets to better format nested objects for presentation in the UI - needs design work first)
  3. Bump vite version to latest (fix for XSS vulnerability)

To Test:

Metrics Test

initial bug was reported when testing a metrics API

  • update config to match metrics URL & POPUP_DISPLAY_FIELDS
  • see PR owner for config details
  • npm run start
  • confirm app loads
  • select metrics collection from dropdown
  • change start date to be 2022
  • zoom into south east US
  • hit search
  • click on several data footprints
  • confirm application does not crash
  • confirm Query metadata renders as formatted string of comma separated values

Standard STAC Test

PR Checklist: