Skip to content

PM-4649: fix engagement application status filtering#1573

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

PM-4649: fix engagement application status filtering#1573
jmgasper merged 1 commit intodevfrom
PM-4649

Conversation

@jmgasper
Copy link
Copy Markdown
Collaborator

@jmgasper jmgasper commented Apr 1, 2026

What was broken
The Work Manager engagement applications status filter updated its selected value but did not change the rows shown in the table.

Root cause
The page tracked the selected filter status, but still rendered the full applications list directly instead of applying the selected status to the displayed rows.
The engagement header status pill helper also assumed a formatted status string was always present.

What was changed
Added a memoized filtered applications list and now render the table and empty state from that filtered list.
Made the engagement status pill helper tolerant of empty values.
Added a regression test that changes the status filter and verifies only matching applications remain visible.

Any added/updated tests
Added ApplicationsListPage.spec.tsx to cover the status filter behavior.


Open with Devin

What was broken
The Work Manager engagement applications status filter updated its selected value but did not change the rows shown in the table.

Root cause
The page tracked the selected filter status, but still rendered the full applications list directly instead of applying the selected status to the displayed rows.
The engagement header status pill helper also assumed a formatted status string was always present.

What was changed
Added a memoized filtered applications list and now render the table and empty state from that filtered list.
Made the engagement status pill helper tolerant of empty values.
Added a regression test that changes the status filter and verifies only matching applications remain visible.

Any added/updated tests
Added ApplicationsListPage.spec.tsx to cover the status filter behavior.
@jmgasper jmgasper requested a review from kkartunov as a code owner April 1, 2026 12:56
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 2 additional findings.

Open in Devin Review

@jmgasper jmgasper merged commit 0c25c9c 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