diff --git a/client/COPY.json b/client/COPY.json index aa11db87967..f9c0cdc17eb 100644 --- a/client/COPY.json +++ b/client/COPY.json @@ -1397,9 +1397,6 @@ "EMPLOYER_IDENTIFICATION_NUMBER": "Employer Identification Number", "CASE_DISTRIBUTION_TITLE": "Case Distribution Algorithm Values", "CASE_DISTRIBUTION_ALGORITHM_DESCRIPTION": "The Case Distribution Algorithm determines how cases are assigned to VLJs and their teams. Current algorithm is \"By Docket Date.\"", - "CASE_DISTRIBUTION_EXCLUSION_TABLE_TITLE": "Excluding Appeals by Docket Type and Priority from Automatic Case Distribution", - "CASE_DISTRIBUTION_EXCLUSION_TABLE_DESCRIPTION": "For both Non-priority and Priority cases, you may use the sliders to turn on or off all options for each row. When you turn off a slider, all items in that row will be automatically deselected and visa versa. ​Additionally, If you wish to select only some options in a row or column, the slider will automatically turn off. You can make individual selections for that row or column at any point.", - "CASE_DISTRIBUTION_EXCLUSION_TABLE_DESCRIPTION_NOTE": "Selected docket type/priority combination options will be excluded from automatic case distribution beginning with the next distribution.", "CASE_DISTRIBUTION_ACTIVE_LEVERS_TITLE": "Active Data Elements", "CASE_DISTRIBUTION_ACTIVE_LEVERS_DESCRIPTION": "You may make changes to the Case Distribution algorithm values based on the data elements below. Changes will be applied to the next case distribution event unless subsequent confirmed changes are made to the same variable.", "CASE_DISTRIBUTION_STATIC_LEVERS_TITLE": "Inactive Data Elements", @@ -1414,19 +1411,22 @@ "CASE_DISTRIBUTION_DOCKET_TIME_DESCRIPTION_RIGHT" : " days sets the number of calendar days prior to the Docket Time Goal for that docket type when appeals become eligible for distribution.", "CASE_DISTRIBUTION_DOCKET_TIME_NOTE": "Please note, if turned on, non-priority appeals of that docket type will not be distributed until eligible, which may disrupt strict docket-date-order distribution across dockets.", "CASE_DISTRIBUTION_MODAL_TITLE": "Confirm Case Distribution Algorithm Changes", - "CASE_DISTRIBUTION_MODAL_DESCRIPTION": "Please confirm the following changes to the Case Distribution algorithm below. Once saved, these changes will apply to the next scheduled case distribution event.", + "CASE_DISTRIBUTION_MODAL_DESCRIPTION": "Please confirm the following changes to the Case Distribution algorithm below. Once saved, these changes will apply to the next case distribution event.", "CASE_DISTRIBUTION_SUCCESS_BANNER_TITLE": "You have successfully updated the Case Distribution Algorithm", "CASE_DISTRIBUTION_SUCCESS_BANNER_DETAIL": "Your changes will apply to the next Case Distribution event.", "CASE_DISTRIBUTION_FAILURE_BANNER_TITLE": "Case Distribution Algorithm updates have failed.", "CASE_DISTRIBUTION_FAILURE_BANNER_DETAIL": "Please contact the Caseflow team via the VA Enterprise Service Desk at 855-673-4357 or by creating a ticket via YourIT.", + "CASE_DISTRIBUTION_EXCLUSION_TABLE_TITLE": "Excluding Appeals by Docket Type and Priority from Automatic Case Distribution", + "CASE_DISTRIBUTION_EXCLUSION_TABLE_DESCRIPTION": "For both Non-priority and Priority cases, you may use the sliders to turn on or off all options for each row. When you turn off a slider, all items in that row will be automatically deselected and visa versa. ​Additionally, If you wish to select only some options in a row or column, the slider will automatically turn off. You can make individual selections for that row or column at any point.", + "CASE_DISTRIBUTION_EXCLUSION_TABLE_DESCRIPTION_NOTE": "Selected docket type/priority combination options will be excluded from automatic case distribution beginning with the next distribution.", "CASE_DISTRIBUTION_EXCLUSION_TABLE_LEGACY_APPEALS_HEADER": "Legacy Appeals", "CASE_DISTRIBUTION_EXCLUSION_TABLE_AMA_HEARINGS_HEADER": "AMA Hearings Appeals", "CASE_DISTRIBUTION_EXCLUSION_TABLE_AMA_DIRECT_HEADER": "AMA Direct Review Appeals", "CASE_DISTRIBUTION_EXCLUSION_TABLE_AMA_EVIDENCE_HEADER": "AMA Evidence Submission Appeals", "CASE_DISTRIBUTION_EXCLUSION_TABLE_OFF": "OFF", - "CASE_DISTRIBUTION_AFFINITY_DAYS_H2_TITLE": "Affinity Days", "CASE_DISTRIBUTION_EXCLUSION_TABLE_NON_PRIORITY": "All Non-priority", "CASE_DISTRIBUTION_EXCLUSION_TABLE_PRIORITY": "All Priority", + "CASE_DISTRIBUTION_AFFINITY_DAYS_H2_TITLE": "Affinity Days", "CASE_DISTRIBUTION_BATCH_SIZE_H2_TITLE": "Batch Size", "CASE_DISTRIBUTION_BATCH_SIZE_LEVER_LEFT_TITLE": "Data Elements", "CASE_DISTRIBUTION_BATCH_SIZE_LEVER_RIGHT_TITLE": "Value", diff --git a/client/app/caseDistribution/components/AffinityDays.jsx b/client/app/caseDistribution/components/AffinityDays.jsx index 4fcb155b4d5..15c24aff019 100644 --- a/client/app/caseDistribution/components/AffinityDays.jsx +++ b/client/app/caseDistribution/components/AffinityDays.jsx @@ -20,7 +20,7 @@ const AffinityDays = () => { const generateFields = (dataType, option, lever) => { const useAriaLabel = !lever.is_disabled_in_ui; - const tabIndex = lever.is_disabled_in_ui ? -1 : null; + const tabIndex = lever.is_disabled_in_ui ? -1 : 0; if (dataType === ACD_LEVERS.data_types.number) { return ( @@ -100,7 +100,7 @@ const AffinityDays = () => {
-
+
{generateFields(option.data_type, option, lever, isUserAcdAdmin)}
diff --git a/client/app/caseDistribution/components/BatchSize.jsx b/client/app/caseDistribution/components/BatchSize.jsx index 45aa3de6a54..d7597739531 100644 --- a/client/app/caseDistribution/components/BatchSize.jsx +++ b/client/app/caseDistribution/components/BatchSize.jsx @@ -66,7 +66,7 @@ const BatchSize = () => { {lever.description}

-
+
{isUserAcdAdmin ? { disabled={docketTimeGoalLever.is_disabled_in_ui} />
-
+
{ } ]; + const generateUniqueId = (leverItem, optionValue, index) => `${leverItem}-${optionValue}-${index}`; + return (
- - + - - - + + + {isUserAcdAdmin ? - - - - - - - - - - @@ -143,6 +186,7 @@ const ExclusionTable = () => { : + + } diff --git a/client/app/caseDistribution/components/LeverHistory.jsx b/client/app/caseDistribution/components/LeverHistory.jsx index 7ec30f2a3aa..1da2d06d7d2 100644 --- a/client/app/caseDistribution/components/LeverHistory.jsx +++ b/client/app/caseDistribution/components/LeverHistory.jsx @@ -168,19 +168,19 @@ const LeverHistory = (props) => {
{' '} + {' '} {COPY.CASE_DISTRIBUTION_EXCLUSION_TABLE_LEGACY_APPEALS_HEADER} {COPY.CASE_DISTRIBUTION_EXCLUSION_TABLE_AMA_HEARINGS_HEADER}{COPY.CASE_DISTRIBUTION_EXCLUSION_TABLE_AMA_DIRECT_HEADER}{COPY.CASE_DISTRIBUTION_EXCLUSION_TABLE_AMA_EVIDENCE_HEADER} + {COPY.CASE_DISTRIBUTION_EXCLUSION_TABLE_AMA_HEARINGS_HEADER} + + {COPY.CASE_DISTRIBUTION_EXCLUSION_TABLE_AMA_DIRECT_HEADER} + + {COPY.CASE_DISTRIBUTION_EXCLUSION_TABLE_AMA_EVIDENCE_HEADER} +
+

{COPY.CASE_DISTRIBUTION_EXCLUSION_TABLE_NON_PRIORITY} @@ -53,45 +63,63 @@ const ExclusionTable = () => { />

+ + generateUniqueId(DISTRIBUTION.all_non_priority, option.value, index)} /> + + generateUniqueId(DISTRIBUTION.all_non_priority, option.value, index)} /> + + generateUniqueId(DISTRIBUTION.all_non_priority, option.value, index)} /> + + generateUniqueId(DISTRIBUTION.all_non_priority, option.value, index)} />
+

{COPY.CASE_DISTRIBUTION_EXCLUSION_TABLE_PRIORITY} @@ -103,39 +131,54 @@ const ExclusionTable = () => { />

+ + generateUniqueId(DISTRIBUTION.all_priority, option.value, index)} /> + + generateUniqueId(DISTRIBUTION.all_priority, option.value, index)} /> + + generateUniqueId(DISTRIBUTION.all_priority, option.value, index)} /> + + generateUniqueId(DISTRIBUTION.all_priority, option.value, index)} />

{COPY.CASE_DISTRIBUTION_EXCLUSION_TABLE_NON_PRIORITY}

@@ -168,21 +212,29 @@ const ExclusionTable = () => {
-

All Priority

+

{COPY.CASE_DISTRIBUTION_EXCLUSION_TABLE_PRIORITY}

- + - + - + - +
- - - - - diff --git a/client/app/caseDistribution/components/SaveModal.jsx b/client/app/caseDistribution/components/SaveModal.jsx index a36251fa405..89f2475ef2a 100644 --- a/client/app/caseDistribution/components/SaveModal.jsx +++ b/client/app/caseDistribution/components/SaveModal.jsx @@ -37,13 +37,13 @@ export const SaveModal = (props) => {
+ {COPY.CASE_DISTRIBUTION_LEVER_HISTORY_DATE} + {COPY.CASE_DISTRIBUTION_LEVER_HISTORY_USER} + {COPY.CASE_DISTRIBUTION_LEVER_HISTORY_DATA_ELEMENT} + {COPY.CASE_DISTRIBUTION_LEVER_HISTORY_PREV_VALUE} + {COPY.CASE_DISTRIBUTION_LEVER_HISTORY_UPDATED_VALUE}
- - - diff --git a/client/app/caseDistribution/components/StaticLeversWrapper.jsx b/client/app/caseDistribution/components/StaticLeversWrapper.jsx index a47d021c228..967e446faf1 100644 --- a/client/app/caseDistribution/components/StaticLeversWrapper.jsx +++ b/client/app/caseDistribution/components/StaticLeversWrapper.jsx @@ -19,12 +19,12 @@ const StaticLeversWrapper = () => { return (
+ {COPY.CASE_DISTRIBUTION_LEVER_SAVE_BUTTON_DATA} + {COPY.CASE_DISTRIBUTION_LEVER_HISTORY_PREV_VALUE} + {COPY.CASE_DISTRIBUTION_LEVER_SAVE_BUTTON_VALUE}
- + - + {WrapperList}
{COPY.CASE_DISTRIBUTION_BATCH_SIZE_LEVER_LEFT_TITLE} {COPY.CASE_DISTRIBUTION_STATIC_LEVERS_VALUES}
);