callumalpass_tasknotes/tests
Renato Mendonca 5f8cd47a88 Feat/Optionally hide identifying tags (Implements FR #937) (#956)
* 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)
2025-11-02 14:31:45 +11:00
..
__mocks__ fix: ICS calendar timezone conversion for non-IANA timezones (#781, #841) 2025-10-06 22:26:15 +11:00
components test: add comprehensive test coverage for hierarchical subgroup functionality 2025-09-18 10:15:08 +00:00
helpers fix: recurring tasks with overdue due dates disappearing from agenda (#810) 2025-10-06 21:15:19 +11:00
integration test: add comprehensive tests for custom field filtering feature 2025-11-02 14:31:44 +11:00
manual fix: all-day ICS events displaying on wrong day and appearing twice (#854, #695) 2025-10-07 07:20:48 +11:00
services test: add comprehensive test coverage for hierarchical subgroup functionality 2025-09-18 10:15:08 +00:00
types test: add comprehensive test coverage for hierarchical subgroup functionality 2025-09-18 10:15:08 +00:00
unit Feat/Optionally hide identifying tags (Implements FR #937) (#956) 2025-11-02 14:31:45 +11:00
utils test: add tests for non-string values in frontmatter tags 2025-09-30 18:02:59 +10:00
coverage-report.md test: add comprehensive tests for Issue #160 off-by-one date bugs 2025-07-11 23:06:37 +10:00
test-setup.ts feat: add saved views button position setting 2025-08-15 22:50:30 +10:00