Better error messaging for empty search results and empty books #28

Closed
opened 2026-02-09 14:52:13 +00:00 by mik-tf · 0 comments
Owner

Current Behavior

When a search returns no results or a book has 0 pages, the UI either shows a blank area or a technical message ("Process this collection with herotools ai first").

Expected Behavior

  • No search results: Show a clear message like "No results found for your query. Try different keywords or broaden your search."
  • Empty book (0 pages): Show a user-friendly explanation that the book content is being processed or is not yet available, rather than a technical instruction.

Location

  • templates/book.html lines 144-180 (empty book alert)
  • templates/library.html / templates/search.html (search results area)
## Current Behavior When a search returns no results or a book has 0 pages, the UI either shows a blank area or a technical message ("Process this collection with herotools ai first"). ## Expected Behavior - **No search results**: Show a clear message like "No results found for your query. Try different keywords or broaden your search." - **Empty book (0 pages)**: Show a user-friendly explanation that the book content is being processed or is not yet available, rather than a technical instruction. ## Location - `templates/book.html` lines 144-180 (empty book alert) - `templates/library.html` / `templates/search.html` (search results area)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_books#28
No description provided.