openlibrary
openlibrary copied to clipboard
Replace "Not In Library" button with "Check local libraries"
Related to #5831
Problem
Patrons get confused when they see a button that says "Not in library". It's a dead end. Instead, we should give them a default action of searching for an Open Library book within their local libraries using Worldcat or LibraryLink.
Describe the problem that you'd like solved
Replace Not in library
button:
With Check local libraries
:
Proposal & Constraints
-
The style should use the
cta-btn--shell
class. -
The button should link to the Worldcat link in https://github.com/internetarchive/openlibrary/blob/master/openlibrary/macros/WorldcatLink.html#L9
-
Button must have analytics / click-tracking (to compare before/after)
Additional context
Code: https://github.com/internetarchive/openlibrary/blob/master/openlibrary/macros/LoanStatus.html#L137-L140
Stakeholders
@jimchamp @cdrini @seabelis @JeffKaplan @bfalling
For now, clicking btn will go to Worldcat, eventually we may wish to explore integrations which show library availability from within the context of Open Library and the other valuable info we're able to show on the book page.
@mekarpeles I see that you have self-assigned this issue. Would like me to work on this one?
This one is a bit tricky and I'm almost done :)
Prototype: Create a modal similar to the share
modal which has tabs & iframe for checking Library.Link & Worldcat availability.
Hi @mekarpeles I want to contribute to this issue but you mentioned that you're working on it but there is no update since October. Is it okay for me to take on the issue?
I am a open source beginner so I don't know what the norm is.
hello @ThisIsRahmat I will list down few resources which can help you understand the codebase and flow better Readme.md https://github.com/internetarchive/openlibrary/blob/master/CONTRIBUTING.md
I hope this helps.
hey i want to work on this issue please assign me this issue
Hi, I'll be taking on this issue. I'll make a PR within this week.
@mekarpeles Here is my current implementation for the modal. Please ignore the styling for now as I would probably need the designer's input. But the functionality is there already, will make an initial PR first and continue working on it once the design is settled.
This button is confusing both the old and the new ways. Should be clearer. Like, "This book is currently checked out by another reader. Would you like to be notified once it is returned? Also, you can [ CHECK LOCAL LIBRARIES ]" (wording can be different, but this is the idea).
Yeah I am very happy to work with thus good first issue. Will you assign to me please
Howdy folks, there's an open PR for this one, and this needs a bit more planning for direction :) Removing the good first issue label for now.
If you're looking for other places to help out, check out this list: internetarchive/openlibrary/issues (is:open label:"Needs: Help" label:"Good First Issue")