Commit Graph

4 Commits

Author SHA1 Message Date
speckofthecosmos
afc8208bf5 [mobileWallLayout] Add play-on-visibility and ordered loading (#704)
* [mobileWallLayout] Add play-on-visibility and ordered loading

Adds two mobile-first behaviors to the existing layout plugin and
rebrands the display name to "scrollFeed":

- IntersectionObserver gates <video> play/pause on 10% visibility.
  Caps concurrent playbacks to ~3, well under iOS Safari's
  ~20-simultaneous-<video> ceiling that the unchanged Stash wall
  hits on a 20-card page.

- A DOM-ordered load queue cancels the parallel-fetch storm Stash
  kicks off when all wall cards mount at once. Top clips get
  uncontested bandwidth first, and a 500ms timeout advance ensures
  the full page is in-flight within ~5s so degrading reception
  doesn't strand the bottom of the page with zero bytes.

The plugin's internal id stays mobileWallLayout so existing
installs upgrade cleanly. The whole file is wrapped in an IIFE
to avoid top-level name collisions with other plugins loaded
into the same document.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Restore discourse thread URL in plugin YAML and README

The scrollFeed rebrand inadvertently repointed the YAML url: field to a
GitHub tree URL and dropped the discourse link from the top of the README.
Every other plugin in this repo uses the discourse thread as its url: value
(it's what the Stash plugins panel surfaces as the plugin's support
link), so restoring the original discourse URL here keeps the convention
and keeps existing users linked to the plugin's discussion thread.

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 11:13:28 +03:00
speckofthecosmos
eb219df5a3 [mobileWallLayout] Fix layout applying to narrow desktop windows (#692)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 17:24:53 +03:00
DogmaDragon
4f5c3e38c9 Add forum link 2026-03-16 00:25:29 +02:00
speckofthecosmos
f64c2b7fee Add mobileWallLayout plugin (#680)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 23:54:26 +02:00