-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update field keys to match schema * Fix undefined IT Investment bug * Issue LCID mutation * Add LCID fields to form * Initial field setup * Add mutation to onSubmit * Add useExistingLcid field * LCID field * Default lcid value * Field validation schema * Implement validation schema & error messages * Fix LCID error messages * Fix date picker validation schema * Refetch intake on mutation success * Add field errors summary to <ActionForm> * Issue LCID field errors summary * Success message text * Add lcid to query * Success message Made <ActionForm> `successMessage` prop optional so that it can be set from individual form if needed * Update success message text * Refactor resolutions title - Refactored resolutions form layout to fix server error alert placement - Created <ResolutionTitleBox> component * Refactor Manage LCID title box * Remove unused <TitleBox> component * Manage LCID - remove references to resolutions * ActionForm loading state * Resolutions title box unit test * Manage LCID title box unit test * Add lcid info to GetSystemIntakesWithLCIDS query * Convert LCID text input to dropdown - Add GetSystemIntakesWithLCIDS query - Populate LCID dropdown with existing LCID options - When LCID is selected, populate fields * Update LCID error message * Issue LCID unit test * Fix fields set from selecting LCID * Confirmation modal * Confirmation modal unit test * Fix actions unit tests * Fix LCID default value bug * Fix success message * Add missing fields to test mock data * Reset lcid fields Resets LCID fields to default when "Generate new LCID" is selected * Fix <DatePickerFormatted> bug - Fixes bug where <DatePickerFormatted> value cannot be updated dynamically - Wrapped component in useCallback to force re-render * Update unit test - Fixed field label capitalization - Added test for dynamic expiration date field
- Loading branch information
1 parent
4e90488
commit 7aca6cc
Showing
30 changed files
with
1,369 additions
and
278 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
export default gql` | ||
mutation CreateSystemIntakeActionIssueLcid( | ||
$input: SystemIntakeIssueLCIDInput! | ||
) { | ||
createSystemIntakeActionIssueLCID(input: $input) { | ||
systemIntake { | ||
id | ||
lcid | ||
} | ||
} | ||
} | ||
`; |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
// @generated | ||
// This file was automatically generated and should not be edited. | ||
|
||
import { SystemIntakeIssueLCIDInput } from "./../../types/graphql-global-types"; | ||
|
||
// ==================================================== | ||
// GraphQL mutation operation: CreateSystemIntakeActionIssueLcid | ||
// ==================================================== | ||
|
||
export interface CreateSystemIntakeActionIssueLcid_createSystemIntakeActionIssueLCID_systemIntake { | ||
__typename: "SystemIntake"; | ||
id: UUID; | ||
lcid: string | null; | ||
} | ||
|
||
export interface CreateSystemIntakeActionIssueLcid_createSystemIntakeActionIssueLCID { | ||
__typename: "UpdateSystemIntakePayload"; | ||
systemIntake: CreateSystemIntakeActionIssueLcid_createSystemIntakeActionIssueLCID_systemIntake | null; | ||
} | ||
|
||
export interface CreateSystemIntakeActionIssueLcid { | ||
createSystemIntakeActionIssueLCID: CreateSystemIntakeActionIssueLcid_createSystemIntakeActionIssueLCID | null; | ||
} | ||
|
||
export interface CreateSystemIntakeActionIssueLcidVariables { | ||
input: SystemIntakeIssueLCIDInput; | ||
} |
This file contains 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
This file contains 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
Oops, something went wrong.