Skip to content

feat: pagination for search#3688

Draft
msmithstubbs wants to merge 3 commits into
Logflare:mainfrom
msmithstubbs:feat/search-pagination
Draft

feat: pagination for search#3688
msmithstubbs wants to merge 3 commits into
Logflare:mainfrom
msmithstubbs:feat/search-pagination

Conversation

@msmithstubbs

@msmithstubbs msmithstubbs commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

This PR adds pagination support to the search results live view.

  • events are now rendered with LiveView stream
  • scrolling to the top of the event list will fetch the next 100 previous events
  • add ‘load more’ buttons to extend search range earlier or later
CleanShot 2026-07-24 at 15 04 24@2x

Fixes O11Y-286

@msmithstubbs
msmithstubbs force-pushed the feat/search-pagination branch from fa6e5b2 to cf1b364 Compare July 15, 2026 03:21
@msmithstubbs
msmithstubbs force-pushed the feat/search-pagination branch 3 times, most recently from 311e05a to 32d3277 Compare July 22, 2026 06:43
|> assign(:search_timezone, tz)
|> assign(:search_op_log_events, nil)
|> assign(:search_op_log_aggregates, nil)
|> stream(:log_events, [], reset: true)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing the timezone won't update the rendered timestamps in a stream, so clear it immediately.

@msmithstubbs
msmithstubbs force-pushed the feat/search-pagination branch 3 times, most recently from c46c13f to 01b0709 Compare July 23, 2026 02:49
@msmithstubbs
msmithstubbs force-pushed the feat/search-pagination branch 2 times, most recently from 21cb592 to 6cc0e21 Compare July 24, 2026 05:02
@msmithstubbs
msmithstubbs force-pushed the feat/search-pagination branch from 6cc0e21 to 950aee5 Compare July 24, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant