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

Books without covers not showing title/author in carousels on 3+ page #2836

Closed
cdrini opened this issue Jan 9, 2020 · 4 comments
Closed
Labels
Affects: UI Issues with the web site's user interface. [managed] Lead: @jdlrobson Issues overseen by Jon (Front-end Lead) [managed] Module: Carousels Needs: Investigation This issue/PR needs a root-cause analysis to determine a solution. [managed] Priority: 3 Issues that we can consider at our leisure. [managed] Type: Bug Something isn't working. [managed]

Comments

@cdrini
Copy link
Collaborator

cdrini commented Jan 9, 2020

Books which don't have covers should show title/author even if on 3+ page of carousel.

Evidence / Screenshot (if possible)

image

Relevant url?

e.g. https://openlibrary.org/publishers/John_Bartholomew_&_Son

Steps to Reproduce

  1. Go to https://openlibrary.org/publishers/John_Bartholomew_&_Son
  2. Scroll forward 2 pages
  • Actual: Books display empty covers
  • Expected: Books to still show the gray "placeholder" cover if missing cover

Details

  • Logged in (Y/N)? Y
  • Browser type/version? FF71
  • Operating system? Win10
  • Environment (prod/dev/local)? prod

Proposal & Constraints

Related files

Stakeholders

@cdrini cdrini added Type: Bug Something isn't working. [managed] Needs: Triage This issue needs triage. The team needs to decide who should own it, what to do, by when. [managed] State: Backlogged labels Jan 9, 2020
@cdrini cdrini changed the title Books without covers not showing title/author in carousels, 2+ page Books without covers not showing title/author in carousels on 3+ page Jan 9, 2020
@BrittanyBunk
Copy link
Contributor

@cdrini idk why, but it shows a blank cover instead of no cover at all. If that's removed, then the screen behind it (with the title and author) can show.

@xayhewalo xayhewalo added Affects: UI Issues with the web site's user interface. [managed] Module: Carousels Lead: @jdlrobson Issues overseen by Jon (Front-end Lead) [managed] Needs: Investigation This issue/PR needs a root-cause analysis to determine a solution. [managed] Priority: 3 Issues that we can consider at our leisure. [managed] and removed Needs: Triage This issue needs triage. The team needs to decide who should own it, what to do, by when. [managed] labels Jan 14, 2020
@jdlrobson
Copy link
Collaborator

Still an issue.
The images in question are pointing to URIs such as
//covers.openlibrary.org/b/id/undefined-M.jpg

This is because a cover id is not defined in https://openlibrary.org/publishers/John_Bartholomew_&_Son.json?limit=12&offset=12

Not sure if this is the client side handling or the API itself.

@jdlrobson jdlrobson added the Priority: 2 Important, as time permits. [managed] label Apr 22, 2020
@mekarpeles mekarpeles removed the Priority: 2 Important, as time permits. [managed] label Dec 8, 2020
@jdlrobson
Copy link
Collaborator

this appears to be fixed

Screen Shot 2021-01-07 at 10 15 45 AM

@BrittanyBunk
Copy link
Contributor

that is amazing! Not having to deal with those blank covers is a big weight/load off here. Great work everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Affects: UI Issues with the web site's user interface. [managed] Lead: @jdlrobson Issues overseen by Jon (Front-end Lead) [managed] Module: Carousels Needs: Investigation This issue/PR needs a root-cause analysis to determine a solution. [managed] Priority: 3 Issues that we can consider at our leisure. [managed] Type: Bug Something isn't working. [managed]
Projects
None yet
Development

No branches or pull requests

5 participants