Skip to content

feat: Add Open button to spaced repetition widget for editing source files#403

Merged
rjroy merged 1 commit intomainfrom
feat/open-card
Jan 24, 2026
Merged

feat: Add Open button to spaced repetition widget for editing source files#403
rjroy merged 1 commit intomainfrom
feat/open-card

Conversation

@rjroy
Copy link
Copy Markdown
Owner

@rjroy rjroy commented Jan 24, 2026

Summary

  • Adds an "Open" button to the spaced repetition widget that appears when viewing a card's answer
  • Clicking the button navigates to the source file in the Recall tab, allowing users to edit incorrect answers
  • Button only appears when the card has a source_file property

Test plan

  • Review a card that has a source file
  • Verify "Open" button appears in the answer section next to the source path
  • Click "Open" and verify navigation to the Recall tab with the correct file selected
  • Review a card without a source file and verify the "Open" button does not appear

🤖 Generated with Claude Code

…files

When reviewing a card with an incorrect answer, users can now click "Open"
to navigate directly to the source file in the Recall tab for editing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 24, 2026

Codecov Report

❌ Patch coverage is 81.25000% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...end/src/components/home/SpacedRepetitionWidget.tsx 81.25% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@rjroy rjroy merged commit 776f632 into main Jan 24, 2026
2 checks passed
@rjroy rjroy deleted the feat/open-card branch January 24, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant