feat: auto-refresh homepage after import and add navigation (#47) #50

Closed
mik-tf wants to merge 0 commits from development_issue_47 into development
Owner

Summary

After importing a book via the Import UI, the homepage now automatically shows the new book without requiring a server restart.

Changes

  • After successful import, re-export books with metadata and refresh in-memory cache
  • Re-discover namespaces so new libraries appear immediately
  • Add "View Libraries" and "Import Another" navigation buttons to the import progress page on completion

Testing

  • Compiles clean (cargo check)
  • Import a book via the UI, then navigate to homepage — new book appears immediately

Closes #47

## Summary After importing a book via the Import UI, the homepage now automatically shows the new book without requiring a server restart. ## Changes - After successful import, re-export books with metadata and refresh in-memory cache - Re-discover namespaces so new libraries appear immediately - Add "View Libraries" and "Import Another" navigation buttons to the import progress page on completion ## Testing - Compiles clean (cargo check) - Import a book via the UI, then navigate to homepage — new book appears immediately Closes #47
feat: auto-refresh homepage after import and add navigation (#47)
All checks were successful
Test / test (pull_request) Successful in 3m8s
Test / integration (pull_request) Successful in 8m26s
a13e06672f
After importing a book, the import pipeline now re-exports books and
refreshes the in-memory cache so new books appear on the homepage
immediately without restarting the server.

- Re-export books with metadata after successful import
- Refresh in-memory books cache and namespace discovery
- Add 'View Libraries' and 'Import Another' navigation buttons
  to the import progress page on completion

Closes #47
fix: ensure embedder namespace exists before uploading in git import
All checks were successful
Test / test (pull_request) Successful in 3m42s
Test / integration (pull_request) Successful in 6m18s
b25110cdb2
The git import pipeline was missing the ensure_index() call that the
local import pipeline had. This caused 'Namespace not found' errors
when importing into a namespace that didn't exist yet in the embedder.

Related to #51
Author
Owner

Closing: all changes from this PR are already present in development branch (verified via git merge-base --is-ancestor). Work consolidated into a new PR covering build system alignment and remaining features.

Closing: all changes from this PR are already present in `development` branch (verified via `git merge-base --is-ancestor`). Work consolidated into a new PR covering build system alignment and remaining features.
mik-tf closed this pull request 2026-02-19 01:10:51 +00:00
All checks were successful
Test / test (pull_request) Successful in 3m42s
Test / integration (pull_request) Successful in 6m18s

Pull request closed

Sign in to join this conversation.
No reviewers
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!50
No description provided.