Conversation
What was broken - Edit Project only exposed a name-search autocomplete with no initial billing-account options, so users could not see the billing accounts they were allowed to select. Root cause - The new work app never loaded the project-scoped /projects/:projectId/billingAccounts source used by the legacy flow. - The autocomplete always started with defaultOptions=false, so the menu opened empty until a 3-character search. What was changed - Added a project-scoped billing-account fetch in the work app projects service. - Preloaded those accounts into the edit-project billing-account autocomplete when a project id is available. - Passed the current project id from the project editor form into the autocomplete. Any added/updated tests - Added a service test for project billing-account normalization. - Added a FormBillingAccountAutocomplete regression test covering edit-project preload behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was broken
Root cause
What was changed
Any added/updated tests