Skip to content

PM-4637: route new engagements to the saved detail page#1581

Merged
jmgasper merged 2 commits intodevfrom
PM-4637
Apr 2, 2026
Merged

PM-4637: route new engagements to the saved detail page#1581
jmgasper merged 2 commits intodevfrom
PM-4637

Conversation

@jmgasper
Copy link
Copy Markdown
Collaborator

@jmgasper jmgasper commented Apr 1, 2026

What was broken
After creating an engagement from platform-ui, the work app could keep the user on the create flow instead of taking them to the saved engagement details page.

Root cause (if identifiable)
The create success redirect used a hard-coded /projects/... path and dropped the work app root route prefix when the app was mounted under /work.

What was changed
Updated the engagement editor create success navigation and cancel link to build their path from the work app root route before appending the project and engagement segments.

Any added/updated tests
Added a regression test for the create flow to verify the saved engagement redirects to the work app engagement details URL.


Open with Devin

What was broken
After creating an engagement from platform-ui, the work app could keep the user on the create flow instead of taking them to the saved engagement details page.

Root cause (if identifiable)
The create success redirect used a hard-coded /projects/... path and dropped the work app root route prefix when the app was mounted under /work.

What was changed
Updated the engagement editor create success navigation and cancel link to build their path from the work app root route before appending the project and engagement segments.

Any added/updated tests
Added a regression test for the create flow to verify the saved engagement redirects to the work app engagement details URL.
@jmgasper jmgasper requested a review from kkartunov as a code owner April 1, 2026 15:09
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@jmgasper jmgasper merged commit 6887123 into dev Apr 2, 2026
6 of 9 checks passed
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.

1 participant