Skip to content

PM-4635: fix engagement view link path#1582

Merged
jmgasper merged 1 commit intodevfrom
PM-4635
Apr 1, 2026
Merged

PM-4635: fix engagement view link path#1582
jmgasper merged 1 commit intodevfrom
PM-4635

Conversation

@jmgasper
Copy link
Copy Markdown
Collaborator

@jmgasper jmgasper commented Apr 1, 2026

What was broken

  • The Work app Engagements list opened /opportunities/:id on the engagements domain, which does not match the deployed detail route and led to a blank page.

Root cause

  • EngagementsListPage still built the external View link with a legacy /opportunities prefix instead of the current detail route exposed by the engagements app.

What was changed

  • Updated the external engagement View link helper to point directly to ${ENGAGEMENTS_APP_URL}/{engagement.id} on the engagements app domain.
  • Added a regression test that renders an engagement row and verifies the View href omits /opportunities.

Any added/updated tests

  • Updated EngagementsListPage.spec.tsx with a View link href assertion covering this regression.

What was broken
- The Work app Engagements list opened /opportunities/:id on the engagements domain, which does not match the deployed detail route and led to a blank page.

Root cause
- EngagementsListPage still built the external View link with a legacy /opportunities prefix instead of the current detail route exposed by the engagements app.

What was changed
- Updated the external engagement View link helper to point directly to /{engagement.id} on the engagements app domain.
- Added a regression test that renders an engagement row and verifies the View href omits /opportunities.

Any added/updated tests
- Updated EngagementsListPage.spec.tsx with a View link href assertion covering this regression.
@jmgasper jmgasper requested a review from kkartunov as a code owner April 1, 2026 15:18
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 1786d14 into dev Apr 1, 2026
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