From 086791f4f9ef4cabdcfd8724924fbe12ba95592b Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Sat, 15 Aug 2026 14:59:41 +0200 Subject: [PATCH] web_ui: document distinct-value stepping Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01U4Rj3s7K2qzrLNgJqqPhno --- web_ui/README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/web_ui/README.md b/web_ui/README.md index 03b31f3..798a482 100644 --- a/web_ui/README.md +++ b/web_ui/README.md @@ -77,14 +77,20 @@ arrow keys is an ARIA role that lies — so the shared version adds: | Key | Effect | | --- | --- | -| `←` `↓` / `→` `↑` | Step one sample through the distribution | -| `PageDown` / `PageUp` | Step ten samples | +| `←` `↓` / `→` `↑` | Step to the next **distinct** value | +| `PageDown` / `PageUp` | Step ten distinct values | | `Home` / `End` | Jump to the distribution's bounds | Pass `label` **and** `format` to get the built-in head (name + value readout); omit them for a bare track when the caller draws its own chrome, as dufs-cloud's `SizeRange`/`DurationRange` wrappers do. +Stepping targets the next *distinct* value, not the next index. Real +distributions are lumpy — ~1500 of awesome-mcp-explorer's ~2981 star counts are +`0` — and an index step inside a run of equal values moves the index while +leaving the value, the thumb and the filter untouched. That reads as a dead +arrow key, and jsdom's evenly-spaced fixtures do not catch it. + ## Development ```bash