Skip to content

Conversation

@normenmueller
Copy link
Contributor

fix-task-prop-based-ident

Property-based task identification preserves tags

This change prevents property-based identification from mutating tags automatically. Tags are only written when the user explicitly sets them (including default tags), while the identifying property is still applied.

Examples (illustrative):

  • Creating a task with property identification and tags like client, urgent keeps those tags; no extra task tag is injected.
  • Updating priority/status without touching tags leaves existing tags unchanged.

Changelog

Task Identification

Cf. PR.md

@callumalpass
Copy link
Owner

Thank you @normenmueller . This is a good fix! Merging.

callumalpass added a commit that referenced this pull request Jan 6, 2026
…fication (#1391)

Property-based task identification no longer mutates tags. Tags are only written
when explicitly set by the user, and the task tag is only added in tag-based mode.

- Only add identifying task tag when using tag-based identification
- Preserve user tags without filtering in property mode
- Only write frontmatter.tags when tags are explicitly changed
- Edit modal shows all tags in property mode, tracks changes correctly

Fixes #1391. Many thanks to @normenmueller for the contribution
@normenmueller normenmueller deleted the fix/task-prop-based-ident branch January 6, 2026 14:23
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.

[Bug]: Task identification by property does not identify the tasks correctly

2 participants