Skip to content

fix: show the catalog title of locked books on the shelf - #21

Merged
ilien-dev merged 1 commit into
mainfrom
feature/locked-book-titles
Nov 17, 2026
Merged

ilien-dev merged 1 commit into
mainfrom
feature/locked-book-titles

Conversation

@ilien-dev

Copy link
Copy Markdown
Owner

What

Locked books on the shelf and in the side panel show their title from the Kindle catalog instead of their ASIN. The web demo does the same.

Why

Anzu already reads each title from the Kindle catalog, but a locked book still showed a code like B0DEMO0001. People see codes instead of the books they recognise.

How

ui/library.rs: a row knows whether its title is real. A locked book with a title shows it, with the ASIN in the detail line; one without keeps the ASIN and "title once unlocked". demo.rs gives locked books their titles. README, README.es and PRODUCT.md updated.

Evidence

books_show_their_titles_before_and_after_the_run and books_appear_only_once_downloaded cover it. Demo checked in the browser: the shelf shows Moby-Dick and Pride and Prejudice before unlocking.
Screenshot: to be attached.

Checklist

  • This PR does one thing, and nothing else is mixed in
  • I searched open PRs and issues and nobody is already doing this
  • cargo test --workspace and cargo clippy --workspace --all-targets -- -D warnings pass
  • New interface text is in both EN and ES in crates/anzu/src/i18n.rs, or there is none

The Kindle catalog already gives the title of a book before it is unlocked,
but the shelf and the side panel still showed its ASIN. A locked book now
shows its title when it is known, with the ASIN in the detail line; one with
no title keeps the ASIN and "title once unlocked". The web demo does the same,
and the README and PRODUCT.md say so.
@ilien-dev
ilien-dev merged commit 00a1d36 into main Nov 17, 2026
3 checks passed
@ilien-dev
ilien-dev deleted the feature/locked-book-titles branch November 17, 2026 01:40
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.

1 participant