mirror of
https://github.com/callumalpass/tasknotes.git
synced 2026-07-22 12:50:26 +00:00
* feat: add option to hide identifying tags in task cards Add a new setting "Hide identification tags in task cards" that allows users to hide tags matching the task identification tag (including hierarchical matches) from task card displays. Key features: - Setting only visible when using tag-based identification method - Filters exact matches and hierarchical children (e.g., task/project) - Backward compatible (default: false, shows all tags) - Comprehensive test coverage (14 test cases) Implementation: - Added hideIdentifyingTagsInCards boolean to settings - Conditional UI toggle in settings tab - Tag filtering logic in TaskCard.ts using FilterUtils - i18n translations for new setting Files modified: - src/types/settings.ts - src/settings/defaults.ts - src/settings/tabs/generalTab.ts - src/i18n/resources/en.ts - src/ui/TaskCard.ts - tests/unit/ui/TaskCard.hideIdentifyingTags.test.ts (new) * docs: add documentation for hide identifying tags feature Add comprehensive documentation for the 'Hide identification tags in task cards' setting in the General Settings page. Documentation includes: - Detailed explanation of when the setting is available (tag-based identification only) - How hierarchical tag matching works (exact matches and children) - Visual demo with animated GIF - Practical before/after example - Clarification that tags remain in frontmatter (only visual display is affected) Files added: - docs/assets/demo-hide-identification-tags.gif (visual demo) Files modified: - docs/settings/general.md (expanded Task Identification section) |
||
|---|---|---|
| .. | ||
| editor | ||
| issues | ||
| locales | ||
| modals | ||
| services | ||
| settings | ||
| suggest | ||
| timezone-bugs | ||
| ui | ||
| utils | ||
| tagRenderer.test.ts | ||