@rh-support/troubleshoot 2.4.5-beta.11 → 2.4.5-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/components/CaseInformation/Description.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Description.js +2 -3
- package/lib/esm/components/Cve/CveItem.d.ts +2 -0
- package/lib/esm/components/Cve/CveItem.d.ts.map +1 -1
- package/lib/esm/components/Cve/CveItem.js +49 -6
- package/lib/esm/components/Cve/CveModal.d.ts.map +1 -1
- package/lib/esm/components/Cve/CveModal.js +4 -1
- package/lib/esm/components/Cve/CvePanel.js +1 -1
- package/lib/esm/components/OpenCase/OpenCase.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/OpenCase.js +4 -3
- package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/AllProductsSelector.js +38 -29
- package/lib/esm/components/ProductSelector/ProductSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductSelector.js +28 -20
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.js +6 -1
- package/lib/esm/components/Recommendations/Recommendations.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/Recommendations.js +26 -21
- package/lib/esm/components/Review/Review.d.ts.map +1 -1
- package/lib/esm/components/Review/Review.js +4 -2
- package/lib/esm/components/SessionRestore/SessionRestore.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/SessionRestore.js +4 -2
- package/lib/esm/components/shared/useIsSectionValid.d.ts.map +1 -1
- package/lib/esm/components/shared/useIsSectionValid.js +52 -14
- package/lib/esm/components/wizardLayout/WizardAside.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardAside.js +9 -4
- package/lib/esm/components/wizardLayout/WizardLayout.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardLayout.js +19 -3
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardNavigation.js +23 -7
- package/lib/esm/hooks/useFetchCVEData.d.ts.map +1 -1
- package/lib/esm/hooks/useFetchCVEData.js +10 -6
- package/lib/esm/hooks/useWizard.d.ts.map +1 -1
- package/lib/esm/hooks/useWizard.js +23 -5
- package/lib/esm/models/caseCreationWorkflows.d.ts +2 -0
- package/lib/esm/models/caseCreationWorkflows.d.ts.map +1 -1
- package/lib/esm/reducers/CaseConstNTypes.d.ts +3 -1
- package/lib/esm/reducers/CaseConstNTypes.d.ts.map +1 -1
- package/lib/esm/reducers/CaseConstNTypes.js +2 -0
- package/lib/esm/reducers/CaseReducer.d.ts +1 -0
- package/lib/esm/reducers/CaseReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseReducer.js +9 -0
- package/lib/esm/reducers/SessionRestoreReducer.d.ts +7 -4
- package/lib/esm/reducers/SessionRestoreReducer.d.ts.map +1 -1
- package/lib/esm/reducers/SessionRestoreReducer.js +25 -12
- package/lib/esm/scss/_main.scss +49 -0
- package/lib/esm/utils/caseUtils.d.ts +1 -1
- package/lib/esm/utils/caseUtils.d.ts.map +1 -1
- package/lib/esm/utils/caseUtils.js +2 -2
- package/package.json +8 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIsSectionValid.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/useIsSectionValid.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAuB1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"useIsSectionValid.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/useIsSectionValid.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAuB1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAKnE,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,gBAAgB;;;;;EA6P9D"}
|
|
@@ -14,7 +14,7 @@ import { AppRouteSections } from '../../reducers/RouteConstNTypes';
|
|
|
14
14
|
import { AttachmentStateContext } from './fileUpload/reducer/AttachmentReducerContext';
|
|
15
15
|
export function useIsSectionValid(sectionName) {
|
|
16
16
|
var _a, _b;
|
|
17
|
-
const { caseState, caseType, product, version, contactSSOName, accountNumber, summary, hostname, contactInfo24x7, alternateId, selectedAccountDetails, issue, environment, timeFramesAndUrgency, periodicityOfIssue,
|
|
17
|
+
const { caseState, caseType, product, version, contactSSOName, accountNumber, summary, hostname, contactInfo24x7, alternateId, selectedAccountDetails, issue, environment, timeFramesAndUrgency, periodicityOfIssue, ABTestVarioation, } = useCaseSelector((state) => ({
|
|
18
18
|
caseState: state,
|
|
19
19
|
caseType: state.caseDetails.caseType,
|
|
20
20
|
product: state.caseDetails.product,
|
|
@@ -30,8 +30,12 @@ export function useIsSectionValid(sectionName) {
|
|
|
30
30
|
environment: state.caseDetails.environment,
|
|
31
31
|
timeFramesAndUrgency: state.caseDetails.timeFramesAndUrgency,
|
|
32
32
|
periodicityOfIssue: state.caseDetails.periodicityOfIssue,
|
|
33
|
-
|
|
33
|
+
ABTestVarioation: state.ABTestVarioation,
|
|
34
34
|
}), isEqual);
|
|
35
|
+
//&seSessionId=8e8960ac-680b-443e-bf67-9e13f2acd64e
|
|
36
|
+
const isATestvariation = ABTestVarioation === 'A';
|
|
37
|
+
const isBTestvariation = ABTestVarioation === 'B';
|
|
38
|
+
const { routeState: { isCaseCreate }, } = useContext(RouteContext);
|
|
35
39
|
const { globalMetadataState: { allProducts, loggedInUserJwtToken }, } = useContext(GlobalMetadataStateContext);
|
|
36
40
|
const { topContentState: { topContent }, } = useContext(TCStateContext);
|
|
37
41
|
const { recommendationState } = useContext(RecommendationStateContext);
|
|
@@ -54,24 +58,42 @@ export function useIsSectionValid(sectionName) {
|
|
|
54
58
|
!isEmpty(accountNumber) &&
|
|
55
59
|
!isEmpty(contactSSOName) &&
|
|
56
60
|
!selectedAccountDetails.data.subscriptionAbuse;
|
|
57
|
-
if (
|
|
61
|
+
if (isBTestvariation) {
|
|
58
62
|
isValid = isValid && !isEmpty(product) && !isEmpty(version);
|
|
59
63
|
}
|
|
60
64
|
return isValid;
|
|
61
65
|
};
|
|
62
66
|
const isSummarizeSectionValid = () => {
|
|
63
|
-
|
|
64
|
-
!allProducts.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
67
|
+
if (isATestvariation) {
|
|
68
|
+
let isValid = !allProducts.isFetching &&
|
|
69
|
+
!allProducts.isError &&
|
|
70
|
+
!topContent.isFetching &&
|
|
71
|
+
!recommendationState.isLoadingRecommendations &&
|
|
72
|
+
(summary === null || summary === void 0 ? void 0 : summary.length) <= TITLE_SUMMARY_LENGTH_LIMIT &&
|
|
73
|
+
(issue === null || issue === void 0 ? void 0 : issue.length) <= ISSUE_SUMMARY_LENGTH_LIMIT &&
|
|
74
|
+
!isEmpty(product) &&
|
|
75
|
+
!isEmpty(version) &&
|
|
76
|
+
!isEmpty(summary) &&
|
|
77
|
+
!isEmpty(issue);
|
|
78
|
+
return isValid;
|
|
79
|
+
}
|
|
80
|
+
if (isCaseCreate) {
|
|
81
|
+
//because on the summarize page for troubleshoot flow we have only product version and owner
|
|
82
|
+
let isValid = !allProducts.isFetching &&
|
|
83
|
+
!allProducts.isError &&
|
|
84
|
+
// !topContent.isFetching &&
|
|
85
|
+
// !recommendationState.isLoadingRecommendations &&
|
|
86
|
+
// summary!?.length <= TITLE_SUMMARY_LENGTH_LIMIT &&
|
|
87
|
+
// issue!?.length <= ISSUE_SUMMARY_LENGTH_LIMIT &&
|
|
88
|
+
!isEmpty(product) &&
|
|
89
|
+
!isEmpty(accountNumber) &&
|
|
90
|
+
!isEmpty(contactSSOName) &&
|
|
91
|
+
!isEmpty(version);
|
|
92
|
+
return isValid;
|
|
93
|
+
}
|
|
94
|
+
else if (!isCaseCreate) {
|
|
95
|
+
return !isEmpty(product) && !isEmpty(version) && !isEmpty(accountNumber) && !isEmpty(contactSSOName);
|
|
73
96
|
}
|
|
74
|
-
return isValid;
|
|
75
97
|
};
|
|
76
98
|
const isCaseManagementSectionValid = () => {
|
|
77
99
|
const hasContactInfo24x7ValidLength = contactInfo24x7
|
|
@@ -83,6 +105,22 @@ export function useIsSectionValid(sectionName) {
|
|
|
83
105
|
hasAlternateCaseIdValidLength);
|
|
84
106
|
};
|
|
85
107
|
const isTroubleshootSectionValid = () => {
|
|
108
|
+
if (isBTestvariation) {
|
|
109
|
+
//if we are in the new experience and user is troubleshoot we give them those validity fields
|
|
110
|
+
if (!isCaseCreate) {
|
|
111
|
+
let isValid = !allProducts.isFetching &&
|
|
112
|
+
!allProducts.isError &&
|
|
113
|
+
!topContent.isFetching &&
|
|
114
|
+
!recommendationState.isLoadingRecommendations &&
|
|
115
|
+
(summary === null || summary === void 0 ? void 0 : summary.length) <= TITLE_SUMMARY_LENGTH_LIMIT &&
|
|
116
|
+
(issue === null || issue === void 0 ? void 0 : issue.length) <= ISSUE_SUMMARY_LENGTH_LIMIT &&
|
|
117
|
+
!isEmpty(product) &&
|
|
118
|
+
!isEmpty(version) &&
|
|
119
|
+
!isEmpty(summary) &&
|
|
120
|
+
!isEmpty(issue);
|
|
121
|
+
return isValid;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
86
124
|
// don't check for entitled product if user is on search intent flow
|
|
87
125
|
const isEntitledProductLocal = isSearchIntent ? true : isEntitledProduct;
|
|
88
126
|
return !recommendationState.isLoadingRecommendations && isEntitledProductLocal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardAside.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardAside.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAIvD,OAAO,EAGH,eAAe,EAIlB,MAAM,iCAAiC,CAAC;AASzC,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACjD,2BAA2B,EAAE,OAAO,CAAC;CACxC;AAGD,iBAAS,WAAW,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"WizardAside.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardAside.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAIvD,OAAO,EAGH,eAAe,EAIlB,MAAM,iCAAiC,CAAC;AASzC,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACjD,2BAA2B,EAAE,OAAO,CAAC;CACxC;AAGD,iBAAS,WAAW,CAAC,KAAK,EAAE,MAAM,qBA8DjC;kBA9DQ,WAAW;;;AAgEpB,eAAe,WAAW,CAAC"}
|
|
@@ -17,19 +17,24 @@ const defaultProps = {};
|
|
|
17
17
|
function WizardAside(props) {
|
|
18
18
|
const { routeState: { activeSection }, } = useContext(RouteContext);
|
|
19
19
|
const canAddAttachments = ability.can(resourceActions.PATCH, resources.CASE_CREATE, CaseListFields.ATTACHMENTS);
|
|
20
|
-
const { isCreatingCase, caseType, isCveModalOpened,
|
|
20
|
+
const { isCreatingCase, caseType, isCveModalOpened, ABTestVarioation } = useCaseSelector((state) => ({
|
|
21
21
|
isCreatingCase: state.isCreatingCase,
|
|
22
22
|
caseType: state.caseDetails.caseType,
|
|
23
23
|
isCveModalOpened: state.isCveModalOpened,
|
|
24
|
-
|
|
24
|
+
ABTestVarioation: state.ABTestVarioation,
|
|
25
25
|
}), isEqual);
|
|
26
|
+
const isATestvariation = ABTestVarioation === 'A';
|
|
26
27
|
const isIdea = caseType === PreviousCaseTypes.FEATURE_ENHANCEMENT;
|
|
27
28
|
const canUseSessionManagement = ability.can(resourceActions.CREATE, resources.SESSION_TRACKING);
|
|
28
29
|
const canShowFileUploadWidget = () => canAddAttachments &&
|
|
29
30
|
!props.isAttachmentUploadModalOpen &&
|
|
30
31
|
!isUndefined(activeSection) &&
|
|
31
32
|
!hideFileUploadSidebarWidgetSections.includes(activeSection);
|
|
32
|
-
const canShowEARuleWidget =
|
|
33
|
+
const canShowEARuleWidget = isATestvariation
|
|
34
|
+
? showSideBarEARuleWidgetSections.includes(activeSection)
|
|
35
|
+
: showSideBarEARuleWidgetSections.includes(activeSection) ||
|
|
36
|
+
activeSection === AppRouteSections.SUMMARIZE ||
|
|
37
|
+
activeSection === AppRouteSections.REVIEW;
|
|
33
38
|
const canShowClusterIdReportWidget = showSideBarClusterIdRuleWidgetSections.includes(activeSection);
|
|
34
39
|
const canShowFileRecommendationSectionsWidget = showSideBarFileRecommendationSections.includes(activeSection);
|
|
35
40
|
return (React.createElement("aside", null,
|
|
@@ -39,7 +44,7 @@ function WizardAside(props) {
|
|
|
39
44
|
canShowFileUploadWidget() && React.createElement(FileDiag, { className: "pf-v5-u-mb-md" }),
|
|
40
45
|
activeSection === AppRouteSections.SUMMARIZE && !isCveModalOpened && React.createElement(CveSidebar, null),
|
|
41
46
|
activeSection === AppRouteSections.TROUBLESHOOT && React.createElement(CveSidebar, null),
|
|
42
|
-
|
|
47
|
+
canShowEARuleWidget && React.createElement(EARuleWidget, null),
|
|
43
48
|
!(isIdea && activeSection === 'submit-case') && (React.createElement(AsideResults, { routeProps: props.routeProps, className: "pf-v5-u-mb-md pf-v5-u-mt-0" })),
|
|
44
49
|
canShowFileRecommendationSectionsWidget && React.createElement(InsightsResults, { isDisplayOnMain: true }),
|
|
45
50
|
React.createElement(ClusterRecommendations, { showClusterRecommendationsList: canShowClusterIdReportWidget, className: "pf-v5-u-mb-md pf-v5-u-mt-0" }))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardLayout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WizardLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardLayout.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,EAAuC,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAavG,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,qBAyLzC"}
|
|
@@ -11,7 +11,7 @@ import { Grid, GridItem } from '@patternfly/react-core';
|
|
|
11
11
|
import { SupportFeedbackForm } from '@rh-support/components';
|
|
12
12
|
import { fetchProducts, GlobalMetadataDispatchContext, GlobalMetadataStateContext } from '@rh-support/react-context';
|
|
13
13
|
import { ability, CaseListFields, resourceActions, resources } from '@rh-support/user-permissions';
|
|
14
|
-
import { getVersionIfOnlyVersion, pendoTrackEvent, PreviousCaseTypes } from '@rh-support/utils';
|
|
14
|
+
import { getConfigField, getVersionIfOnlyVersion, PCM_CONFIG_FIELD_TYPE, pendoTrackEvent, PreviousCaseTypes, } from '@rh-support/utils';
|
|
15
15
|
import findIndex from 'lodash/findIndex';
|
|
16
16
|
import isEqual from 'lodash/isEqual';
|
|
17
17
|
import React, { useContext, useEffect, useRef, useState } from 'react';
|
|
@@ -19,7 +19,7 @@ import { Trans } from 'react-i18next';
|
|
|
19
19
|
import { useCaseDispatch, useCaseSelector } from '../../context/CaseContext';
|
|
20
20
|
import { RouteContext } from '../../context/RouteContext';
|
|
21
21
|
import { SessionRestoreDispatchContext, SessionRestoreStateContext } from '../../context/SessionRestoreContext';
|
|
22
|
-
import { submitCase } from '../../reducers/CaseReducer';
|
|
22
|
+
import { setABTestVarioation, submitCase } from '../../reducers/CaseReducer';
|
|
23
23
|
import { AppRouteSections } from '../../reducers/RouteConstNTypes';
|
|
24
24
|
import RouteUtils from '../../utils/routeUtils';
|
|
25
25
|
import PreCaseConfirmationModals, { PreCaseConfirmationModalsEnum, } from '../ConfirmationModals/PreCaseConfirmationModals';
|
|
@@ -32,6 +32,7 @@ import WizardAside from './WizardAside';
|
|
|
32
32
|
import WizardMain from './WizardMain';
|
|
33
33
|
export function WizardLayout(props) {
|
|
34
34
|
const { routeState: { activeSection, isCaseCreate }, } = useContext(RouteContext);
|
|
35
|
+
// const urlParams = getUrlParsedParams(props.routeProps.location.search);
|
|
35
36
|
const { caseCreationError, contactSSOName, caseType, product, caseState } = useCaseSelector((state) => ({
|
|
36
37
|
caseState: state,
|
|
37
38
|
caseCreationError: state.caseCreationError,
|
|
@@ -42,13 +43,14 @@ export function WizardLayout(props) {
|
|
|
42
43
|
const sessionRestoreDispatch = useContext(SessionRestoreDispatchContext);
|
|
43
44
|
const caseDispatch = useCaseDispatch();
|
|
44
45
|
const { sessionRestore: { activeSessionId, previousSessions }, } = useContext(SessionRestoreStateContext);
|
|
45
|
-
const { globalMetadataState: { allProducts, loggedInUser, loggedInUsersAccount }, } = useContext(GlobalMetadataStateContext);
|
|
46
|
+
const { globalMetadataState: { allProducts, loggedInUser, loggedInUsersAccount, pcmConfig }, } = useContext(GlobalMetadataStateContext);
|
|
46
47
|
const dispatchToGlobalMetadataReducer = useContext(GlobalMetadataDispatchContext);
|
|
47
48
|
const canAddAttachments = ability.can(resourceActions.PATCH, resources.CASE_CREATE, CaseListFields.ATTACHMENTS);
|
|
48
49
|
const { attachmentState } = useContext(AttachmentStateContext);
|
|
49
50
|
const isAnyFileAttachedLocal = isAnyFileAttached(attachmentState.caseFiles.selectedLocalFiles);
|
|
50
51
|
const [confirmationModalType, setConfirmationModalType] = useState(null);
|
|
51
52
|
const viewedConfirmationModalsList = useRef([]);
|
|
53
|
+
const testVariationWeight = getConfigField(pcmConfig.data, 'testVariationWeightZeroToTen', PCM_CONFIG_FIELD_TYPE.STRING);
|
|
52
54
|
const closeROCMProductModal = () => {
|
|
53
55
|
const productName = 'OpenShift Container Platform';
|
|
54
56
|
// if user click on Cancel then change product selection.
|
|
@@ -110,6 +112,20 @@ export function WizardLayout(props) {
|
|
|
110
112
|
}
|
|
111
113
|
setConfirmationModalType(null);
|
|
112
114
|
};
|
|
115
|
+
useEffect(() => {
|
|
116
|
+
// todo: check why we are getting activeSessionId = undefined
|
|
117
|
+
setABTestVarioation(caseDispatch, 'B');
|
|
118
|
+
// if (urlParams.userFlow) {
|
|
119
|
+
// setABTestVarioation(caseDispatch, urlParams.userFlow as string);
|
|
120
|
+
// } else {
|
|
121
|
+
// console.log({ activeSessionId, testVariationWeight });
|
|
122
|
+
// if (isEmpty(activeSessionId) || isEmpty(testVariationWeight)) return;
|
|
123
|
+
// const sessionItem = previousSessions.data[activeSessionId];
|
|
124
|
+
// const weight = parseInt(testVariationWeight, 10);
|
|
125
|
+
// setABTestVarioation(caseDispatch, trafficSplit(weight, sessionItem.session.createdDate!));
|
|
126
|
+
// }
|
|
127
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
128
|
+
}, [activeSessionId, previousSessions, testVariationWeight]);
|
|
113
129
|
// Loading app metadata
|
|
114
130
|
useEffect(() => {
|
|
115
131
|
fetchProducts(dispatchToGlobalMetadataReducer, contactSSOName);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardNavigation.tsx"],"names":[],"mappings":"AAOA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAE/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAOvD,OAAO,EAAoB,eAAe,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAK3G,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACjD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB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qBAAqB,CAAC,CAAC;IAC3C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,mBAAmB,EAAE,CAAC,gCAAgC,EAAE,OAAO,KAAK,IAAI,CAAC;IACzE,gBAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,0BAA0B,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IAC5E,kCAAkC,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IACpF,qCAAqC,CAAC,EAAE,OAAO,CAAC;IAChD,gCAAgC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IACjF,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,oBAAoB,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;CACxE;AAGD,iBAAS,gBAAgB,CAAC,KAAK,EAAE,MAAM,qBAmRtC;kBAnRQ,gBAAgB;;;AAqRzB,eAAe,gBAAgB,CAAC"}
|
|
@@ -31,11 +31,14 @@ function WizardNavigation(props) {
|
|
|
31
31
|
const { t } = useTranslation();
|
|
32
32
|
const canCreateCase = useCanCreateCase();
|
|
33
33
|
const { recommendationState } = useContext(RecommendationStateContext);
|
|
34
|
-
const { routeState: { activeSection, isNextBtnClickedToShowValidationError, noValidEntitlement, isSearchIntent }, } = useContext(RouteContext);
|
|
34
|
+
const { routeState: { activeSection, isNextBtnClickedToShowValidationError, noValidEntitlement, isSearchIntent, isCaseCreate, }, } = useContext(RouteContext);
|
|
35
35
|
const { globalMetadataState: { loggedInUsersAccount, allProducts, navBarRef }, } = useContext(GlobalMetadataStateContext);
|
|
36
|
-
const { caseState } = useCaseSelector((state) => ({
|
|
36
|
+
const { caseState, ABTestVarioation } = useCaseSelector((state) => ({
|
|
37
37
|
caseState: state,
|
|
38
|
+
ABTestVarioation: state.ABTestVarioation,
|
|
38
39
|
}), isEqual);
|
|
40
|
+
const isATestvariation = ABTestVarioation === 'A';
|
|
41
|
+
const isBTestvariation = ABTestVarioation === 'B';
|
|
39
42
|
// To check if the user is entitled or not
|
|
40
43
|
const isEntitledProduct = (_b = find((_a = allProducts === null || allProducts === void 0 ? void 0 : allProducts.data) === null || _a === void 0 ? void 0 : _a.productsResult, (p) => p.product === caseState.caseDetails.product)) === null || _b === void 0 ? void 0 : _b.isEntitledProduct;
|
|
41
44
|
const dispatchToRouteReducer = useContext(RouteDispatchContext);
|
|
@@ -54,7 +57,7 @@ function WizardNavigation(props) {
|
|
|
54
57
|
props.userClickedNextonRecommendationsFn(false);
|
|
55
58
|
props.setUserScrolledLabel(false);
|
|
56
59
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
57
|
-
}, []);
|
|
60
|
+
}, [recommendationState.isLoadingRecommendations]);
|
|
58
61
|
useEffect(() => {
|
|
59
62
|
if (props.activeStep.id === AppRouteSections.TROUBLESHOOT) {
|
|
60
63
|
window.scrollTo({
|
|
@@ -175,14 +178,27 @@ function WizardNavigation(props) {
|
|
|
175
178
|
}
|
|
176
179
|
catch (e) { }
|
|
177
180
|
});
|
|
181
|
+
const nextButtonDisabledLogic = () => {
|
|
182
|
+
if (isATestvariation) {
|
|
183
|
+
let value = (!props.userSeenRecommendations && props.activeStep.id === AppRouteSections.SUMMARIZE) ||
|
|
184
|
+
(!isEntitledProductLocal && props.activeStep.nextButtonLabel === 'Get support') ||
|
|
185
|
+
(!isSectionValidFn(props.activeStep.id) && isNextBtnClickedToShowValidationError) ||
|
|
186
|
+
noValidEntitlement;
|
|
187
|
+
return value;
|
|
188
|
+
}
|
|
189
|
+
else if (isBTestvariation && !isCaseCreate) {
|
|
190
|
+
let value = (!props.userSeenRecommendations && props.activeStep.id === AppRouteSections.TROUBLESHOOT) ||
|
|
191
|
+
(!isEntitledProductLocal && props.activeStep.nextButtonLabel === 'Get support') ||
|
|
192
|
+
(!isSectionValidFn(props.activeStep.id) && isNextBtnClickedToShowValidationError) ||
|
|
193
|
+
noValidEntitlement;
|
|
194
|
+
return value;
|
|
195
|
+
}
|
|
196
|
+
};
|
|
178
197
|
// To handle entitled products
|
|
179
198
|
const isEntitledProductLocal = isSearchIntent ? true : isEntitledProduct;
|
|
180
199
|
return (React.createElement(React.Fragment, null,
|
|
181
200
|
props.activeStep.order !== 0 && (React.createElement("button", { onClick: () => onBack(), className: "btn btn-app btn-open-white main-nav-button", "data-tracking-id": `prev-of-${activeSection}`, type: "button" }, t('Go back'))),
|
|
182
|
-
React.createElement("button", { disabled: (
|
|
183
|
-
(!isEntitledProductLocal && props.activeStep.nextButtonLabel === 'Get support') ||
|
|
184
|
-
(!isSectionValidFn(props.activeStep.id) && isNextBtnClickedToShowValidationError) ||
|
|
185
|
-
noValidEntitlement, onClick: onNext, className: "btn btn-app btn-primary main-nav-button", "data-tracking-id": `next-of-${activeSection}`, type: "button" }, t(props.activeStep.nextButtonLabel)),
|
|
201
|
+
React.createElement("button", { disabled: nextButtonDisabledLogic(), onClick: onNext, className: "btn btn-app btn-primary main-nav-button", "data-tracking-id": `next-of-${activeSection}`, type: "button" }, t(props.activeStep.nextButtonLabel)),
|
|
186
202
|
activeSection === AppRouteSections.TROUBLESHOOT && isFileRecommendationsTriggered && (React.createElement(Button, { onClick: handleFileRecsSelfSolved, variant: ButtonVariant.secondary, className: "issue-solved-button solved-issue-button", "data-tracking-id": "troubleshoot-self-solved-issue" }, t('I solved my issue'))),
|
|
187
203
|
React.createElement(RecommendationFeedbackModal, { isModalOpen: isRecsModalVisible, handleModalToggle: onRecsFeedbackModalToggle, modalContent: t(`Great, we're glad that resolved your issue`) }),
|
|
188
204
|
activeSectionError ? (React.createElement("small", { className: "pf-v5-u-align-self-center pf-v5-u-ml-md text-red" }, activeSectionError)) : null));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFetchCVEData.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFetchCVEData.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFetchCVEData.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFetchCVEData.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,0BAA0B,EAAkB,MAAM,iCAAiC,CAAC;AAI7F,wBAAgB,eAAe;;EAmI9B"}
|
|
@@ -14,16 +14,16 @@ import isArray from 'lodash/isArray';
|
|
|
14
14
|
import isEmpty from 'lodash/isEmpty';
|
|
15
15
|
import isEqual from 'lodash/isEqual';
|
|
16
16
|
import map from 'lodash/map';
|
|
17
|
+
import slice from 'lodash/slice';
|
|
17
18
|
import sortBy from 'lodash/sortBy';
|
|
18
|
-
import
|
|
19
|
+
import uniqBy from 'lodash/uniqBy';
|
|
20
|
+
import { useEffect, useState } from 'react';
|
|
19
21
|
import { useCaseDispatch, useCaseSelector } from '../context/CaseContext';
|
|
20
|
-
import { RecommendationStateContext } from '../context/RecommendationContext';
|
|
21
22
|
import { setCaseState } from '../reducers/CaseReducer';
|
|
22
23
|
import { findCVEsInString } from '../utils/caseUtils';
|
|
23
24
|
// custom hook for CVE workflow data .
|
|
24
25
|
export function useFetchCVEData() {
|
|
25
26
|
const caseDispatch = useCaseDispatch();
|
|
26
|
-
const { recommendationState } = useContext(RecommendationStateContext);
|
|
27
27
|
const [cveRecommendation, setCveRecommendation] = useState([]);
|
|
28
28
|
const { product, version, summary, description } = useCaseSelector((state) => ({
|
|
29
29
|
product: state.caseDetails.product,
|
|
@@ -51,7 +51,8 @@ export function useFetchCVEData() {
|
|
|
51
51
|
(majorVersion && product === `red hat ${selectedProductLower} ${majorVersion}`);
|
|
52
52
|
return productVersionMatchConditions && (obj === null || obj === void 0 ? void 0 : obj.state) === 'Fixed';
|
|
53
53
|
});
|
|
54
|
-
|
|
54
|
+
const uniqFilteredArray = uniqBy(filteredArray, (fa) => { var _a; return (_a = fa === null || fa === void 0 ? void 0 : fa.advisory) === null || _a === void 0 ? void 0 : _a.name; });
|
|
55
|
+
const errataData = map(uniqFilteredArray, (i) => {
|
|
55
56
|
var _a;
|
|
56
57
|
return ({
|
|
57
58
|
package: (i === null || i === void 0 ? void 0 : i.package) || '',
|
|
@@ -62,6 +63,7 @@ export function useFetchCVEData() {
|
|
|
62
63
|
product: (i === null || i === void 0 ? void 0 : i.product) || '',
|
|
63
64
|
});
|
|
64
65
|
});
|
|
66
|
+
return slice(errataData, 0, 3);
|
|
65
67
|
};
|
|
66
68
|
const sortCveResult = (cveData) => {
|
|
67
69
|
if (isEmpty(cveData)) {
|
|
@@ -109,7 +111,7 @@ export function useFetchCVEData() {
|
|
|
109
111
|
const cveIds = findCVEsInString(CVETextValue);
|
|
110
112
|
fetchCVEData(cveIds)
|
|
111
113
|
.then((results) => {
|
|
112
|
-
const sortedData = sortCveResult(results);
|
|
114
|
+
const sortedData = slice(sortCveResult(results), 0, 4);
|
|
113
115
|
const processedData = map(sortedData, ({ data }) => {
|
|
114
116
|
var _a, _b, _c, _d;
|
|
115
117
|
return ({
|
|
@@ -119,6 +121,8 @@ export function useFetchCVEData() {
|
|
|
119
121
|
mitigation: data === null || data === void 0 ? void 0 : data.field_cve_mitigation_text,
|
|
120
122
|
details: (_b = data === null || data === void 0 ? void 0 : data.field_cve_details_text) === null || _b === void 0 ? void 0 : _b.value,
|
|
121
123
|
cveLink: (_c = data === null || data === void 0 ? void 0 : data.path) === null || _c === void 0 ? void 0 : _c.replace(/\\/g, ''),
|
|
124
|
+
type: (data === null || data === void 0 ? void 0 : data.type) || 'cve',
|
|
125
|
+
nid: (data === null || data === void 0 ? void 0 : data.nid) || '',
|
|
122
126
|
errataData: getFixedErrataByProduct(((_d = data === null || data === void 0 ? void 0 : data.field_cve_releases_txt) === null || _d === void 0 ? void 0 : _d.object) || [], product, version),
|
|
123
127
|
});
|
|
124
128
|
}).filter((d) => d.severity !== 'Low');
|
|
@@ -131,6 +135,6 @@ export function useFetchCVEData() {
|
|
|
131
135
|
console.error('Error processing CVE data:', error);
|
|
132
136
|
});
|
|
133
137
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
134
|
-
}, [summary, description, product, version
|
|
138
|
+
}, [summary, description, product, version]);
|
|
135
139
|
return { cveRecommendation };
|
|
136
140
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWizard.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWizard.tsx"],"names":[],"mappings":"AAmCA,UAAU,MAAM;IACZ,yBAAyB,CAAC,EAAE,GAAG,CAAC;IAChC,4BAA4B,EAAE,OAAO,CAAC;IACtC,6BAA6B,EAAE,OAAO,CAAC;IACvC,qCAAqC,EAAE,OAAO,CAAC;IAC/C,aAAa,EAAE,GAAG,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;CAC9B;AAED,wBAAgB,SAAS,CAAC,UAAU,KAAA,EAAE,KAAK,CAAC,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"useWizard.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWizard.tsx"],"names":[],"mappings":"AAmCA,UAAU,MAAM;IACZ,yBAAyB,CAAC,EAAE,GAAG,CAAC;IAChC,4BAA4B,EAAE,OAAO,CAAC;IACtC,6BAA6B,EAAE,OAAO,CAAC;IACvC,qCAAqC,EAAE,OAAO,CAAC;IAC/C,aAAa,EAAE,GAAG,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;CAC9B;AAED,wBAAgB,SAAS,CAAC,UAAU,KAAA,EAAE,KAAK,CAAC,EAAE,MAAM;iCAsSb,OAAO;EAwC7C"}
|
|
@@ -57,6 +57,27 @@ export function useWizard(routeProps, props) {
|
|
|
57
57
|
return props.userScrolledLabel;
|
|
58
58
|
};
|
|
59
59
|
const canChangeAccountInfo = ability.can(resourceActions.PATCH, resources.CASE_CREATE, CaseListFields.ACCOUNT_AND_OWNER);
|
|
60
|
+
const summarizeButtonLabel = () => {
|
|
61
|
+
if (isCaseCreate) {
|
|
62
|
+
const shouldContinue = (summarizeNextButtonLabelLogic() || ((props === null || props === void 0 ? void 0 : props.userSeenRecommendationsValue) && numFound < 3)) &&
|
|
63
|
+
!isEmpty(issue);
|
|
64
|
+
return shouldContinue ? t('Continue') : t('See more options');
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
return t('Continue');
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
const informationButtonLabel = () => {
|
|
71
|
+
if (!isCaseCreate) {
|
|
72
|
+
(summarizeNextButtonLabelLogic() || ((props === null || props === void 0 ? void 0 : props.userSeenRecommendationsValue) && numFound < 3)) &&
|
|
73
|
+
!isEmpty(issue) // do this so that when user refreshes tab and state persists we don't cause edge 'continue' render
|
|
74
|
+
? t('Continue')
|
|
75
|
+
: t('See more options');
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
return t('Continue');
|
|
79
|
+
}
|
|
80
|
+
};
|
|
60
81
|
// components that are used in wizard steps
|
|
61
82
|
const appRouteConfugurations = {
|
|
62
83
|
[AppRouteSections.GET_SUPPORT]: Object.assign(Object.assign({}, defaultRouteConfiguration), { id: AppRouteSections.GET_SUPPORT, name: t('Get support'), component: (React.createElement(MainSection, { stepNumber: 1, totalSteps: 6, section: AppRouteSections.GET_SUPPORT, title: t('Why are you opening a case?'), description: t('Select the best category for your issue.') },
|
|
@@ -69,16 +90,13 @@ export function useWizard(routeProps, props) {
|
|
|
69
90
|
canChangeAccountInfo && !isCaseCreate && (React.createElement(React.Fragment, null,
|
|
70
91
|
React.createElement(AccountSelector, { "data-tracking-id": "get-support-account-selector" }),
|
|
71
92
|
React.createElement(OwnerSelector, { "data-tracking-id": "get-support-owner-selector" }))),
|
|
72
|
-
React.createElement(ProductSelector, { routeProps: routeProps, userSeenRecommendations: props.userSeenRecommendationsfn, userClickedNextonRecommendations: props.userClickedNextonRecommendationsValue, resultsRowRef: props.resultsRowRef, isOnGetSupportPage: false, caseCreateExperience: isCaseCreate })))), canJumpTo: isSectionValidFn(AppRouteSections.SUMMARIZE) || activeSection === AppRouteSections.SUMMARIZE, nextButtonLabel: (
|
|
73
|
-
!isEmpty(issue) // do this so that when user refreshes tab and state persists we don't cause edge 'continue' render
|
|
74
|
-
? t('Continue')
|
|
75
|
-
: t('See more options') }),
|
|
93
|
+
React.createElement(ProductSelector, { routeProps: routeProps, userSeenRecommendations: props.userSeenRecommendationsfn, userClickedNextonRecommendations: props.userClickedNextonRecommendationsValue, resultsRowRef: props.resultsRowRef, isOnGetSupportPage: false, caseCreateExperience: isCaseCreate })))), canJumpTo: isSectionValidFn(AppRouteSections.SUMMARIZE) || activeSection === AppRouteSections.SUMMARIZE, nextButtonLabel: summarizeButtonLabel() }),
|
|
76
94
|
[AppRouteSections.TROUBLESHOOT]: Object.assign(Object.assign({}, defaultRouteConfiguration), { id: AppRouteSections.TROUBLESHOOT, name: t('Troubleshoot'), component: (React.createElement(MainSection, { stepNumber: 3, totalSteps: 6, section: AppRouteSections.TROUBLESHOOT, title: t('Recommendations') },
|
|
77
95
|
React.createElement(Suspense, { fallback: React.createElement(LoadingIndicator, { size: "sm" }) },
|
|
78
96
|
alertMessage(),
|
|
79
97
|
React.createElement(TroubleshootSection, null)))), canJumpTo: isSectionValidFn(AppRouteSections.TROUBLESHOOT || activeSection === AppRouteSections.TROUBLESHOOT) &&
|
|
80
98
|
(props === null || props === void 0 ? void 0 : props.userSeenRecommendationsValue) &&
|
|
81
|
-
(props === null || props === void 0 ? void 0 : props.userCanNavigateToTroubleshoot), nextButtonLabel:
|
|
99
|
+
(props === null || props === void 0 ? void 0 : props.userCanNavigateToTroubleshoot), nextButtonLabel: informationButtonLabel() }),
|
|
82
100
|
[AppRouteSections.DESCRIBE_MORE]: Object.assign(Object.assign({}, defaultRouteConfiguration), { id: AppRouteSections.DESCRIBE_MORE, name: t('Describe more'), component: (React.createElement(MainSection, { stepNumber: 4, totalSteps: 6, section: AppRouteSections.DESCRIBE_MORE, title: React.createElement(React.Fragment, null,
|
|
83
101
|
t('Case information'),
|
|
84
102
|
isEmpty(RouteUtils.seBasePath) && isSelectedAccounntSecureSupport && (React.createElement("span", { className: "secured-support" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"caseCreationWorkflows.d.ts","sourceRoot":"","sources":["../../../src/models/caseCreationWorkflows.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,GAAG,CAAC;IACd,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,cAAc,EAAE,CAAC;CAChC;AAED,UAAU,SAAS;IACf,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;CACzB"}
|
|
1
|
+
{"version":3,"file":"caseCreationWorkflows.d.ts","sourceRoot":"","sources":["../../../src/models/caseCreationWorkflows.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,GAAG,CAAC;IACd,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,cAAc,EAAE,CAAC;CAChC;AAED,UAAU,SAAS;IACf,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -176,7 +176,8 @@ export declare enum CaseReducerConstants {
|
|
|
176
176
|
resetCaseNoOfCreatedCase = "resetCaseNoOfCreatedCase",
|
|
177
177
|
setIsPostingRemoteRequestCommentCompleted = "setIsPostingRemoteRequestCommentCompleted",
|
|
178
178
|
setIsPostingRemoteRequestCommentCompletedError = "setIsPostingRemoteRequestCommentCompletedError",
|
|
179
|
-
updateComments = "updateComments"
|
|
179
|
+
updateComments = "updateComments",
|
|
180
|
+
setABTestVarioation = "setABTestVarioation"
|
|
180
181
|
}
|
|
181
182
|
export declare const initialCaseState: ICaseState;
|
|
182
183
|
export interface ICaseState {
|
|
@@ -234,6 +235,7 @@ export interface ICaseState {
|
|
|
234
235
|
isCasePhoneUpdating?: boolean;
|
|
235
236
|
cveWorkflowRecommendation?: ICVEWorkflowRecommendation[];
|
|
236
237
|
isCveModalOpened?: boolean;
|
|
238
|
+
ABTestVarioation?: string;
|
|
237
239
|
}
|
|
238
240
|
export interface ICreateCasePayloadType extends ICaseState {
|
|
239
241
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseConstNTypes.d.ts","sourceRoot":"","sources":["../../../src/reducers/CaseConstNTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,YA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AmB,CAAC,gBAAgB,EAAE,CAAC,CAAC;IACzD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0BAA0B,EAAE,OAAO,CAAC;IACpC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,sCAAsC,CAAC,EAAE,OAAO,CAAC;IACjD,kDAAkD,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxE,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,mCAAmC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC;IAChF,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,yBAAyB,CAAC,EAAE,0BAA0B,EAAE,CAAC;IACzD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,sBAAuB,SAAQ,UAAU;CAAG;AAC7D,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,oBAAoB,EAAE,sBAAsB,CAAC,CAAC;AACpF,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC;AAEhE,eAAO,MAAM,qCAAqC,+CAA+C,CAAC;AAClG,eAAO,MAAM,yCAAyC,+CAA+C,CAAC"}
|
|
@@ -128,6 +128,7 @@ export var CaseReducerConstants;
|
|
|
128
128
|
CaseReducerConstants["setIsPostingRemoteRequestCommentCompleted"] = "setIsPostingRemoteRequestCommentCompleted";
|
|
129
129
|
CaseReducerConstants["setIsPostingRemoteRequestCommentCompletedError"] = "setIsPostingRemoteRequestCommentCompletedError";
|
|
130
130
|
CaseReducerConstants["updateComments"] = "updateComments";
|
|
131
|
+
CaseReducerConstants["setABTestVarioation"] = "setABTestVarioation";
|
|
131
132
|
})(CaseReducerConstants || (CaseReducerConstants = {}));
|
|
132
133
|
export const initialCaseState = {
|
|
133
134
|
enableGetSupportProductVersion: true,
|
|
@@ -230,6 +231,7 @@ export const initialCaseState = {
|
|
|
230
231
|
isCasePhoneUpdating: false,
|
|
231
232
|
cveWorkflowRecommendation: [],
|
|
232
233
|
isCveModalOpened: true,
|
|
234
|
+
ABTestVarioation: '',
|
|
233
235
|
};
|
|
234
236
|
export const ORG_ADMIN_SEND_NOTIFCATION_KBASE_LINK = 'https://access.redhat.com/articles/5967811';
|
|
235
237
|
export const NON_ORG_ADMIN_SEND_NOTIFCATION_KBASE_LINK = 'https://access.redhat.com/articles/5967831';
|
|
@@ -49,4 +49,5 @@ export declare function getCustomNotificationEmails(dispatch: CaseReducerDispatc
|
|
|
49
49
|
export declare function updateEmailListState(dispatch: CaseReducerDispatchType, email: string, customEmailsList: IApiResponseDetails<Partial<ICaseNotificationAddresses[]>>, callback: (email: string) => ICaseNotificationAddresses[]): void;
|
|
50
50
|
export declare function getVersionsDetails(dispatch: CaseReducerDispatchType, product: string): Promise<void>;
|
|
51
51
|
export declare const setRemoteRiderFlag: (dispatch: CaseReducerDispatchType, flag: boolean) => void;
|
|
52
|
+
export declare const setABTestVarioation: (dispatch: CaseReducerDispatchType, ABTestVarioation: string) => void;
|
|
52
53
|
//# sourceMappingURL=CaseReducer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/CaseReducer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AAEtH,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,0BAA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BAAoB,CAChC,QAAQ,EAAE,uBAAuB,EACjC,KAAK,EAAE,MAAM,EACb,gBAAgB,EAAE,mBAAmB,CAAC,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAAC,EAC5E,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,0BAA0B,EAAE,QAO5D;AAED,wBAAsB,kBAAkB,CAAC,QAAQ,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,iBAiB1F;AAED,eAAO,MAAM,kBAAkB,aAAc,uBAAuB,QAAQ,OAAO,SAKlF,CAAC;AAEF,eAAO,MAAM,mBAAmB,aAAc,uBAAuB,oBAAoB,MAAM,SAK9F,CAAC"}
|
|
@@ -145,6 +145,9 @@ export const caseReducer = (pState, action) => {
|
|
|
145
145
|
case CaseReducerConstants.setIsPostingRemoteRequestCommentCompletedError: {
|
|
146
146
|
return Object.assign(Object.assign({}, pState), { isPostingRemoteRequestCommentCompleted: false, isPostingRemoteRequestCommentCompletedErrorMessage: action.payload.isPostingRemoteRequestCommentCompletedErrorMessage });
|
|
147
147
|
}
|
|
148
|
+
case CaseReducerConstants.setABTestVarioation: {
|
|
149
|
+
return Object.assign(Object.assign({}, pState), { ABTestVarioation: action.payload.ABTestVarioation });
|
|
150
|
+
}
|
|
148
151
|
default: {
|
|
149
152
|
return pState;
|
|
150
153
|
}
|
|
@@ -921,3 +924,9 @@ export const setRemoteRiderFlag = (dispatch, flag) => {
|
|
|
921
924
|
payload: { caseDetails: { remoteSessionTermsAcked: flag } },
|
|
922
925
|
});
|
|
923
926
|
};
|
|
927
|
+
export const setABTestVarioation = (dispatch, ABTestVarioation) => {
|
|
928
|
+
dispatch({
|
|
929
|
+
type: CaseReducerConstants.setABTestVarioation,
|
|
930
|
+
payload: { ABTestVarioation },
|
|
931
|
+
});
|
|
932
|
+
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ISession, ISessionDetails, ISessionItem, ISessionResource, SessionResourceSource as ISessionResourceSource, SessionResourceVisibility as ISessionResourceVisibility } from '@cee-eng/hydrajs/@types/api/pcm/troubleshootSession';
|
|
1
|
+
import { ISession, ISessionDetails, ISessionItem, ISessionResource, SessionResourceSource as ISessionResourceSource, SessionResourceVisibility as ISessionResourceVisibility, SessionResourceWorkflowComponent as ISessionResourceWorkflowComponent } from '@cee-eng/hydrajs/@types/api/pcm/troubleshootSession';
|
|
2
2
|
import { ICasePayload } from '@cee-eng/hydrajs/@types/api/public/case';
|
|
3
3
|
import { ISolrRecommendation } from '@cee-eng/hydrajs/@types/models/solr/solr';
|
|
4
4
|
import { ITopContent, ITopContentList } from '@cee-eng/hydrajs/@types/models/topContent/topContentModel';
|
|
5
5
|
import { IAction, IApiCreateState, IApiResponseDetails, IApiUpdateState } from '@rh-support/types/shared';
|
|
6
|
+
import { ICVEWorkflowRecommendation, IErrataDetails } from '../models/caseCreationWorkflows';
|
|
6
7
|
import { CaseReducerDispatchType } from './CaseConstNTypes';
|
|
7
8
|
export interface IPrevSessions {
|
|
8
9
|
[sessionId: string]: ISessionItem;
|
|
@@ -64,14 +65,16 @@ export declare const updateSession: (dispatch: SessionReducerDispatchType, sessi
|
|
|
64
65
|
export declare const updateActiveSessionId: (dispatch: SessionReducerDispatchType, activeSessionId: string) => void;
|
|
65
66
|
export declare function getRelevantSessionFromSessions(dispatch: SessionReducerDispatchType, currentRelevantSessionId: string, previousSessions: IPrevSessions, caseDetails: Partial<ICasePayload>): string;
|
|
66
67
|
export declare function markAllSessionsUnresolved(dispatch: SessionReducerDispatchType, sessionData: IPrevSessions, userAgent: string): Promise<void>;
|
|
67
|
-
export declare function createOrUpdateSessionResources(dispatch: SessionReducerDispatchType, activeSessionId: string, currentSessionResourceTracking: ISessionResourcesTracking, source: ISessionResourceSource, resources?: ISessionResource[], payload?: string): Promise<void>;
|
|
68
|
-
export declare function createSessionResourcesLocal(dispatch: SessionReducerDispatchType, activeSessionId: string, currentSessionResourceTracking: ISessionResourcesTracking, source: ISessionResourceSource, payload: string, resources?: ISessionResource[]): Promise<void>;
|
|
69
|
-
export declare function updateSessionResourcesLocal(dispatch: SessionReducerDispatchType, activeSessionId: string, currentSessionResourceTracking: ISessionResourcesTracking, source: ISessionResourceSource, resources: ISessionResource[]): Promise<void>;
|
|
68
|
+
export declare function createOrUpdateSessionResources(dispatch: SessionReducerDispatchType, activeSessionId: string, currentSessionResourceTracking: ISessionResourcesTracking, source: ISessionResourceSource, resources?: ISessionResource[], payload?: string, workflowSource?: string | undefined): Promise<void>;
|
|
69
|
+
export declare function createSessionResourcesLocal(dispatch: SessionReducerDispatchType, activeSessionId: string, currentSessionResourceTracking: ISessionResourcesTracking, source: ISessionResourceSource, payload: string, resources?: ISessionResource[], workflowSource?: string | undefined): Promise<void>;
|
|
70
|
+
export declare function updateSessionResourcesLocal(dispatch: SessionReducerDispatchType, activeSessionId: string, currentSessionResourceTracking: ISessionResourcesTracking, source: ISessionResourceSource, resources: ISessionResource[], workflowSource?: string | undefined): Promise<void>;
|
|
70
71
|
export declare const getSessResTCCategory: (tcCategory: ITopContentList, visibilityStatus: ISessionResourceVisibility, rank?: number) => ISessionResource[];
|
|
71
72
|
export declare const getSessResTC: (tc: ITopContent, visibilityStatus: ISessionResourceVisibility, rank?: number) => ISessionResource;
|
|
72
73
|
export declare function getSessResFromRecs(recs: ISolrRecommendation[], visibilityStatus: ISessionResourceVisibility, pageSize?: number, currentPage?: number): ISessionResource[];
|
|
73
74
|
export declare const getSessResFromRec: (rec: ISolrRecommendation, visibilityStatus: ISessionResourceVisibility, rank?: number) => ISessionResource;
|
|
74
75
|
export declare const getSessResFromRules: (url: string, visibilityStatus: ISessionResourceVisibility, rank?: number, resourceEntityId?: any) => ISessionResource;
|
|
76
|
+
export declare const getSessResFromErrata: (errata: IErrataDetails, visibilityStatus: ISessionResourceVisibility, rank?: number, resourceComponent?: ISessionResourceWorkflowComponent | undefined) => ISessionResource;
|
|
77
|
+
export declare const getSessResFromCve: (cve: ICVEWorkflowRecommendation, visibilityStatus: ISessionResourceVisibility, rank?: number, resourceComponent?: ISessionResourceWorkflowComponent | undefined, isCveOnly?: boolean, maxErrata?: number) => ISessionResource[];
|
|
75
78
|
export declare const getRulesToSave: (visiterUrl: any, visitedRec: any, allPresentedRec: any) => ISessionResource[];
|
|
76
79
|
export declare const getInsightRulesToSave: (visiterUrl: any, visitedRec: any, allPresentedRec: any) => ISessionResource[];
|
|
77
80
|
export declare const getSessResFromEA: (cta: string, visibilityStatus: ISessionResourceVisibility, rank?: number, resourceEntityId?: any) => ISessionResource;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionRestoreReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/SessionRestoreReducer.ts"],"names":[],"mappings":"AACA,OAAO,EACH,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,IAAI,sBAAsB,EAC/C,yBAAyB,IAAI,0BAA0B,
|
|
1
|
+
{"version":3,"file":"SessionRestoreReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/SessionRestoreReducer.ts"],"names":[],"mappings":"AACA,OAAO,EACH,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,IAAI,sBAAsB,EAC/C,yBAAyB,IAAI,0BAA0B,EACvD,gCAAgC,IAAI,iCAAiC,EACxE,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AACzG,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAmB1G,OAAO,EAAE,0BAA0B,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAC7F,OAAO,EAAwB,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAWlF,MAAM,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