Skip to content

Book search results are not paged #17

@GaProgMan

Description

@GaProgMan

Repro steps

  • Head to /books and search with a blank string
  • All book records from the database are eventually returned
  • Because images are included in the search results, the response from the API server can take up to 19 seconds (on a relatively OK connection)

Suggestions for improvement

  • Return paged data (e.g. first 10 records only)
  • As user scrolls to the bottom of the page, send a get request for more records (e.g. infinite scroll)
  • Load the text data separate from the images (fire a second get request for the images, using a loading spinner as each record's image until the response comes back)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions