fix(mobile): auto-follow newly sent particles in stream view #226

Merged
talksik merged 1 commits from claude/gracious-brown-0f98m into main 2026-05-30 18:09:44 +00:00

1 Commits

Author SHA1 Message Date
Claude 03412ed5d2 mobile: follow a just-sent particle when at the end of a stream
When the local user sends a particle while positioned on the last one in a
stream, advance playback to the newly created particle so they stay caught up
and the stream isn't left in an unseen state. If they're browsing earlier
particles, their position is left untouched.

The mobile reducer only auto-advanced on PARTICLE_ADDED when status was
already "ended", so sending while sitting on (but not finished with) the last
particle left it unseen. This threads an onParticleCreated callback from
ComposeDock's default send paths up to StreamView, which follows the particle
via goToParticle only when currentIndex is the last slot — mirroring desktop's
StreamView.handleParticleCreated.
2026-05-30 17:27:35 +00:00