Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 27, 2025

Problem

No visibility of total logs matching the current query filters, making it difficult for users to understand dataset size and pagination progress.

Changes

  • Add totalLogsMatchingFilters selector that aggregates counts from sparkline data
  • Display total count in sticky DisplayOptions bar
  • Show exact remaining count in load more button ("click to load 32 more" vs "load up to 100 more")
  • Guard against negative remaining count with Math.max(0, ...)

How did you test this code?

Local dev

Changelog: (features only) Is this feature complete?

Yes


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

jonmcwest and others added 3 commits November 27, 2025 17:44
- Add total logs count to sticky display options bar
- Show exact remaining count in load more button ("load 32 more" vs "load up to 100 more")
Copilot AI changed the title [WIP] Add total log count visibility in query results feat(logs): improve log count visibility Nov 27, 2025
Copilot finished work on behalf of jonmcwest November 27, 2025 18:13
Copilot AI requested a review from jonmcwest November 27, 2025 18:13
Copy link
Contributor

@frankh frankh left a comment

Choose a reason for hiding this comment

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

Too much text on the button imo

@jonmcwest jonmcwest force-pushed the jon/logs-total-log-count-visibility branch from 85bc6bf to 0e7163f Compare November 27, 2025 22:04
Base automatically changed from jon/logs-total-log-count-visibility to master November 27, 2025 22:11
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.

3 participants