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

rm encrypted daisy, add previews #6192

Merged
merged 5 commits into from
Mar 1, 2022
Merged

rm encrypted daisy, add previews #6192

merged 5 commits into from
Mar 1, 2022

Conversation

mekarpeles
Copy link
Member

Closes #5279
Closes #5768
Builds from #5279

  • Removes Not In Library btn if Preview is available
  • Only show daisy download for public domain books (under downloads)

Technical

  • Uses new Bulk Availability API is_previewable field to render preview button

Testing

on http://ol-dev1.us.archive.org:1337/

Screenshot

Stakeholders

@mekarpeles mekarpeles added the Priority: 1 Do this week, receiving emails, time sensitive, . [managed] label Feb 27, 2022
@mekarpeles
Copy link
Member Author

Marking as P1 because we've received a few emails about this. Also, this should improve the experience pretty significantly across the site (because of previews on lists / reading logs, etc). This also fixes the case where we showed a preview button when one wasn't actually available because of restrictions (Bulk Availability API solved this with is_previewable)

@jimchamp jimchamp mentioned this pull request Mar 1, 2022
@mekarpeles
Copy link
Member Author

@jimchamp
Copy link
Collaborator

jimchamp commented Mar 1, 2022

Is the most up-to-date version of this on ol-mek? I'm still seeing Daisy links in search results there:

Screenshot from 2022-03-01 10-52-09

Going to test locally to see if this is really an issue.

@jimchamp jimchamp added the On testing.openlibrary.org This PR has been deployed to testing.openlibrary.org for testing label Mar 1, 2022
@jimchamp
Copy link
Collaborator

jimchamp commented Mar 1, 2022

Disregard all of that. I somehow ended up in production from ol-mek.

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! Confirmed that Daisy links are no longer present beneath borrow buttons, and that the preview works correctly.

@jimchamp jimchamp merged commit eebb1ae into master Mar 1, 2022
@mekarpeles mekarpeles deleted the fix-daisy branch December 20, 2022 00:53
@jimchamp jimchamp removed the On testing.openlibrary.org This PR has been deployed to testing.openlibrary.org for testing label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
On ol-mek Priority: 1 Do this week, receiving emails, time sensitive, . [managed]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

404 - Page Not Found /works/OL...W/daisy does not exist
2 participants