Skip to content

Add notes store, config, tests, and CI workflow - #174

Open
AnnaRyndina wants to merge 7 commits into
mate-academy:mainfrom
AnnaRyndina:review-me
Open

Add notes store, config, tests, and CI workflow#174
AnnaRyndina wants to merge 7 commits into
mate-academy:mainfrom
AnnaRyndina:review-me

Conversation

@AnnaRyndina

Copy link
Copy Markdown

Summary

  • Add lib/store.js with note storage logic and lib/config.js for configuration
  • Update notes.js to integrate the new store module
  • Add tests/notes.test.js covering notes functionality
  • Add .github/workflows/ci.yml to run tests in CI
  • Add .gitignore

Test plan

  • Run test suite locally (e.g. npm test)
  • Verify CI workflow runs successfully on this PR

🤖 Generated with Claude Code

@AnnaRyndina

Copy link
Copy Markdown
Author

Code review caught a bug: the new edit command can crash on a missing note id and silently wipes a note's text when no replacement is given.

Resolve add/add conflict in lib/store.js by keeping the review-me
branch's edit() function and its export.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A9oBDPwwBpdEAWiNVKNPEg
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.

2 participants