Hero Books Features to Recover and Clean #78
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Situation
Screenshots
Update
All features, toolbar navigation (Libraries/Tools/Docs), Import Collections, Markdown-to-PDF conversion, and the Docs page with versioning, were fully functional before commit
5aeb9fc, which cleaned up dead code and moved the server to a socket-only architecture. During that refactor, some working UI route handlers were inadvertently removed along with the truly unused code, and when the hero_books_viewer crate was later created as the new frontend, only the core library browsing was implemented initially.To restore, the original templates (import.html, convert.html, docs.html) and the full navbar still exist in crates/hero_books_server/templates/, and the corresponding route handlers (including build_router() with all routes) can be referenced from the parent commit 5aeb9fc~1. The work involves porting those HTML routes and handlers into the viewer crate, wiring them to proxy the existing server RPC methods (import, PDF conversion, etc.), and removing the global cross-library /search route so search only works per-library through the librarian.
Update