From b2763451490c4b49c73b0a006798759b4842519f Mon Sep 17 00:00:00 2001 From: Timothy Cardoza Date: Fri, 13 Mar 2026 11:35:57 -0500 Subject: [PATCH] removed lnking tasks to note tabs --- src/components/TagPicker.tsx | 4 +++- src/lib/mention-suggestion.tsx | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/TagPicker.tsx b/src/components/TagPicker.tsx index b7d7ad6..5e0139b 100644 --- a/src/components/TagPicker.tsx +++ b/src/components/TagPicker.tsx @@ -25,7 +25,9 @@ export const TagPicker: Component = (props) => { const allTagNames = () => { const definedTags = store.tagDefinitions.filter(d => !d.name.endsWith("_favorite__")).map(d => d.name); const bucketTags = store.buckets.map(b => `@${b.name}`); - const noteTags = store.notes.map(n => `#${n.title}`); + const noteTags = store.notes + .filter(n => !(n.tags || []).some(t => t.startsWith("child-of-"))) + .map(n => `#${n.title}`); return [...new Set([...definedTags, ...bucketTags, ...noteTags])].sort(); }; diff --git a/src/lib/mention-suggestion.tsx b/src/lib/mention-suggestion.tsx index 7858b10..bea5272 100644 --- a/src/lib/mention-suggestion.tsx +++ b/src/lib/mention-suggestion.tsx @@ -89,6 +89,7 @@ export const noteSuggestion = { char: '#', items: ({ query }: { query: string }) => { return store.notes + .filter(note => !(note.tags || []).some(t => t.startsWith("child-of-"))) .filter(note => note.title.toLowerCase().includes(query.toLowerCase())) .map(note => ({ id: note.id,