fix: add newline when appending tasks#1102
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughThe changes add a test suite for CaptureChoiceFormatter's newline handling and refine the prepend logic to intelligently calculate newline separation based on file state and content characteristics, fixing improper task concatenation when appending new tasks. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying quickadd with
|
| Latest commit: |
5338e9a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6f52231c.quickadd.pages.dev |
| Branch Preview URL: | https://codex-fix-issue-124-with-tes.quickadd.pages.dev |
# [2.11.0](2.10.0...2.11.0) (2026-02-08) ### Bug Fixes * add newline when appending tasks ([#1102](#1102)) ([a4b4e4a](a4b4e4a)) * clarify split direction labels to match actual behavior ([#1089](#1089)) ([ea97045](ea97045)), closes [#1081](#1081) * correct end-of-section line detection ([#1096](#1096)) ([0eeedb3](0eeedb3)), closes [#593](#593) * **docs:** explain how to add user scripts to macros ([c6e2448](c6e2448)) * encode spaces in advanced uri docs ([0c24cd0](0c24cd0)) * handle alias frontmatter case and commas ([cc6aec6](cc6aec6)) * improve capture target resolution ([1bd7520](1bd7520)) * improve choice rename UX ([bccc331](bccc331)), closes [#683](#683) * **settings:** hide .md extension in settings suggesters ([#1104](#1104)) ([2e6056e](2e6056e)), closes [#102](#102) ### Features * **format:** add case transforms for VALUE/NAME ([#1103](#1103)) ([1a962c2](1a962c2)), closes [#90](#90)
|
🎉 This PR is included in version 2.11.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Fixes #124.
This addresses a missing newline when appending a task capture to the bottom of a note that does not end with a trailing newline.
Repro
- [ ] Old task- [ ] New task(same line)Changes
Verification
bun run testbun run build-with-lintSummary by CodeRabbit
Bug Fixes
Tests