-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standardize Styling for Search Inside Results #9660
Standardize Styling for Search Inside Results #9660
Conversation
6fb07e1
to
b30affd
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #9660 +/- ##
==========================================
+ Coverage 16.06% 16.42% +0.36%
==========================================
Files 90 92 +2
Lines 4769 4907 +138
Branches 832 856 +24
==========================================
+ Hits 766 806 +40
- Misses 3480 3565 +85
- Partials 523 536 +13 ☔ View full report in Codecov by Sentry. |
a68ba33
to
7f16afd
Compare
79ce73c
to
0b6b08f
Compare
for more information, see https://pre-commit.ci
We may have a bug we need to work through :) |
Re: debug I am having an issue loading the test data in to web using the script provided in the Testing description above. Do I need to be on testing to reproduce the bug you're showing? Refactor: I'm realizing I should create a 'FulltextQuoatation' macro that can be shared between FulltextSuggestionSnippet and FulltextSnippet lines 16-24. |
Closes #9479
Technical
Merged in #9734 and combined the fulltext-suggestion-snippet.less to fulltext-snippet.less.
When this PR gets merged in, there will be a merge conflict in page-user.less where the snippet styling files are being imported.
I will need to resolve the conflict so that both FulltextSuggestionSnippet.html and FulltextSnippet.html are styled by fulltext-snippet.less from this PR.
Testing
I tested this by using a sample data json and a reference to the json in dev env: jimchamp/openlibrary@master...jimchamp:openlibrary:sandbox-fulltext-search-results#diff-fb7667454719879be914be81c253b5dd9fc0dcbdb6afaada791b5091e80e8ec2
I input the test data to the web container by running these commands:
docker compose exec -e PYTHONPATH=. web bash ./scripts/copydocs.py /books/OL24966433M ./scripts/copydocs.py /books/OL32090209M ./scripts/copydocs.py /books/OL24375865M ./scripts/copydocs.py /books/OL24204364M ./scripts/copydocs.py /books/OL7522718M
The test search term is 'a cricket in the night'
Screenshot
Stakeholders
@mekarpeles