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-4240: Improve the granule filters tool-tips accessibility and content #1804

Closed eudoroolivares2016 closed 1 week ago

eudoroolivares2016 commented 2 weeks ago

Overview

What is the feature?

Improve the tool-tip access to further information on the

What is the Solution?

Summarize what you changed.

Updates the contents and mechanism we inform the user about this granule filter. Adds tool-tip with precise language

What areas of the application does this impact?

List impacted areas.

Majority of code changes was technical debt reduction by rewriting the static/src/js/components/GranuleFilters/__tests__/GranuleFiltersForm.test.js and some minor cleanups to static/src/js/containers/GranuleFiltersContainer/__tests__/GranuleFiltersContainer.test.js

Updates the serverless.yml with setting for esbuild to ignore static and test files to improve performance in local development

Testing

Reproduction steps

  1. On the Granules page for a selected collection hover over the Granule-Id tooltip on the form ensure text is good
  2. Ensure that the placeholder text is accurate
  3. Ensure Unit tests are running successfully and code coverage is maintained or improved

Attachments

Wideview: image

Close-up: image

Contract for the headers where setting the color: image

Contrast on the main text in the tooltip image

Checklist

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.38%. Comparing base (56adbc1) to head (bd2461e). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1804 +/- ## ========================================== + Coverage 93.37% 93.38% +0.01% ========================================== Files 765 765 Lines 18451 18451 Branches 4731 4764 +33 ========================================== + Hits 17228 17231 +3 + Misses 1174 1135 -39 - Partials 49 85 +36 ```

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