nasa-gcn / gcn.nasa.gov

General Coordinates Network (GCN) web site
https://gcn.nasa.gov
Other
182 stars 43 forks source link

Circulars: Lucene Shortcuts and Archive Page Documentation #2589

Open tylerbarna opened 1 month ago

tylerbarna commented 1 month ago

Description

This adds a brief explanation of Lucene queries to the Circulars Archive page as well as shortcut buttons to populate the search bar with common Lucene search syntax

Related Issue(s)

Tracked by #2288

Testing

  1. Navigate to Circulars Archive
  2. Click on the "Advanced Search" (Tentative Label) Accordion Menu
  3. The menu should expand
  4. Any Shortcut buttons should be clickable, resulting in the addition of the selected lucene query to the query. This should be reflected directly in the search bar and should not clear the existing query
codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.

Project coverage is 6.07%. Comparing base (6ab395c) to head (71f10d4). Report is 19 commits behind head on main.

Files with missing lines Patch % Lines
.../circulars._archive._index/CircularsLuceneMenu.tsx 0.00% 9 Missing :warning:
app/routes/circulars._archive._index/route.tsx 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2589 +/- ## ======================================== - Coverage 6.10% 6.07% -0.04% ======================================== Files 164 165 +1 Lines 4061 4082 +21 Branches 442 450 +8 ======================================== Hits 248 248 - Misses 3811 3832 +21 Partials 2 2 ```

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