From 950f4aa6d107e127fb6dc0579beedbff0e6f1af5 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Fri, 25 Sep 2026 10:25:44 +0200 Subject: refactor(client): move the connection pool and the media tiles to modules ConnectionPool (with connectToGroup and its limits) leaves search-page.js for connection-pool.js, and LazyTile/MediaThumb leave video-app.js for media-tiles.js, cut as text. The shell and the Music and Photos apps now reach them without importing the search page or the Videos app. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-hub/src/meshbay_hub/static/photos-app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/meshbay-hub/src/meshbay_hub/static/photos-app.js') diff --git a/packages/meshbay-hub/src/meshbay_hub/static/photos-app.js b/packages/meshbay-hub/src/meshbay_hub/static/photos-app.js index 261f2af..73b8c15 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/photos-app.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/photos-app.js @@ -7,7 +7,7 @@ import { formatSize, CHUNK_SIZE, pipelinedDownload, downloadDirectory, } from './file-utils.js'; import { transfers } from './transfers.js'; -import { MediaThumb, LazyTile } from './video-app.js'; +import { MediaThumb, LazyTile } from './media-tiles.js'; import { SourceTag } from './group-name.js'; // ── Photos ─────────────────────────────────────────────────────────────────── @@ -129,7 +129,7 @@ function PhotoTile({ entry, transportRef, gekRef, onOpen }) { // ── lightbox: full image, next/previous, per-photo info, zoom ────────────── // -// Cached per session by file id, same shape as video-app.js's +// Cached per session by file id, same shape as media-tiles.js's // _thumbBlobCache — clicking back and forth between two photos decrypts // each once, not once per visit. const _fullBlobCache = new Map(); -- cgit v1.2.3