feat(agreements): Budget Team edit-award screen (OPS-2280) - #6169
Draft
josbell wants to merge 6 commits into
Draft
feat(agreements): Budget Team edit-award screen (OPS-2280)#6169josbell wants to merge 6 commits into
josbell wants to merge 6 commits into
Conversation
Contributor
Author
Code reviewFound 4 issues:
🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
… on EditAwardApproval
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 changed
Adds a dedicated Edit Award Approval screen for Budget Team members reviewing a pending award approval request (Step 6). Previously the Edit button on the Award Approval review page navigated to the generic full-agreement editor; now it goes to a focused form showing only the award-specific fields (Vendor, Contract #, Award Amount, Award Date, CLINs) pre-filled from the submitted step 6 data.
Key changes:
/agreements/:id/edit-award→EditAwardApprovalpage +useEditAwardApprovalhook. Seeds fields from step 6, saves viaPATCH /procurement-tracker-steps/:idwithout touchingapproval_requested/approval_status.AwardRequestForm— new shared presentational component extracted fromRequestAwardApproval. Both request and edit pages render it. Amodeprop ("request"|"edit") controls instruction copy and hides the Notes textarea in edit mode.budgetTeamBypassesmodal-suppression guard inEditAgreementAndBudgetLinesand the backendbudget_team_can_bypassdirect-write path inBudgetLineItemService. Budget Team financial BLI edits now always route through the change-request workflow (consistent with other roles during award approval).useGetDocumentsByAgreementIdQueryinusePreAwardApprovalDataset toskip: trueuntil the Azure storage backend is configured (feature already disabled in UI).Issue
OPS-2280
How to test
docker compose up --build) to pick up the seed data changes for agreement 13./agreements/13/review-award(Award Approval review page for agreement 13, which is seeded at step 6 with a pending award approval)./agreements/13/edit-award(not the generic editor)./agreements/13/award-approval(request form) — confirm "Add …" instruction copy and Notes textarea are still present./agreements/13/edit-award— confirm the "Access Denied" alert is shown.A11y impact
Storybook
Screenshots
See Figma spec: "Step 6 - Award - Edit CLINs"
Definition of Done Checklist
Links