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

Logflare / logflare / 34801143773-1
84%

Build:
DEFAULT BRANCH: main
Ran 14 Sep 2026 03:11AM UTC
Jobs 1
Files 457
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

14 Sep 2026 03:01AM UTC coverage: 82.386% (-0.02%) from 82.404%
34801143773-1

push

github

web-flow
fix: scroll the logs search page to the bottom on chart clicks and the subnav link (#3969)

* fix: scroll the logs search page to the bottom on chart clicks and the subnav link

Two breaks on the logs search page.

The subnav "scroll down" link called `Source.scrollOverflowBottom/0`, which
selects `#logs-list li:nth(0)`. `:nth()` is not a jQuery 3 selector, so the
click throws and nothing scrolls. The link now dispatches
`logflare:scroll-to-bottom`, the same pattern as the copy link, and the
function is removed.

A click or a drag-selection on the bar chart pushes `datetime_update`, which
sets `tailing?` to false. Since #3688 the `SourceLogsSearchList` hook only
scrolls to the bottom while tailing, so the page stayed where it was. Before
#3688 every list update scrolled to the bottom as a side effect. The LiveView
now sets `scroll_to_bottom_on_result?` on `datetime_update` and pushes
`scroll-to-bottom` when that search's first event page lands. Pagination keeps
its scroll anchor.

`scrollToPageBottom/0` in `assets/js/utils.js` is the single implementation
for the hook, the window listener and the link.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YQ8Y8zCvSKUFNPvkwH2WS4

* fix: bring the loaded previous page into view

The top "Load more" button loads the older page correctly: `#logs-list` is
`column-reverse`, rows are newest-first, and `put_event_page/3` appends the
page at the DOM end, which is the visual top. The pagination tests assert
that order.

What hid it: `SourceLogsSearchList.updated/0` restores the scroll anchor, so
the existing rows keep their screen position and the new rows land above the
viewport together with the button. Nothing appears to change.

`put_event_page/3` now pushes `scroll-to-event` with the DOM id of the oldest
loaded row, the visual top of the new page, and the hook scrolls it into view.
The bottom button, tailing, and `scroll-to-bottom` are unchanged.

Co-Aut... (continued)

5 of 6 new or added lines in 2 files covered. (83.33%)

4 existing lines in 2 files now uncovered.

14832 of 18003 relevant lines covered (82.39%)

2460.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
84.48
-0.08% lib/logflare_web/live/search_live/logs_search_lv.ex

Coverage Regressions

Lines Coverage ∆ File
3
67.86
-10.71% lib/logflare/gen_singleton/watcher.ex
1
30.77
-3.85% lib/logflare/sources/source/text_notification_server.ex
Jobs
ID Job ID Ran Files Coverage
1 34801143773-1.1 14 Sep 2026 03:11AM UTC 457
82.39
GitHub Action Run
Source Files on build 34801143773-1
  • Tree
  • List 457
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34801143...
  • 4a398721 on github
  • Prev Build on main (#34617782...)
  • Next Build on main (#34801854...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc