fix: show all relationships for topics in note list
Topics used a separate 'topic' selection kind that only showed reverse relatedTo matches. Now topics use 'entity' kind like all other types, going through buildRelationshipGroups to show all frontmatter relationships, children, events, referenced-by, and backlinks. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -327,9 +327,6 @@ function filterByKind(entries: VaultEntry[], selection: SidebarSelection, subFil
|
||||
const typeEntries = entries.filter((e) => e.isA === selection.type)
|
||||
return subFilter ? applySubFilter(typeEntries, subFilter) : typeEntries.filter(isActive)
|
||||
}
|
||||
if (selection.kind === 'topic') {
|
||||
return entries.filter((e) => refsMatch(e.relatedTo, selection.entry) && isActive(e))
|
||||
}
|
||||
return filterByFilterType(entries, selection.filter)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user