docs: record the phone-report fixes, follow-ups and the bundled-font API

RUST.md's P0 box gets Iris's first real-phone report (no crash) and the
four defects it found (glyph-wipe-on-first-touch, missing bold glyphs,
text far too small, status-bar inset not applied), what was fixed and
how it was verified on the emulator, and what's still open (item 1's
root cause, and the top-row height anomaly noted in the last commit).

IRIS_TODO.md gets a new "From the phone, 2026-09-06" section for the two
items explicitly deferred to a follow-up agent: no scroll momentum/fling,
and occasional jitter scrolling down.

IRIS.md gets the public-API entry for TextData's bundled fonts/
font_diagnostics, UiRenderNode::new/resize's new window_size parameter,
AndroidUiState::content_scale, AndroidAppState::on_insets_changed, and
iris_core::WgpuErrorLog.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
irisandClaude Fable 5.1 committed 2026-09-05 23:59:40 -04:00
1 parent fd7e17523d
commit 560a74caf8
3 files changed
+184

No files matched your search

+22
View File
@@ -117,6 +117,28 @@ order and what "done" looks like. Tick and date them in place.
screen wants the same thing (P1's own transcript rows already read
their content from a `TextEdit` for the same reason).
## From the phone, 2026-09-06
Found on Iris's own phone while working RUST.md's P0 box's phone-report
follow-ups. Recorded here rather than fixed in that pass, so a follow-up
agent takes them without colliding with that pass's `bench_client.rs`/
`android/view.rs`/`android/sense.rs` changes.
- [ ] **Swiping has no momentum.** iris's `List` pans exactly as far as the
finger moves and stops dead on release -- unlike Compose, which flings
and decelerates. Needs velocity tracking over the last several move
samples and an Android-style decelerating fling, cancelled by the next
touch-down, redrawing every frame until it settles. `BenchRun.kt`'s own
fling phase (RUST.md's "Benchmark v2" box) is the reference shape:
"travel way faster... which is better for stress testing."
- [ ] **Scrolling down sometimes jitters the text.** Two named suspects,
neither confirmed: `DragArbiter`'s slop being released as one jump
(`iris/src/sense.rs`), or a per-frame pan delta applied a frame late.
Measure by tracing the list's scroll offset per frame against a
monotonic synthetic drag, the same way `iris/android-app/trace-draw.sh`-
style instrumentation traced the touch-scroll dropout in RUST.md's I5
box -- not by eyeballing a screenshot.
## Build
- [x] **Benchmarks**, not unit tests, run on demand (2026-09-05; a