nasa / earthdata-search

Earthdata Search is a web application developed by NASA EOSDIS to enable data discovery, search, comparison, visualization, and access across EOSDIS' Earth Science data holdings.
https://search.earthdata.nasa.gov
Other
743 stars 221 forks source link

EDSC-3538: Make Relevancy the default sorting option on EDSC home page #1768

Closed daniel-zamora closed 2 months ago

daniel-zamora commented 2 months ago

Overview

What is the feature?

We are modifying the way the default collection sort is defined.

What is the Solution?

An environment variable has been introduced that will allow deployment to set the collection sort key, default is now Relevancy.

What areas of the application does this impact?

Collection sort in the collection search panel, default sort key, collection search state.

Testing

Reproduction steps

  1. Step 1
  2. Step 2...

Attachments

Please include relevant screenshots or files that would be helpful in reviewing and verifying this change.

Checklist

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 36.36364% with 7 lines in your changes missing coverage. Please review.

Project coverage is 82.25%. Comparing base (6ec22a2) to head (c2c38a3).

Files Patch % Lines
...ic/src/js/components/SearchPanels/SearchPanels.jsx 12.50% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1768 +/- ## ========================================== - Coverage 82.31% 82.25% -0.06% ========================================== Files 696 697 +1 Lines 17434 17436 +2 Branches 4565 4544 -21 ========================================== - Hits 14350 14342 -8 - Misses 2873 2988 +115 + Partials 211 106 -105 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.