1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2026-06-04 05:20:35 +00:00
Files
brain-quartz/quartz/plugins
Anson ee80f65736 feat: hide category pills when category is already wiki-linked in content
Reduce visual clutter by only showing category pills for categories that
aren't already mentioned as wiki links in the note's content.

Implementation:
- Store outgoing links separately in links.ts before adding categories
- Added outgoingLinks to vfile DataMap type
- Modified CategoryList to filter out categories already in outgoingLinks
- Only category pills for unlinked categories are now displayed

Example:
If a note has categories: [[LLM]], [[Anthropic]], [[AI]] and the content
mentions [[LLM]] and [[Anthropic]], only the AI category pill will appear.

This follows Wikipedia's principle of avoiding redundant links and reduces
visual clutter while maintaining backlinks and graph connections.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-10 11:02:27 -05:00
..