Skip to content
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

Apply search bar template to subjects page #9830

Conversation

schu96
Copy link
Contributor

@schu96 schu96 commented Aug 29, 2024

Closes #9236

Refactor

Technical

Replaced previous search bar with the template defined in searchbox.html for the Subject page.

Just noticed that the subject not found page also has a search bar that can be replaced with the template, will push an updated PR to also apply this change.

Testing

Go to a subject page that has books and a subject page that does not have books.

Screenshot

Current prod search bar:
image
image

Updated template search bar:
image
image

Stakeholders

@schu96 schu96 force-pushed the 9236/refactor/apply-search-bar-template branch from cb847ec to 0f9ae5a Compare August 29, 2024 20:15
@schu96 schu96 marked this pull request as ready for review August 29, 2024 20:18
@codecov-commenter
Copy link

codecov-commenter commented Aug 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.45%. Comparing base (ce16a79) to head (4833235).
Report is 322 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9830      +/-   ##
==========================================
+ Coverage   16.06%   16.45%   +0.39%     
==========================================
  Files          90       91       +1     
  Lines        4769     4899     +130     
  Branches      832      853      +21     
==========================================
+ Hits          766      806      +40     
- Misses       3480     3559      +79     
- Partials      523      534      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mekarpeles mekarpeles self-assigned this Aug 30, 2024
@mekarpeles mekarpeles added the On testing.openlibrary.org This PR has been deployed to testing.openlibrary.org for testing label Aug 30, 2024
@mekarpeles mekarpeles merged commit 4e2d82c into internetarchive:master Sep 5, 2024
5 checks passed
@mekarpeles
Copy link
Member

Note: On testing, we're seeing unexpected behavior re: i18n placeholder for the search form, but this may be unrelated to this PR and instead related to testing cache.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
On testing.openlibrary.org This PR has been deployed to testing.openlibrary.org for testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use new search bar template on other pages
3 participants