mirror of
https://github.com/stablyai/orca.git
synced 2026-11-18 03:45:08 +00:00
* feat(native-chat): add a setting to keep the scroll position when sending Own sends from a pane bring the latest into view and follow the reply. A new Chat > Behavior setting, "Scroll to latest when sending" (on by default), turns that off: a reader who scrolled up stays in place, one at the end keeps following the reply, and Jump to latest still works. The gate sits in the one reveal every send path reports to, so the explicit Jump to latest button and find navigation are unaffected. Fixes #38153 * fix(native-chat): keep following a reader at the end when reveal on send is off A reader can sit at the end without following (a rail jump that clamps at the end, a short nudge up). The setting's gate skipped their reveal, so the sent message and its reply grew below the viewport. The list now decides: off skips only readers who stopped away from the end, judged by where they last scrolled so the send's own echo doesn't count. * refactor(native-chat): read the scroll-on-send setting through one helper Also drops the redundant 'scroll' search keyword (the title already matches) and the settings switch call-shape test. * fix(native-chat): decide the send reveal from where the reader was at the press The last-scroll distance stayed small after output grew past a reader who had nudged up, so a later send still jumped them with the setting off. The list now reads live geometry, and a structured message, which reveals only once the host admits it, captures that answer at the press, before its own echo moves the end. * fix(native-chat): read the reader before Resume waits for the host Resume reveals only after the host lifts the pause, by which time the drain may already have added rows below the reader. --------- Co-authored-by: Kelvin Amoaba <97001695+AmoabaKelvin@users.noreply.github.com>