diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-25 10:25:44 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-25 10:25:44 +0200 |
| commit | 950f4aa6d107e127fb6dc0579beedbff0e6f1af5 (patch) | |
| tree | 9891a96220afac04ea06a650aa2f75a951385b94 /packages/meshbay-hub/src/meshbay_hub/static/photos-app.js | |
| parent | f1ed3e6be452f6211cee8db1afef8b56473a04db (diff) | |
| download | meshbay-950f4aa6d107e127fb6dc0579beedbff0e6f1af5.tar.gz | |
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 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/photos-app.js')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/photos-app.js | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |