B-06: Chat panel doesn't auto-scroll as tokens stream (M-7 partial; DOM scroll in vitest) #51

Closed
opened 2026-05-12 19:09:13 +00:00 by KofTwentyTwo · 1 comment
KofTwentyTwo commented 2026-05-12 19:09:13 +00:00 (Migrated from github.com)

Summary

Chat panel doesn't auto-scroll as text streams. Live evidence 2026-05-07. DOM observability gap acknowledged — out of harness scope for the API side. M-7 lands turnTextComplete API event; DOM scroll ack remains vitest territory.

Evidence

  • docs/TODO.md:27 — "B-06 — Chat panel doesn't auto-scroll (lands M-7; webview-DOM out of harness scope)"

Recommended fix

Partial closure by #11 (M-7 Turn surface): turnTextComplete event emitted between last tokenStreamed and turnEnded. Webview vitest layer adds DOM scroll ack (separate follow-up). The API event is the substrate; the JS-side useLayoutEffect or scrollIntoView is the consumer-side fix.

Source

  • docs/TODO.md:27 (carry-forward bug B-06)
  • .planning/architecture/JARVIS-API-MIGRATION-PLAN.md §2.8

Cross-references

  • Partially closed by: #11 (M-7)
  • DOM scroll completion: webview vitest layer (separate)
## Summary Chat panel doesn't auto-scroll as text streams. Live evidence 2026-05-07. DOM observability gap acknowledged — out of harness scope for the API side. M-7 lands `turnTextComplete` API event; DOM scroll ack remains vitest territory. ## Evidence - `docs/TODO.md:27` — "B-06 — Chat panel doesn't auto-scroll (lands M-7; webview-DOM out of harness scope)" ## Recommended fix Partial closure by #11 (M-7 Turn surface): `turnTextComplete` event emitted between last `tokenStreamed` and `turnEnded`. Webview vitest layer adds DOM scroll ack (separate follow-up). The API event is the substrate; the JS-side `useLayoutEffect` or `scrollIntoView` is the consumer-side fix. ## Source - `docs/TODO.md:27` (carry-forward bug B-06) - `.planning/architecture/JARVIS-API-MIGRATION-PLAN.md` §2.8 ## Cross-references - Partially closed by: #11 (M-7) - DOM scroll completion: webview vitest layer (separate)
KofTwentyTwo commented 2026-05-13 11:52:12 +00:00 (Migrated from github.com)

Closed by v0.1 cluster merges on 2026-05-13. Develop now at a8c7f1a0.

Closed by v0.1 cluster merges on 2026-05-13. Develop now at `a8c7f1a0`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/Jarvis#51