From af43cdc6e0f21332657f267c93df8a50aa1d775e Mon Sep 17 00:00:00 2001 From: serrebi Date: Thu, 18 Jun 2026 21:03:04 -0700 Subject: [PATCH] Fix iPhone history lag: cap web client history buffers and coalesce renders On iPhone, tapping a choice grew to 10-20s of lag after a session ran a while (desktop unaffected). Root cause is the web client's history system: - store.addHistory() pushed to buffers with no cap, and every non-"all" line is also mirrored into the default-visible "all" buffer, so buffers grew with the entire session. - history.js render() runs on every notify() and rebuilds the whole