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

7615/refactor/lazybookcard cleanup requests #9217

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

leanderoudakkertue
Copy link

Continuation of #9005

Closes #7615 (First checklist item)

Refactored LazyBookCard so that after it fetches /isbn/..., it fetches /search.json?q=edition_key:{key}&fields=key,author_name instead of making multiple requests for the author names.

Testing

For the user, the behavior remains the same. I tested if the /barcodescanner page recognizes books and correctly fetches and displays the name, ISBN, authors, and cover. I also tested if the page properly redirects when the page has a returnTo parameter /barcodescanner?returnTo=/isbn/$$$$. This has been tested using different books with differing number of authors.

Screenshot

image

Stakeholders

@cdrini

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.

Cleanup/convert barcodescanner to use Vue
2 participants