• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

humanspeak / svelte-virtual-chat / 27770732167
96%
main: 96%

Build:
Build:
LAST BUILD BRANCH: ci/drop-node-20
DEFAULT BRANCH: main
Ran 18 Jun 2026 03:34PM UTC
Jobs 1
Files 7
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Jun 2026 03:32PM UTC coverage: 95.911%. First build
27770732167

push

github

web-flow
fix(chat): preserve scroll progress through late growth (#30)

* fix(chat): preserve scroll progress through late growth

- Track directional scroll intent during wheel and keyboard input
- Preserve scroll progress while rendered content mutates after paint
- Add wheel scroll jump repro coverage for remount and persisted growth

* refactor(chat): dedup scroll-progress restore and viewport reads

- Reuse captureViewportGeometry() in isAtViewportBottom() instead of
  re-reading scrollTop/scrollHeight/clientHeight inline
- Collapse the repeated "restore progress then sync follow" block at
  three call sites into restoreProgressAndSyncFollow(), passing the
  adjusted geometry through to avoid a second DOM read
- Capture performance.now() once per scroll/rAF pass and reuse it
- Simplify matchesDirection to a single movedInDirection() helper

Behavior-preserving cleanup; unit tests and e2e (chromium/firefox)
remain green.

* test(chat): skip wheel-only spec on mobile safari

* test(chat): cover touch scroll jump path

* test(chat): harden scroll jump coverage

180 of 198 branches covered (90.91%)

Branch coverage included in aggregate %.

103 of 105 new or added lines in 2 files covered. (98.1%)

336 of 340 relevant lines covered (98.82%)

51.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.23
src/lib/virtual-chat/chatScrollIntent.ts
1
92.06
src/lib/virtual-chat/chatScrollProgress.ts
Jobs
ID Job ID Ran Files Coverage
1 node-22 - 27770732167.1 18 Jun 2026 03:34PM UTC 7
95.91
GitHub Action Run
Source Files on build 27770732167
  • Tree
  • List 7
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27770732167
  • 9df4813f on github
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc