Skip to content

PM-5557: Include project billing accounts in filter search - #2062

Merged
jmgasper merged 1 commit into
devfrom
PM-5557
Jul 30, 2026
Merged

PM-5557: Include project billing accounts in filter search#2062
jmgasper merged 1 commit into
devfrom
PM-5557

Conversation

@jmgasper

Copy link
Copy Markdown
Collaborator

What was broken

Project Managers could see projects with billing accounts, but searching for those accounts in the Projects filter returned no options.

Root cause (if identifiable)

The async filter returned only Billing Accounts API matches. Project Managers can see project-assigned accounts that are intentionally absent from their direct billing-account grants, and the loader ignored options already derived from visible projects.

What was changed

Merged case-insensitive matches from visible project billing accounts with remote search results. Local project matches remain available if the remote billing-account search fails.

Any added/updated tests

Added a ProjectsFilter regression test confirming a Project Manager can find Platform Dev - One from a visible project when the API returns no matching accounts.

Validation:

  • Focused PM-5557 regression test passes.
  • yarn lint passes.
  • yarn run build passes with existing repository warnings.
  • Full yarn test:no-watch retains 13 failing suites and 36 failing tests that reproduce unchanged on untouched origin/dev; this branch adds one passing suite and one passing test.

What was broken
Project Managers could see projects with billing accounts, but searching for those accounts in the Projects filter returned no options.

Root cause (if identifiable)
The async filter returned only Billing Accounts API matches. Project Managers can see project-assigned accounts that are intentionally absent from their direct billing-account grants, and the loader ignored options already derived from visible projects.

What was changed
Merged case-insensitive matches from visible project billing accounts with remote search results, retaining local matches if remote search fails.

Any added/updated tests
Added a ProjectsFilter regression test confirming a Project Manager can find Platform Dev - One from a visible project when the API returns no matching accounts.
@jmgasper
jmgasper requested a review from kkartunov as a code owner July 30, 2026 04:03
@jmgasper
jmgasper merged commit 396200f into dev Jul 30, 2026
7 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