Skip to content

bt-ui: Implement and polish Bigtrace asynchronous queries#5822

Draft
gignat-dev wants to merge 3 commits into
mainfrom
dev/gignat/bt_async_queries
Draft

bt-ui: Implement and polish Bigtrace asynchronous queries#5822
gignat-dev wants to merge 3 commits into
mainfrom
dev/gignat/bt_async_queries

Conversation

@gignat-dev
Copy link
Copy Markdown
Contributor

This PR introduces comprehensive support for executing asynchronous
queries in the Bigtrace UI, along with a series of architectural
improvements and UX polish.

Key additions and improvements include:

  • Core Async Support: Introduces the ability to submit, track, and
    manage long-running asynchronous Bigtrace queries.
  • Architecture: Implements a centralized BigtraceQueryClient and
    QueryRunner to manage query lifecycles, separating state management
    from the UI components.
  • DataGrid Integration: Replaces traditional pagination with a
    scroll-based approach and implements server-side sorting (order_by)
    and filter encoding for Datagrid chips.
  • History & State: Adds persistent query history with background
    status polling, and fixes ephemeral tab state when switching pages.
  • UI/UX Polish: Introduces updated progress bars, detailed post-filter
    row counts, and improved duration formatting.
  • Code Quality: Adds extensive unit testing across core components like
    the data source, query client, and history storage.

gignat-dev added 2 commits May 2, 2026 18:25
  This commit consolidates a series of architectural improvements and
  UI/UX polish for the Bigtrace query interface.

  Key changes include:
   * Architecture: Replaces http_data_source with a centralized
    BigtraceQueryClient and QueryRunner to better manage query lifecycles.
   * DataGrid Integration: Implements server-side sorting (order_by),
    filter encoding for Datagrid chips, and scroll-based pagination.
   * UI/UX Polish: Introduces updated progress bars, improved duration
    formatting, and displays post-filter row counts in the results toolbar.
   * State Management: Fixes ephemeral tab state when switching pages and
    optimizes query history refetching on sidebar toggles.
   * Code Quality: Adds extensive unit testing across core query components.
private queries = new Map<string, QueryExecution>();

getOrCreate(
uuid: string,
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

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.

2 participants