mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
* fix(chat): stabilize rehydration scroll-to-bottom convergence * fix(chat): preserve user escape hatch during initial settle * refactor(chat): reduce scroll fix PR scope and remove debug plumbing * fix(chat): redesign rehydration scroll lifecycle * refactor(chat): extract scroll lifecycle into useScrollLifecycle hook - Extract ~400 lines of scroll lifecycle logic from ChatView.tsx into a dedicated useScrollLifecycle hook, reducing ChatView scroll-related refs from ~17 to 0 and making the logic testable in isolation. - Reduce INITIAL_LOAD_SETTLE_HARD_CAP_MS from 10s to 5s. If rehydration takes longer, there is likely a rendering performance issue worth investigating separately. - Document the scrollToIndex reversal: PR #6780 removed scrollToIndex due to jitter from stale numeric indices. The "LAST" constant used here resolves at call time, avoiding that issue. - All 6 existing scroll regression tests pass unchanged. * fix(chat): harden scroll lifecycle pointer intent and settle phase fallback * test(chat): stabilize ChatView scroll debug repro flake * refactor(chat): simplify hydration scroll lifecycle * fix(chat): start existing task at latest message bottom --------- Co-authored-by: Roo Code <roomote@roocode.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| useAutoApprovalState.ts | ||
| useAutoApprovalToggles.ts | ||
| useCloudUpsell.ts | ||
| useEscapeKey.spec.ts | ||
| useEscapeKey.ts | ||
| useScrollLifecycle.ts | ||
| useTooManyTools.ts | ||