mirror of
https://github.com/dergigi/boris.git
synced 2026-01-05 16:04:36 +01:00
- Add fetchHighlightsForArticle() to query highlights by article coordinate - Use #a tag filter to find highlights that reference the article - Query well-known relays for highlights even without authentication - Extract article's d-tag and construct coordinate (kind:pubkey:identifier) - Keep original fetchHighlights() for fetching user's own highlights - Add detailed logging for debugging highlight fetching This fixes the issue where no highlights were shown because we were querying for highlights created BY the article author rather than highlights created ABOUT the article.
16 lines
471 B
HTML
16 lines
471 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Boris - Nostr Bookmarks</title>
|
|
<script type="module" crossorigin src="/assets/index-NM0sx0l9.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/assets/index-Dljx1pJR.css">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|
|
|