refactor: v2 - run view - run menu#2358
Draft
maxy-shpfy wants to merge 1 commit into
Draft
Conversation
This was referenced Jun 3, 2026
🎩 PreviewA preview build has been created at: |
Collaborator
Author
This was referenced Jun 3, 2026
cecd60e to
931c916
Compare
6964ede to
038202b
Compare
038202b to
49fcf52
Compare
931c916 to
d5b0a0e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
The Run menu in the Run View has been expanded with functional implementations for previously disabled actions, and new actions have been added. Menu items that were placeholders (Cancel Run, Rerun Pipeline) are now fully wired up, and new options for viewing YAML inline, cloning a pipeline, and exporting YAML have been introduced.
Each action has been extracted into its own dedicated hook:
useCancelPipelineRun— manages a confirmation dialog flow before calling the cancel API, with toast notifications on success or failureuseClonePipelineRun— copies the current run's component spec and arguments (excluding secret arguments) into a new pipeline and navigates to ituseRerunPipelineRun— resubmits the pipeline with the original arguments and authorization token, then navigates to the new runuseInspectPipeline— navigates to the pipeline editor for the given pipeline nameuseExportPipelineYaml— serializes the component spec to YAML and triggers a file downloaduseYamlViewer— controls open/close state for the inline YAML viewerThese hooks are composed in
useRunMenuActions, which is consumed byRunMenu. The component now renders aConfirmationDialogfor cancel confirmation and a fullscreenTaskImplementationviewer when the YAML viewer is open.Related Issue and Pull requests
Type of Change
Checklist
Screenshots (if applicable)
Test Instructions
Additional Comments
Secret arguments are intentionally excluded when cloning a pipeline run, as they cannot be safely serialized into plain string inputs.