Repository navigation
fix: ignore literal due dates inside tag arguments - #304
Merged
Merged
Conversation
5.4.0 is already released, so the fix belongs in a new unreleased patch section instead of the shipped release notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Due sidebar now ignores @Due(...) inside another tag's argument, but Todo files still colored those examples as overdue, today, or soon. Color only outer due tags, as Markdown notes already do, so the editor and the sidebar agree. Due examples in inline code are skipped the same way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # CHANGELOG.md
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
@due(...)example inside another tag argument no longer creates a false due task or overrides a real due tag.@due(...)tags in Todo files, so the editor no longer shows an example inside another tag (or inside inline code) as overdue, today, or soon while the sidebar ignores it. Markdown notes already worked this way.Verification
npm run typecheck— passed.npm test— passed (983 tests).npm run compile— passed.npm run format:check— passed.git diff --check— passed.Risk
Review follow-up
Document.getTagsDue); the incremental decorator uses the same method. A new test fails without it.pnpm run typecheck,pnpm test(984 passing),pnpm run compile, andpnpm run format:checkall pass.@bug(note @due(2026-07-04), the due tag counts as part of the argument, matching tag groups and planned windows.This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.
🤖 Generated with Claude Code