Skip to content

PM-4629: align engagement role label with legacy wording#1569

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

PM-4629: align engagement role label with legacy wording#1569
jmgasper merged 1 commit intodevfrom
PM-4629

Conversation

@jmgasper
Copy link
Copy Markdown
Collaborator

@jmgasper jmgasper commented Apr 1, 2026

What was broken

The Create Engagement role dropdown displayed for the role, which did not match the legacy Work Manager wording.

Root cause

maintained its own hard-coded role label map, and that map used for even though the work app constants already used .

What was changed

Updated the engagement form role label mapping so renders as .
Added a focused form test that verifies the dropdown label for .

Any added/updated tests

Updated to cover the corrected role label.


Open with Devin

What was broken\nThe Create Engagement page showed the SOFTWARE_DEVELOPER role as Software Engineer instead of Software Developer.\n\nRoot cause\nThe engagement form kept its own hard-coded role label map, and that map used Software Engineer for SOFTWARE_DEVELOPER while the rest of the work app constants used Software Developer.\n\nWhat was changed\nUpdated the engagement form role label mapping to render Software Developer for SOFTWARE_DEVELOPER.\nAdded a focused EngagementEditorForm test that asserts the role dropdown label for SOFTWARE_DEVELOPER.\n\nAny added/updated tests\nUpdated EngagementEditorForm.spec.tsx with coverage for the Software Developer option label.
@jmgasper jmgasper requested a review from kkartunov as a code owner April 1, 2026 11:59
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 bugs or issues to report.

Open in Devin Review

@jmgasper jmgasper merged commit 17f35ff 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