Skip to content

Conversation

martakam
Copy link
Member

@martakam martakam commented Nov 5, 2026 •

Whenever the user has a specific query, but they don't find any books, we now show some suggestions instead of having an empty page.
The suggestions are books with the same filters, rated by at least 10 000 people and they're sorted by the best rating.

Some of the code in this pull request has been created with the assistance of AI.

To be merged after #88, because this PR builds upon that one.

Closes #75

@martakam martakam added the enhancement New feature or request label Nov 5, 2026
@martakam martakam self-assigned this Nov 5, 2026
@martakam martakam requested a review from a team as a code owner November 5, 2026 19:53
@martakam martakam added this to the Deliverable 4 milestone Nov 5, 2026
hestro
hestro previously approved these changes Nov 7, 2026
Copy link
Member

@hestro hestro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works well! Suggestions make the empty state much more useful

@martakam martakam dismissed hestro’s stale review November 7, 2026 14:12

The merge-base changed after approval.

@martakam
Copy link
Member Author

martakam commented Nov 7, 2026

Clean merge, no code changes.

@martakam martakam merged commit c5ca641 into main Nov 7, 2026
@martakam martakam deleted the feat/no-result-suggestions branch November 11, 2026 21:59
Sign in to join this conversation on GitHub.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: show suggested books when user's query returns no books
2 participants