Swipes and a reader that will not scroll are reported (#384)
A swipe that only bounces sends no request and throws nothing, so #383's stop at the 50th item left nothing in the log or the traces, and the reader that would not scroll in the same report was never found. The page now reports each swipe in the reader (next, prev, list, end, short; a tap is not one) with where the reader stood, under the tap's trace, and scroll_stuck when a drag up or down with room to move the reader left it where it was. That one is watched by where the finger was, not by what it landed on, so a layer lying over the reader is caught, and its state names what is under the finger, what is inert, the dialog, the reader's transform, a #dpeek left behind, and how long since the app came back. ipx logs swipe as info and scroll_stuck as a warning, in a new free-text state field, and the dashboard counts both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -198,6 +198,14 @@ ts("A click to the list shown", [loki(f'quantile_over_time(0.95, {LIST} | unwrap
|
||||
table("Slowest lists by view", [loki(f'topk(10, max_over_time({LIST} | unwrap ms [$__range]) by (feed, filter))', instant=True)],
|
||||
12, rename={"feed": "View", "filter": "Filter", "Value": "Slowest (ms)"}, sort=[{"displayName": "Slowest (ms)", "desc": True}])
|
||||
y += 8
|
||||
# Swipes in the reader and what came of them, and a reader that would not scroll (#384).
|
||||
SWIPE = SEL + ' |= "\\"ev\\":\\"swipe\\"" | json | __error__=""'
|
||||
STUCK = SEL + ' |= "\\"ev\\":\\"scroll_stuck\\"" | json | __error__=""'
|
||||
ts("Swipes in the reader", [loki(f'sum by (msg) (count_over_time({SWIPE} [$__interval]))', legend="{{msg}}"),
|
||||
loki(f'sum(count_over_time({STUCK} [$__interval]))', ref="B", legend="would not scroll")],
|
||||
0, w=24, bars=True, stack=True,
|
||||
desc="next, prev and list turned the item; end bounced off the last one loaded; short was too short or slow to count. Would not scroll is a drag with room to move the reader that left it where it was: its line in the log says what lay over it.")
|
||||
y += 8
|
||||
|
||||
# ---- ipx: the API it answers behind ipx-web
|
||||
row("ipx: API")
|
||||
|
||||
Reference in New Issue
Block a user