aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/search-page.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/search-page.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/search-page.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/search-page.js b/packages/meshbay-hub/src/meshbay_hub/static/search-page.js
index 26d4e4c..a096414 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/search-page.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/search-page.js
@@ -207,7 +207,7 @@ async function fetchGroupIndex(groupId, token, bundleKey, username, userId) {
};
// Which of the reader's groups sit on their own node — the tie-breaker
// when the same file is announced by several of them
- // (docs/refactoring-search.md §5.3). Computed by the node from its own
+ // (docs/MESHBAY_DESIGN.md §9.11). Computed by the node from its own
// record of who it belongs to (webrtc_server.py's _is_node_admin), never
// from a hub claim, and deliberately not written to the index cache: it
// describes this connection, not the group's content.
@@ -349,7 +349,7 @@ function cachedDirs(roots, appKey, legacyKey) {
// different people invited to different libraries — arrived here as two
// entries per file, so a film showed as two poster cards and every episode
// twice inside a show. `source-merge.js` folds them on the content hash and
-// resolves one source per *unit*. See docs/refactoring-search.md.
+// resolves one source per *unit*. See docs/MESHBAY_DESIGN.md §9.11.
//
// The units come from video-app.js's own `groupVideoEntries`, never from a
// second copy of its keys here: a copy would keep agreeing with the original
@@ -465,7 +465,7 @@ function SearchPage({ token, username, userId, groups, onPlayQueue, userPrefs })
// A group whose connection failed stops being chosen as a merged entry's
// source, so a unit fails over to another group that has the file
- // (docs/refactoring-search.md §5.4). Without this the merge could make a
+ // (docs/MESHBAY_DESIGN.md §9.11). Without this the merge could make a
// file *less* available than it was before it, which would be a regression
// dressed as a feature.
//
@@ -609,7 +609,7 @@ function SearchPage({ token, username, userId, groups, onPlayQueue, userPrefs })
}, [indexedGroups]);
// How a unit's source is chosen, shared by every merged view
- // (docs/refactoring-search.md §5.3). `isLocal` reads the flag the node itself
+ // (docs/MESHBAY_DESIGN.md §9.11). `isLocal` reads the flag the node itself
// put in the handshake ack — computed from its own record of who it belongs
// to (webrtc_server.py's `_is_node_admin`), never from a hub claim.
const mergeOpts = useMemo(() => ({