Skip to content

fix(dashboard): copy workflow opens preview page instead of workspace#4280

Merged
kunwp1 merged 3 commits intoapache:mainfrom
seongjinyoon:fix/copy-workflow-opens-workspace
Mar 12, 2026
Merged

fix(dashboard): copy workflow opens preview page instead of workspace#4280
kunwp1 merged 3 commits intoapache:mainfrom
seongjinyoon:fix/copy-workflow-opens-workspace

Conversation

@seongjinyoon
Copy link
Contributor

@seongjinyoon seongjinyoon commented Mar 11, 2026

What changes were proposed in this PR?

Problem:
When copying a workflow from the "Workflows" tab under "Your Work", clicking on the newly copied workflow incorrectly redirected to the preview page instead of opening it in the workspace. More on #3829

Root Cause:
After a workflow is copied, a new DashboardEntry is constructed, manually appending information such as owner's name, and avatar. However, the issue is that the list of user IDs with access was not appended, causing the routing to go to the preview page.

Fix:
Append the list of user IDs with access.

Any related issues, documentation, discussions?

Closes #3829

How was this PR tested?

Manually tested

Was this PR authored or co-authored using generative AI tooling?

Revised with Claude Code.

@github-actions github-actions bot added fix frontend Changes related to the frontend GUI labels Mar 11, 2026
@chenlica chenlica requested a review from kunwp1 March 11, 2026 06:36
@chenlica
Copy link
Contributor

@kunwp1 Please review it.

Copy link
Contributor

@kunwp1 kunwp1 left a comment

Choose a reason for hiding this comment

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

Your change fixes the issue but I suggest you address the comment below.

@seongjinyoon seongjinyoon requested a review from kunwp1 March 12, 2026 18:40
Copy link
Contributor

@kunwp1 kunwp1 left a comment

Choose a reason for hiding this comment

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

LGTM!

@kunwp1 kunwp1 merged commit 25f0b36 into apache:main Mar 12, 2026
11 checks passed
@seongjinyoon seongjinyoon deleted the fix/copy-workflow-opens-workspace branch March 13, 2026 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix frontend Changes related to the frontend GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copied Workflow Opens Preview Page Instead of Workspace

3 participants