Smooth mobile chat swaps and measure the actual peek viewport

This commit is contained in:
2026-11-07 02:47:34 +00:00
parent b33970182c
commit 7b5a0e0310
11 changed files with 409 additions and 458 deletions
+7
View File
@@ -157,3 +157,10 @@ The tree has an assets subfolder, a hidden folder, PNG/JPEG miniatures, text,
JSON, CSV, PDF, archive, log and video entries. Image/text/table/archive files
have bundled bytes; PDF and video entries demonstrate type labels and menus
only. Use the real server for their external handlers and playback acceptance.
For mobile peek regression captures, `chatPaneScrollMetrics()` returns every
retained transcript's `{id,pixels,min,max,viewport,top,height}` as a JSON array.
Open a chat, use Add chat pane, then pick the other fixture chat. A wheel/swipe
over the inactive pane must change its own offset without activating it;
at its bottom `pixels` reaches `max` and its `viewport` equals the small
visible height. Use `film=key:chat-peek-<pane-id>` to record the swap.