Skip to content

Metadata editor navigation is limited to books loaded by lazy loading #187

Description

@van-geaux

What went wrong?

When editing metadata from the library page, the metadata editor can only navigate forward through the books that were already loaded when the library page was first opened.

Since the library page uses lazy loading, only the initially loaded books are available to the metadata editor. For example, in the recording, only 100 books were loaded, so the editor can only move forward through those 100 books.

If I have not scrolled further down the library page to trigger more books to load, the metadata editor cannot continue to the next books even though more books exist in the library.

Steps to reproduce

  1. Open a library page with many books.
  2. Do not scroll far enough to load all books.
  3. Open the metadata editor for one of the loaded books.
  4. Use the next/forward navigation in the metadata editor.
  5. Continue until reaching the last book that was loaded on the library page.

Expected vs actual behavior

Expected behabior is that the metadata editor should be able to continue navigating through all books in the library, including books that have not yet been loaded visually on the library page.

Actual behavior is that the metadata editor can only navigate through the books that were already loaded by the library page. Once it reaches the last loaded book, it cannot go forward unless more books were loaded first by scrolling the library page.

Your setup

  • BookOrbit version tag: 1.7.0
  • Deployment: docker
  • OS: Debian Trixie
  • Browser: Firefox 151.0.2

Relevant logs (optional)

Screenshots (optional)

20260601-0338-25.0247451.mp4

Before submitting

  • I've searched existing issues and this hasn't been reported yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleasedIssue or PR is included in a released version.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions