Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Budget Change: Edit BLs (including prompt for send to approval) #2193

Open
16 of 32 tasks
jonnalley opened this issue Apr 17, 2024 · 6 comments
Open
16 of 32 tasks

Budget Change: Edit BLs (including prompt for send to approval) #2193

jonnalley opened this issue Apr 17, 2024 · 6 comments
Assignees
Labels
design this is a design task Dev Backend Ready Backend, Pipeline, or other UX related work is refined, and ready for Developers Dev Frontend Ready Designers have created and finalized the designs, story has been refined, and ready for a Developer story A defined user story adhering to expected norms including a narrative

Comments

@jonnalley
Copy link
Contributor

jonnalley commented Apr 17, 2024

User Story

As a COR or other team member, I need to edit budget-impacting details (CAN, Amount, Need By) of a budget line where the BL is already in Planned or Executing status, and know that it requires an approval, so that I understand how my edit will impact the overall budget.

Preconditions

  • A given contract has one or more budget lines in either planned or executing BLs

Acceptance Criteria

  1. On a given existing BL on a contract, authorized users are able to edit attributes of it and elect to persist the change without altering the status of the budget line. Authorized users would be limited to project officer, named team members, division director linked to associated CANs, budget team, and system admin.
  2. Before allowing any update to persist, all validations should still be enforced that were necessary to get the budget line in the current status (planned or executing). In example, amounts shouldn't be allowed to be changed to 0 or an empty string.
  3. Additionally, before the update would persist, the user would be made aware of and to confirm that the change will need to undergo review and approval.
  4. After successful persistence, the user is aware that the change is awaiting approval
  5. Upon successful persistence, relevant entries should be recorded in the event/history table(s) of who made what changes when and this event should be properly rendered in the history of changes to the agreement.
  6. User can choose to cancel making any changes and leave the pre-existing values for any metadata persisted.

Tasks

UX

Dev

FrontEnd
BackEnd

Tests (if not already in existence)

All of these tests should not change the status of the BL

  • User setting a BL amount from a non-zero amount to 0
  • User setting a BL amount to a negative amount
    * User setting an Executing (not Planned) BL amount over the budget remaining CAN balance/budget shouldn't be allowed
    * User setting an Executing BL but changing the CAN and the amount at the same time (success and failure given above test)
  • Same tests but above but with Planned where there is no restriction on amount going over CAN balance
  • date changing tests?

Definition of Done Checklist

  • UI works as designed (UX team)
  • Usability validated (UX team)
  • PR(s) have been merged to main
  • Design/tech debt eliminated
  • New design/tech debt documented (if applicable)
  • Build process updated
  • Documentation updated or added
  • Feature flags/toggles created

Additional Context & Resources

@jonnalley jonnalley added design this is a design task draft draft only, not ready for prime time. still being authored or needs refinement story A defined user story adhering to expected norms including a narrative labels Apr 17, 2024
@jonnalley jonnalley removed the draft draft only, not ready for prime time. still being authored or needs refinement label Apr 18, 2024
@kimschulke kimschulke changed the title Change Request: Edit BL details and user is aware of need to approve Budget Change: Edit BLs (including prompt for send to approval) Apr 19, 2024
@fpigeonjr
Copy link
Contributor

  • added logix to capture BLI snapshot and compare to form state
  • also tracking if BLI is PLANNED or EXECUTING
  • confirmation modal is firing
  • seeing new props on BLI from the PATCH thanks to @stevtek

@fpigeonjr
Copy link
Contributor

  • updates In_Review Tag
  • updates Alerts based on budget lines in review status
  • allows for editing EXECUTING budget lines

@fpigeonjr
Copy link
Contributor

fpigeonjr commented May 8, 2024

  • UX Review conducted on 5/4/2024 revealed that confirmation modal to send changes to Division Director should happen later in the flow. User should be able to make temporary BLI changes and have the ability to cancel out of those changes and/or click Save changes and if they are financial changes then the confirmation modal should fire.
  • 👆is captured in task [tech debt]: handle Cancel by grouping temporary changes and batch api calls #2287

@fpigeonjr fpigeonjr added Dev Frontend Ready Designers have created and finalized the designs, story has been refined, and ready for a Developer Dev Backend Ready Backend, Pipeline, or other UX related work is refined, and ready for Developers labels May 8, 2024
@fpigeonjr
Copy link
Contributor

fpigeonjr commented May 14, 2024

UX Review conducted on 5/14/2024

  • add ToolTip for TBD budget-lines
  • look at Alert messages and redirects after Saving
  • opportunity discovered for wizard state to be refactored with the onFinish function

☝️ added FE tasks for these

@fpigeonjr
Copy link
Contributor

  • ToolTip now supports human-readable text
SCR-20240516-nxec

@fpigeonjr
Copy link
Contributor

  • all users AgreementChangeRequestAlert is now supported with changeRequests
  • submitter success Alert is added sans the changeRequests
    • could not get the changeRequests to sync so moving on for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design this is a design task Dev Backend Ready Backend, Pipeline, or other UX related work is refined, and ready for Developers Dev Frontend Ready Designers have created and finalized the designs, story has been refined, and ready for a Developer story A defined user story adhering to expected norms including a narrative
Projects
None yet
Development

No branches or pull requests

4 participants