From 83e11192f0a640a2f58ed39ec3cf03345d173033 Mon Sep 17 00:00:00 2001 From: limina1 Date: Sun, 24 Aug 2025 09:40:40 -0400 Subject: [PATCH] fix tag ID consistency and auto-disable for all tag types - Use tag.value consistently instead of reconstructing tag.type-tag.label - Fix auto-disable to work for ALL tag types (hashtags, authors, event refs, titles, summaries) - Each tag type now maintains separate initialization state --- src/lib/navigator/EventNetwork/Legend.svelte | 7 +++---- src/lib/navigator/EventNetwork/index.svelte | 14 +++++++------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/lib/navigator/EventNetwork/Legend.svelte b/src/lib/navigator/EventNetwork/Legend.svelte index 8dd5bb7..e955b90 100644 --- a/src/lib/navigator/EventNetwork/Legend.svelte +++ b/src/lib/navigator/EventNetwork/Legend.svelte @@ -344,12 +344,11 @@
{#each sortedAnchors as tag} - {@const tagId = `${tag.type}-${tag.label}`} - {@const isDisabled = disabledTags.has(tagId)} + {@const isDisabled = disabledTags.has(tag.value)}