hectorqin / hectorqin/reader

书籍列表分页的问题

Open
#484 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
11k
Forks
5.5k
PR merge metrics
No merged PRs in 30d

Description

我采用了reader的docker last版本,然后导入了本地9000多本书籍
当我进入书籍页面后发现,加载书籍列表需要非常长的时间(测试估计在30秒左右)
然后我看了一下请求,发现 getbookshelf接口的确没有进行分页,而是将所有的书籍返回

是否有计划下一步进行更新?

image

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the getbookshelf endpoint and how the bookshelf page requests and renders its results. Confirm how the current response includes all books and identify the existing request and response conventions for pagination. Done means large libraries load through paginated results without the current long delay, with behavior verified for the bookshelf view.

Written by the indexing model from the issue text.

Assessment

Domain
api, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.