Repository navigation
feat(desktop): live ingest progress on library shelf + demo book - #2
Draft
cursor[bot] wants to merge 3 commits into
Draft
cursor[bot] wants to merge 3 commits into
cursor[bot] wants to merge 3 commits into
Conversation
- Subscribe to GET /api/books/events for real-time Phase A updates - Show upload errors, progress bars, and block opening non-ready books - Add IngestProgressView guard in the reading room - Add Little Red Riding Hood public-domain demo book + seed --all Co-authored-by: Rishabh Bansal <rishabhcli@users.noreply.github.com>
- Show a dismissible banner when a user clicks a failed-import book - Add book count hint and upload format guidance on the shelf - Improve demo login error message with seed-demo instructions - Add backend/scripts/user_walkthrough.py for manual QA Co-authored-by: Rishabh Bansal <rishabhcli@users.noreply.github.com>
Co-authored-by: Rishabh Bansal <rishabhcli@users.noreply.github.com>
rishabhcli
added a commit
that referenced
this pull request
Jun 26, 2026
…eral path DoD #2 names coordination/artifacts/agent-11/ (template typo — agent-11 is Login). Canonical set stays in agent-09/; mirrored here so the requirement holds literally. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
rishabhcli
added a commit
that referenced
this pull request
Jun 26, 2026
…ng→settings Drove the built renderer (vite dev :5173) headless; ZERO console/page errors across the whole integrated flow. Screens: login (A11+BookWall), library (A5 public-domain shelf + A4 nav + A9 icons + A8), reading room (A10 shell + A2 real ScrollFilmEngine + A6 ReadingControls incl. read-aloud — producer swap visible + A8), profile menu (A9/A4), SettingsPage (A9). Offline demo mode (backend optional); KINORA_LIVE_VIDEO off (fallback films). WALKTHROUGH.md documents screens + honest caveats. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Improves the core library → ingest → open funnel, adds a second public-domain demo book, and addresses issues found during a full user walkthrough.
Primary UX improvement: live ingest progress on the shelf
GET /api/books/eventsfor real-time Phase A ingest updatesIngestProgressViewin the reading room when a book is still importing/failed@kinora/core:parseIngestProgress,applyIngestProgress,uploadBookNew open-source book
assets/books/build_red_riding_hood.pyassets/books/little_red_riding_hood.pdfmake demo-pdfnow builds both demo booksmake seed-demo SEED_ARGS="--all"seeds Frog-King + Red Riding HoodSecond improvement (from user testing)
seed-demohas not been runbackend/scripts/user_walkthrough.pyfor manual API QAVerification
Manual walkthrough performed against local API + Vite renderer with e2e seed data.
Summary by cubic
Live ingest progress is now shown on the desktop shelf with real-time updates, and the reader blocks early opens with a friendly progress screen. Adds a second public-domain demo book and improves upload and demo-login feedback.
GET /api/books/events(SSE) with a polling fallback;@kinora/corehelpers (parseIngestProgress,applyIngestProgress,useLibraryEvents) keep the shelf cache fresh, with tests added.IngestProgressViewwith stage and percent.@kinora/coreuploadBookfor typed errors and clearer messages; inline error banner on failure; newly uploaded books get a temporary highlight; shelf shows book count and adds PDF/EPUB guidance.make demo-pdfbuilds both demos;make seed-demo SEED_ARGS="--all"seeds Frog-King + Red Riding Hood; improved demo-login error with seeding steps; addedbackend/scripts/user_walkthrough.pyfor manual API QA.Written for commit 4ac44e0. Summary will update on new commits.