mirror of
https://github.com/dergigi/boris.git
synced 2025-12-24 01:54:19 +01:00
The HighlightsPanel was filtering out ALL highlights that didn't have a urlReference. But Nostr article highlights reference the article via the 'a' tag (article coordinate), not a URL. Since we already fetch highlights specifically for the current article using fetchHighlightsForArticle(), we don't need to filter them again. Solution: - Skip URL filtering when selectedUrl starts with 'nostr:' - Keep URL filtering for web articles (backwards compatible) - Highlights are already pre-filtered by the fetch query This fixes the issue where 101 highlights existed for the default article but weren't being displayed in the UI.