fecgov / fec-cms

The content management system (CMS) for the new Federal Election Commission website.
https://www.fec.gov
Other
92 stars 38 forks source link

Faster keyword search for updates and html search for legacy meetings #6230

Closed johnnyporkchops closed 2 months ago

johnnyporkchops commented 2 months ago

Summary (required)

Required reviewers

One dev One UX or One Content

Impacted areas of the application

How to test

Content/UX: Ask me to push to featiure or dev and see bullets below for testing Developers:

Note:: Prior to this PR, a common pattern for listing Presenters separated by a slash in meeting pages, would not return results when searching individual names if there was not a space before and after the slash. For example, The built in db search will not find Lorenzo Holloway in Joshua Blume/Lorenzo Holloway but it will find it in Joshua Blume / Lorenzo Holloway. With the changes in this PR, searches will return all pages with the presenter's name, regardless of the syntax.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 7.69231% with 12 lines in your changes are missing coverage. Please review.

Project coverage is 77.98%. Comparing base (3ad02a1) to head (ca82cfe). Report is 18 commits behind head on develop.

Files Patch % Lines
fec/home/views.py 7.69% 12 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #6230 +/- ## =========================================== - Coverage 78.01% 77.98% -0.03% =========================================== Files 289 289 Lines 9347 9350 +3 Branches 681 681 =========================================== Hits 7292 7292 - Misses 2055 2058 +3 ```

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