Skip to content

WPZ-2: Adding instant search #5

@ambrose40

Description

@ambrose40

Estimated time: 1 hour

Requirements

As a user, I want to see book results as I am typing in the search field -- I don't want to have to submit the form.

  • Starting from the chore/code-review branch from Task 1, create a new branch feat/instant-search.
  • Update the code to provide instant search results as the user is typing.
  • Be sure not to spam the API with too many calls -- no more than one request every 500 ms.
  • Open the e2e test file apps/okreads-e2e/src/specs/search-books.spec.ts. Enable the second spec by renaming xit to it, then implement the test to ensure instant search works.
  • Commit your changes to the feature branch
  • Open a pull-request with chore/code-review as the target.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions