9c119397

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Show current media position on the detail page (#46)

Add an X of Y counter above the media viewer on /m/{id} and keep it
centered between the previous and next arrows.

This makes the current item position visible while reusing the same
sorted timeline order that drives adjacent navigation. The change also
adds an end-to-end test that covers the first, middle, and last items.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/46
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 33s 33s 35s
Build 4s 37s 37s 41s
Test - - - -
Deploy - - - -
Suite 0s 1m12s 41s 41s

Timeline

0s10s20s30s40s