fecgov / fecfile-web-api

Back-end API for FECfile application
8 stars 2 forks source link

Limit the inclusion of children in transaction payloads to double and triple transaction sets #968

Closed exalate-issue-sync[bot] closed 3 days ago

exalate-issue-sync[bot] commented 1 month ago

The api currently includes the transaction ids of all the children for a transaction and the front end automatically retrieves them. This process can be streamlined as the front-end only needs to manage the child/grandchild transactions in a single save/commit for a subset of transaction_type_identifiers.

TASK

Update the API and make the related changes to the front end so that the child transactions are provided when the transactions are the following “doubles”:

And provide the child and grandchild transactions for the one “triple” transaction set:

QA Notes

Test to see if a sample of the transaction types listed in the ticket description work correctly when saving multiple transactions at the same time.

DEV Notes

Design

null

See full ticket and images here: FECFILE-1483

exalate-issue-sync[bot] commented 1 month ago

David Heitzer commented: API PR https://github.com/fecgov/fecfile-web-api/pull/1013

exalate-issue-sync[bot] commented 3 weeks ago

Passes CR. Sending to QA.

exalate-issue-sync[bot] commented 3 weeks ago

Matt Travers commented: For QA, passing unit tests:

[https://app.circleci.com/pipelines/github/fecgov/fecfile-web-api/4091/workflows/a56c5bb4-ab1c-4582-95e6-38bbdf14e36b/jobs/12257|https://app.circleci.com/pipelines/github/fecgov/fecfile-web-api/4091/workflows/a56c5bb4-ab1c-4582-95e6-38bbdf14e36b/jobs/12257]

!image-20240821-200036.png|width=1611,height=539,alt="image-20240821-200036.png"! See image in Jira

exalate-issue-sync[bot] commented 3 weeks ago

Shelly Wise commented: QA review visual inspection of Unit Tests passing. (NOTE: Tested PAC_EARMARK_RECEIPT and LOAN_RECEIVED_FROM_INDIVIDUAL)

!image-20240822-142603.png|width=1250,height=417,alt="image-20240822-142603.png"! See image in Jira

QA Review Completed. Moved to Stage Ready.

exalate-issue-sync[bot] commented 3 days ago

Automation for Jira commented: Sprint accepted by Paul Clark at Sprint Review on comment date.