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

Support special access btn for patrons w/ approved print-disabilities #4491

Merged
merged 7 commits into from
Feb 12, 2021

Conversation

mekarpeles
Copy link
Member

@mekarpeles mekarpeles commented Jan 26, 2021

Closes #4490

Request from directors, have Open Library provide patrons with qualified print-disabilities an accurate depiction of which books are available to them. Dates back to our 2018 roadmap:
https://docs.google.com/document/d/1wpa4f-r8jBimam-36CAZGQ_QjApegm10XfH85eG7KAE/edit#

Technical

Uses the xauthn API which has been updates to return printdisability qualifications

Testing

Tested on dev.openlibrary.org (not yet on staging)

Considerations

May require care re: caching homepage carousel html!

Screenshot

dev openlibrary org_search_q=test mode=ebooks has_fulltext=true

Stakeholders

@mekarpeles mekarpeles marked this pull request as ready for review February 6, 2021 12:29
@mekarpeles mekarpeles changed the title MVP for print-disabled special access btn Support special access btn for patrons w/ approved print-disabilities Feb 6, 2021
@mekarpeles mekarpeles added this to the Active Sprint milestone Feb 6, 2021
Copy link
Contributor

@cclauss cclauss left a comment

Choose a reason for hiding this comment

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

LGTM

@mekarpeles
Copy link
Member Author

Note considerations:

May require care re: caching homepage carousel html!

@mekarpeles mekarpeles force-pushed the feature/print-disabled-accounts branch from a99190c to a902124 Compare February 11, 2021 18:24
@mekarpeles mekarpeles added the Priority: 1 Do this week, receiving emails, time sensitive, . [managed] label Feb 11, 2021
Copy link
Collaborator

@cdrini cdrini left a comment

Choose a reason for hiding this comment

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

Small comments; putting on staging now for testing.

openlibrary/macros/ReadButton.html Outdated Show resolved Hide resolved
openlibrary/macros/LoanStatus.html Outdated Show resolved Hide resolved
openlibrary/plugins/upstream/account.py Outdated Show resolved Hide resolved
@mekarpeles
Copy link
Member Author

Also notes:

  1. carousels load_more still show borrow; considering out of scope
  2. increased width of "special access" text causes noticeable glitches in "Listen" roll-over in editions table Book page: Editions Table "Listen" roll-over glitch #4575

@mekarpeles
Copy link
Member Author

All PR feedback should be addressed and tested during a call on staging. Going to merge. I think we should do a round of testing on Tuesday before any additional deploys (as we have a handful of changes inbound)

@mekarpeles mekarpeles merged commit e2285cd into master Feb 12, 2021
@mekarpeles mekarpeles deleted the feature/print-disabled-accounts branch February 12, 2021 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: 1 Do this week, receiving emails, time sensitive, . [managed]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Print Disabled Access
3 participants