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

Add want to read dropper on author's page #8527

Conversation

benbdeitch
Copy link
Contributor

Closes #8520

This pull request seeks to add the 'Want to Read' dropper onto the various books listed on an Author page.

Technical

It's a two line alteration, that imports and adds the dropper component to the calling of the searchResultsWork macro.

@jimchamp jimchamp self-assigned this Nov 20, 2023
@jimchamp jimchamp changed the title Issue #8520 want to read dropper on author's page Add want to read dropper on author's page Nov 20, 2023
Copy link
Collaborator

@jimchamp jimchamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @benbdeitch!
It looks like the button's text is very small on these pages:
Screenshot from 2023-11-28 08-38-11

Updating the font-size to 1rem should fix it. That can be changed here:

Changed the font-size on the button from 1em to 1rem.
Copy link
Collaborator

@jimchamp jimchamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm --- Thanks @benbdeitch!

Font size is now consistent with most other droppers:

Screenshot from 2023-11-29 15-59-49

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c6b3544) 16.00% compared to head (08b27a8) 16.51%.
Report is 70 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8527      +/-   ##
==========================================
+ Coverage   16.00%   16.51%   +0.51%     
==========================================
  Files          86       85       -1     
  Lines        4692     4456     -236     
  Branches      822      782      -40     
==========================================
- Hits          751      736      -15     
+ Misses       3416     3227     -189     
+ Partials      525      493      -32     

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

@jimchamp jimchamp merged commit b4afa14 into internetarchive:master Nov 30, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add 'Want to Read' dropper to works on author page
3 participants