aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2026-02-15feat(study): show state badge for all card statesnsfisis
Display Learning, Review, and Relearning badges in addition to New, using consistent color scheme from DeckCardsPage. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15style(study): move new card badge to top-left to avoid edit button overlapnsfisis
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15feat(ui): add version display in app footernsfisis
Inject package.json version via Vite's define config and display it in a persistent footer across all pages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15feat: bump version to v0.4.8v0.4.8nsfisis
2026-02-14feat(study): add edit button to study session cardsnsfisis
Allow editing note content directly from the study screen via a pen icon button or the E key shortcut. Keyboard shortcuts are disabled while the edit modal is open to prevent accidental card flips/ratings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14fix(study): flush pending review before navigating away from session completensfisis
Navigation links on the session complete screen were fire-and-forget, causing the last card's review to not be reflected on the deck list. Replace links with buttons that await the review flush and invalidate the deck query cache before navigating. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13style(home): vertically center deck info in deck list itemsnsfisis
Add my-auto to the deck info container for vertical centering within the flex row.
2026-02-13feat: bump version to v0.4.7v0.4.7nsfisis
2026-02-13feat(deck): add "Add Note" button to deck detail pagensfisis
Allow creating notes directly from the deck detail page without navigating through View Cards first. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13Merge pull request #15 from nsfisis/claude/remove-card-limit-10fVwnsfisis
Remove newCardsPerDay limit and simplify card study logic
2026-02-12feat: 学習カード数の上限を撤廃Claude
REVIEW_CARDS_LIMIT(復習カード80枚制限)とnewCardsPerDay(1日の新規カード制限) を削除し、期日が来たすべてのカードを制限なく返すように変更。 削除した主な要素: - REVIEW_CARDS_LIMIT定数とカード取得時のlimitパラメータ - newCardsPerDayフィールド(DB schema, 型定義, Zod schema, sync, CRDT) - countDueNewCards, countDueReviewCards, findDueNewCardsForStudy, findDueReviewCardsForStudy(CardRepository) - countTodayNewCardReviews(ReviewLogRepository) - デッキルートからのReviewLogRepository依存 https://claude.ai/code/session_018hrEJ9vg3RPoeAPyEc17gS
2026-02-09Merge pull request #14 from nsfisis/claude/create-claude-md-H1HAansfisis
Add CLAUDE.md developer documentation
2026-02-09Simplify Architecture section to reference docs/dev/architecture.mdClaude
https://claude.ai/code/session_013M6WrK2CDSC3JJLnnhio6e
2026-02-09Add CLAUDE.md with project conventions and quick referenceClaude
https://claude.ai/code/session_013M6WrK2CDSC3JJLnnhio6e
2026-02-08feat: bump version to v0.4.6v0.4.6nsfisis
2026-02-08refactor(study): remove legacy card fallback and commentsnsfisis
All cards now use note-based template rendering. The legacy front/back fallback path is no longer needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08Merge pull request #13 from nsfisis/claude/clarify-deck-numbers-mg3d4nsfisis
Simplify deck stats to show due card count from server
2026-02-08feat(study): use seeded PRNG for deterministic card shuffle ordernsfisis
Shuffle order is now fixed within a study day by seeding mulberry32 with the study day boundary timestamp (3:00 AM rollover). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08fix(deck): change review card limit to 80 and simplify deck detail statsClaude
Review card limit is reduced from 100 to 80 across deck list, deck detail, and study routes. Deck detail page now shows only total card count and due card count (with budget limits applied), matching the deck list and study screen numbers. https://claude.ai/code/session_01NAj4waQhwSSXV9EbgioX2j
2026-02-07feat: bump version to 0.4.5v0.4.5nsfisis
2026-02-05feat(study): display new card badge on study screennsfisis
Show a "New" badge in the top-right corner of cards when the card state is 0 (new), helping users identify cards they haven't seen before. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05feat(deck): display card counts by state on deck detail pagensfisis
Show separate counts for New, Learning, and Review cards instead of a single "Due Today" count. Uses FSRS CardState to categorize cards with color-coded display (blue/orange/green). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05feat(server): add purge mechanism for soft-deleted recordsnsfisis
Automatically removes soft-deleted records older than 90 days. Runs on server startup and every 24 hours thereafter. Respects foreign key dependencies when deleting. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05fix(decks): align due card count with study screen limitsnsfisis
The deck list was showing all due cards without applying the newCardsPerDay limit or review card limit (100), causing a mismatch with the actual number of cards available in the study screen. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05feat: bump version to 0.4.4v0.4.4nsfisis
2026-02-05feat(study): add undo support for card reviewsnsfisis
Defer API submission of reviews by storing them as pending. The previous pending review is flushed when the next card is rated, and on unmount via fire-and-forget. Undo discards the pending review and returns to the previous card without any API call. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05Merge pull request #12 from nsfisis/claude/fix-build-errors-Lqijlnsfisis
Include shared source directory in Docker builds
2026-02-04fix(docker): add missing src/shared directory to build contextsClaude
Both server and client code import from src/shared/date, but the Dockerfiles only copied their respective src/server or src/client directories, causing the build to fail with missing module errors. https://claude.ai/code/session_01FCGM9USwv6qmWQ7ACk9PEG
2026-02-04chore: bump version to v0.4.3v0.4.3nsfisis
2026-02-04refactor(db): remove unused findNewCards from localCardRepositorynsfisis
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04fix(study): use 3 AM boundary for counting today's new card reviewsnsfisis
countTodayNewCardReviews was using midnight (0:00) as the start of day, inconsistent with the 3 AM study day boundary used elsewhere. Reviews between 0:00-3:00 AM were incorrectly counted as the next day's budget. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04fix(study): apply 3 AM boundary to study API card queriesnsfisis
findDueNewCardsForStudy and findDueReviewCardsForStudy were still using lte(cards.due, now) while findDueCards and countDueCards had been updated to use the study day boundary in d4489f2. This caused inconsistency between the displayed due count and actual cards returned by the study API. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04chore(deps): update dependencies and pin JWT algorithmnsfisis
Update all dependencies to latest patch/minor versions. Explicitly specify HS256 algorithm in JWT verify to prevent algorithm confusion attacks. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04feat(deps): migrate atomFamily from jotai/utils to jotai-familynsfisis
Replace built-in jotai atomFamily with jotai-family package for better parameter-based atom family support. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04feat(study): enforce newCardsPerDay limit in study APInsfisis
Split due card fetching into new cards and review cards, applying the deck's newCardsPerDay limit to new cards while leaving review cards unrestricted. New cards are placed before review cards in the response. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04refactor(ui): remove card count from note group headernsfisis
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04refactor(ui): replace LoadingSpinner with skeleton fallbacks in Suspensensfisis
Reduce layout shift during data loading by using content-shaped skeleton placeholders instead of generic spinners in DeckDetailPage, DeckCardsPage, and StudyPage. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02Merge pull request #11 from nsfisis/claude/investigate-learning-schedule-plOdQnsfisis
Implement study day boundary at 3:00 AM for due card logic
2026-02-02fix(study): use date-based comparison with 3 AM boundary for due cardsClaude
Instead of comparing due timestamps exactly (card.due <= now), compare against the next 3 AM boundary so all cards due within the current study day appear at once. This prevents new cards from trickling in throughout the day when FSRS fuzz spreads due times. https://claude.ai/code/session_01FeDztLcyGofd6nxh8ct7a3
2026-02-01feat: bump version to 0.4.2v0.4.2nsfisis
2026-02-01fix(pwa): fix broken testsnsfisis
2026-02-01feat(pwa): add iconsnsfisis
2026-02-01feat(study): enable FSRS fuzz for due date variationnsfisis
Prevent cards with similar intervals from always appearing on the same day by enabling ts-fsrs built-in fuzz factor. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01feat(study): add Space key as Good rating shortcut when card is flippednsfisis
Allow continuous study flow by pressing Space repeatedly - first to flip the card, then to rate as Good (3). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01refactor(atoms): migrate to jotai-tanstack-query from custom reloadable atomsnsfisis
Replace custom createReloadableAtom/createReloadableAtomFamily with atomWithSuspenseQuery from jotai-tanstack-query, leveraging TanStack Query's built-in caching, invalidation, and Suspense support. - Add @tanstack/query-core and jotai-tanstack-query dependencies - Create shared QueryClient instance (src/client/queryClient.ts) - Migrate all data atoms (decks, cards, study, noteTypes) to atomWithSuspenseQuery - Update page components to use .data destructuring and queryClient.invalidateQueries() - Update all test files to use QueryClient for data hydration - Remove src/client/atoms/utils.ts (no longer needed) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31feat(cards): add search filtering to deck cards pagensfisis
Add a debounced (500ms) search input using use-debounce that filters note groups by matching card front/back content (case-insensitive). Pagination resets to page 1 when the search query changes. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31feat(cards): add pagination to deck cards page (50 cards per page)nsfisis
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26feat: bump version to 0.4.1v0.4.1nsfisis
2026-01-20Merge pull request #10 from nsfisis/claude/separate-deck-learning-view-jb2rVnsfisis
Separate deck detail and card learning pages
2026-01-20feat(deck): separate card list from deck detail pageClaude
Separate the card list view from the deck learning page to prevent users from seeing cards they are about to study. The deck detail page now shows only study statistics with a "Study Now" button and a "View Cards" link. - Add new DeckCardsPage component at /decks/:deckId/cards for managing cards - Simplify DeckDetailPage to show deck stats and navigation buttons - Update routing in App.tsx with proper route ordering - Add comprehensive tests for both pages