Skip to content

Web console: show stages for MSQ compaction tasks#18545

Merged
cryptoe merged 2 commits intoapache:masterfrom
vogievetsky:show_stages_for_msq_compaction_tasks
Sep 23, 2025
Merged

Web console: show stages for MSQ compaction tasks#18545
cryptoe merged 2 commits intoapache:masterfrom
vogievetsky:show_stages_for_msq_compaction_tasks

Conversation

@vogievetsky
Copy link
Copy Markdown
Contributor

This PR makes it so that an MSQ based compaction task will use the stages pane to render the report rather than just showing the JSON.

New behaviour:

image

Old behaviour:

image

The way I achieve this is a little ugly but I could not think of a better way without a big refactor.

I made a ShowJsonOrStages component that is like ShowJson but will show the stages UI if the data loaded looks like an MSQ report. Since this is a one off I think it is ok. In the future if we are going to have a lot of ShowJsonOrX then might make sense to generalize somehow rather than making a component for every X

@cryptoe cryptoe merged commit 0cc587b into apache:master Sep 23, 2025
11 checks passed
@vogievetsky vogievetsky deleted the show_stages_for_msq_compaction_tasks branch September 29, 2025 04:19
@cecemei cecemei added this to the 35.0.0 milestone Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants