Review / Cram mode#14
Merged
Merged
Conversation
added 9 commits
June 4, 2026 23:29
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
Adds a read-only Review / Cram mode — browse a deck's or folder's cards in a horizontal flip-card carousel, with no rating and no FSRS scheduling. Mirrors the iOS
ReviewManager/ReviewView. This is the "study anytime" mode earmarked when we built the deck-detail "You're all caught up!" state.StudyQueueBuilder.buildReviewQueuenow also excludesmemorizedcards (parity: a card memorized on iOS stays out of Android review too).buildStudyQueueis untouched — the FSRS study path is unaffected.ReviewViewModelsnapshots the pool once (read-only): deck → its ownreviewFilter+shuffled; folder → all directions across the folder's decks, always shuffled; both exclude memorized/deleted. Logscram_session_start(named distinctly from the FSRS study session'sreview_session_startto avoid an analytics collision).ReviewScreen= aHorizontalPagerof the existingFlipCard: swipe between cards, tap to flip (resets per page viaremember(currentPage)+key(card.id)), "{i} of {n}" + Quit, tap-to-flip hint, empty/loading states.review/{deckId},reviewFolder/{folderId}).Out of scope (v1): rating/FSRS effects, a "mark memorized" toggle (no Android UI — synced field only), audio autoplay, an end-of-deck summary, deck-list ⋮ entry, global "review everything", per-folder filter/shuffle.
Test plan
StudyQueueBuilderTest—buildReviewQueueexcludes memorized + deleted; direction filters; shuffle determinism.ReviewViewModelTest(3) — deck applies its filter + excludes memorized/deleted; folder aggregates across only that folder's decks (both directions); empty deck → empty pool.:app:assembleDebugBUILD SUCCESSFUL;ReviewScreencompile-verified + previews.🤖 Generated with Claude Code