Skip to content

Conversation

koszti
Copy link
Member

@koszti koszti commented Aug 18, 2025

Description

Add query stages view to the preview UI. Partially addressing #22697

Additional context and related issues

Retains the same functionality as the existing web UI, enhanced with the updated layout, design, and user experience.

Screenshots

image image

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:

## Preview web ui
* Add query stages view to Preview Web UI. ({issue}`26440`)

@cla-bot cla-bot bot added the cla-signed label Aug 18, 2025
@github-actions github-actions bot added the ui Web UI label Aug 18, 2025
@koszti koszti force-pushed the preview-ui-query-stages branch from 1e4d131 to 378121e Compare August 18, 2025 22:49
@koszti koszti force-pushed the preview-ui-query-stages branch 4 times, most recently from 2fd32b7 to e3b545e Compare August 30, 2025 18:47
@koszti koszti force-pushed the preview-ui-query-stages branch from e3b545e to a1006d7 Compare September 2, 2025 20:35
@koszti koszti force-pushed the preview-ui-query-stages branch 7 times, most recently from 9fb5452 to d6a355f Compare September 5, 2025 17:03
Copy link
Contributor

@sajjoseph sajjoseph left a comment

Choose a reason for hiding this comment

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

I tried the latest version of the code and all features are working as expected. Thanks @koszti for the contribution.

@koszti koszti force-pushed the preview-ui-query-stages branch from d6a355f to 1938ba6 Compare September 8, 2025 07:49
Copilot

This comment was marked as outdated.

@koszti koszti force-pushed the preview-ui-query-stages branch from 1938ba6 to 1379c86 Compare September 8, 2025 09:28
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a query stages view to the Preview Web UI, providing detailed stage-level information with improved layout and design compared to the existing web UI.

Key changes include:

  • Addition of stage visualization with collapsible cards showing state, timing, memory, and task statistics
  • Interactive task tables with sorting and filtering capabilities
  • Worker task information modal with JSON details

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.

File Description
utils.ts Added utility functions for stage/task ID parsing, hostname extraction, rate computation, and duration formatting
QueryStageCard.tsx New component implementing comprehensive stage visualization with task management and worker details
QueryOverview.tsx Integration of stages view into main query overview page
api.ts Extended API types to support stage, task, and worker task information

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@raunaqmorarka raunaqmorarka merged commit 799c89b into trinodb:master Sep 8, 2025
93 of 95 checks passed
@github-actions github-actions bot added this to the 477 milestone Sep 8, 2025
@koszti koszti deleted the preview-ui-query-stages branch September 8, 2025 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants