@rh-support/troubleshoot 2.7.1 → 2.32.2-prodBackup
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/AccountInfo/AccountSelector.js +4 -4
- package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.js +1 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.js +38 -33
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.js +70 -58
- package/lib/esm/components/CaseEditView/Case.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Case.js +50 -14
- package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsAside.js +45 -30
- package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.js +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.js +7 -16
- package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.js +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/DateTime.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/DateTime.js +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/index.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/index.js +10 -9
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +28 -23
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.js +5 -5
- package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.js +3 -3
- package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.js +1 -1
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.js +51 -35
- package/lib/esm/components/CaseEditView/PDFContainer.js +19 -15
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.js +33 -16
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.js +13 -16
- package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.js +50 -42
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.js +33 -16
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.js +53 -48
- package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.js +3 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.js +7 -7
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftPopover.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftV3Popover.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.js +5 -8
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.js +3 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.js +3 -4
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/useCustomEmails.d.ts +1 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/useCustomEmails.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/useCustomEmails.js +2 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseChat.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.js +19 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.js +2 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.js +6 -6
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.js +26 -18
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.css +27 -4
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.js +5 -8
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.js +5 -4
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummary.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummary.js +4 -6
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummaryErrorMessage.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummaryErrorMessage.js +4 -6
- package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/RelatedTasks/RelatedTasks.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/RelatedTasks/RelatedTasks.js +2 -3
- package/lib/esm/components/CaseInformation/CaseGroup.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/CaseGroup.js +1 -2
- package/lib/esm/components/CaseInformation/CaseInformation.js +3 -3
- package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.js +1 -1
- package/lib/esm/components/CaseInformation/Description.js +4 -4
- package/lib/esm/components/CaseInformation/Fts.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Fts.js +8 -8
- package/lib/esm/components/CaseInformation/OpenCaseIssue.js +2 -2
- package/lib/esm/components/CaseInformation/Severity.js +1 -1
- package/lib/esm/components/CaseInformation/SupportLevel.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/SupportLevel.js +16 -10
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.js +14 -11
- package/lib/esm/components/CaseManagement/CaseManagement.js +4 -4
- package/lib/esm/components/CaseManagement/Cep.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/Cep.js +44 -41
- package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.js +50 -42
- package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.js +39 -63
- package/lib/esm/components/CaseManagement/OpenShiftClusterId.js +1 -1
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts +0 -3
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.js +80 -46
- package/lib/esm/components/CaseManagement/RHAssociatesSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/RHAssociatesSelector.js +8 -6
- package/lib/esm/components/CaseManagement/SendNotifications/AddContactToGroupModal.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/AddContactToGroupModal.js +8 -8
- package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.js +19 -21
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.js +11 -8
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.js +55 -21
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.d.ts.map +1 -1
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.js +12 -27
- package/lib/esm/components/ConfirmationModals/PreferredSecureSupportModal.d.ts.map +1 -1
- package/lib/esm/components/ConfirmationModals/PreferredSecureSupportModal.js +1 -1
- package/lib/esm/components/Cve/CveItem.d.ts.map +1 -1
- package/lib/esm/components/Cve/CveItem.js +10 -11
- package/lib/esm/components/Cve/CveModal.d.ts.map +1 -1
- package/lib/esm/components/Cve/CveModal.js +11 -11
- package/lib/esm/components/Cve/CvePanel.d.ts.map +1 -1
- package/lib/esm/components/Cve/CvePanel.js +3 -3
- package/lib/esm/components/Cve/CveSidebar.js +2 -2
- package/lib/esm/components/IdeaInformation/IdeaInformation.js +7 -7
- package/lib/esm/components/ImproveCase/KtQuestions.js +6 -6
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.js +6 -13
- package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/AllProductsSelector.js +12 -8
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts +1 -1
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.js +83 -47
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.js +14 -10
- package/lib/esm/components/ProductSelector/ProductSelector.js +1 -1
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.js +4 -4
- package/lib/esm/components/Recommendations/AsideResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/AsideResults.js +6 -4
- package/lib/esm/components/Recommendations/ClusterRecommendationItems.js +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendations.js +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationsModal.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationsModal.js +10 -11
- package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.js +6 -4
- package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.js +7 -7
- package/lib/esm/components/Recommendations/InsightsResults.js +2 -2
- package/lib/esm/components/Recommendations/InsightsRuleInfo.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/InsightsRuleInfo.js +23 -16
- package/lib/esm/components/Recommendations/RecommendationFeedbackModal.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/RecommendationFeedbackModal.js +7 -7
- package/lib/esm/components/Recommendations/RecommendationInfoBox.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/RecommendationInfoBox.js +7 -7
- package/lib/esm/components/Recommendations/Recommendations.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/Recommendations.js +23 -20
- package/lib/esm/components/Recommendations/RecommendationsLoader.js +1 -1
- package/lib/esm/components/Recommendations/RulesModal.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/RulesModal.js +10 -12
- package/lib/esm/components/Recommendations/WatsonxAiIcon.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/WatsonxAiIcon.js +9 -10
- package/lib/esm/components/RemoteRider/RemoteRiderBanner.js +1 -1
- package/lib/esm/components/Review/Review.js +4 -4
- package/lib/esm/components/SessionRestore/RestoreLastSessionModal.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/RestoreLastSessionModal.js +7 -5
- package/lib/esm/components/SessionRestore/SessionRestore.js +1 -1
- package/lib/esm/components/SessionRestore/SessionRestoreCard.js +1 -1
- package/lib/esm/components/SubmitCase/SubmitCase.d.ts.map +1 -1
- package/lib/esm/components/SubmitCase/SubmitCase.js +21 -21
- package/lib/esm/components/Suggestions/Suggestions.d.ts.map +1 -1
- package/lib/esm/components/Suggestions/Suggestions.js +19 -14
- package/lib/esm/components/Suggestions/TopContent.d.ts.map +1 -1
- package/lib/esm/components/Suggestions/TopContent.js +16 -16
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.d.ts.map +1 -1
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.js +13 -14
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.d.ts.map +1 -1
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.js +20 -16
- package/lib/esm/components/shared/Rule.js +6 -6
- package/lib/esm/components/shared/fileUpload/FileLister.js +6 -6
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.js +7 -6
- package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.js +1 -1
- package/lib/esm/components/shared/fileUpload/css/fileSelector.css +2 -0
- package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.js +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.js +4 -4
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.js +2 -2
- package/lib/esm/components/shared/input/ContactSelectorInternal.d.ts +16 -6
- package/lib/esm/components/shared/input/ContactSelectorInternal.d.ts.map +1 -1
- package/lib/esm/components/shared/input/ContactSelectorInternal.js +133 -23
- package/lib/esm/components/shared/useIsSectionValid.d.ts.map +1 -1
- package/lib/esm/components/shared/useIsSectionValid.js +60 -4
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.js +8 -2
- package/lib/esm/components/wizardLayout/MainSection.js +2 -2
- package/lib/esm/components/wizardLayout/NewFeatureModal.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/NewFeatureModal.js +6 -6
- package/lib/esm/components/wizardLayout/WizardAside.js +3 -3
- package/lib/esm/components/wizardLayout/WizardMain.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardMain.js +62 -19
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts +2 -2
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardNavigation.js +21 -22
- package/lib/esm/css/app.css +18 -17
- package/lib/esm/css/case.css +62 -22
- package/lib/esm/css/results.css +2 -2
- package/lib/esm/hooks/useWizard.d.ts.map +1 -1
- package/lib/esm/hooks/useWizard.js +1 -3
- package/lib/esm/reducers/CaseReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseReducer.js +2 -2
- package/lib/esm/reducers/RouteConstNTypes.d.ts +1 -2
- package/lib/esm/reducers/RouteConstNTypes.d.ts.map +1 -1
- package/lib/esm/reducers/RouteConstNTypes.js +2 -0
- package/lib/esm/reducers/RulesReducer.d.ts.map +1 -1
- package/lib/esm/scss/_main.scss +251 -94
- package/lib/esm/scss/_pf-overrides.scss +186 -149
- package/package.json +11 -11
|
@@ -8,10 +8,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { pcm } from '@cee-eng/hydrajs';
|
|
11
|
-
import { Button, ButtonVariant } from '@patternfly/react-core';
|
|
12
|
-
import { useFetch } from '@rh-support/components';
|
|
11
|
+
import { Button, ButtonVariant, WizardFooterWrapper } from '@patternfly/react-core';
|
|
12
|
+
import { useFetch, usePrevious } from '@rh-support/components';
|
|
13
13
|
import { GlobalMetadataStateContext, useCanCreateCase } from '@rh-support/react-context';
|
|
14
|
-
import { dtmTrackEventCaseCreationStepEncountered, getResTypeFromUrl, scrollIntoView } from '@rh-support/utils';
|
|
14
|
+
import { dtmTrackEventCaseCreationStepEncountered, getResTypeFromUrl, PreviousToNewCaseTypeMap, scrollIntoView, } from '@rh-support/utils';
|
|
15
15
|
import find from 'lodash/find';
|
|
16
16
|
import isEmpty from 'lodash/isEmpty';
|
|
17
17
|
import isEqual from 'lodash/isEqual';
|
|
@@ -51,6 +51,7 @@ function WizardNavigation(props) {
|
|
|
51
51
|
const { activeSectionError, isSectionValidFn } = useIsSectionValid(activeSection);
|
|
52
52
|
const [isRecsModalVisible, setIsRecsModalVisible] = useState(false);
|
|
53
53
|
const previousRecommendationTop = useRef(0);
|
|
54
|
+
const previousStep = usePrevious(props.activeStep);
|
|
54
55
|
const { request: resolveSessionRequest } = useFetch(pcm.preCase.session.resolveSession);
|
|
55
56
|
const { sessionRestore: { activeSessionId, sessionResourceTracking }, } = useContext(SessionRestoreStateContext);
|
|
56
57
|
const { SessionResourceSource } = pcm.preCase.session;
|
|
@@ -58,19 +59,16 @@ function WizardNavigation(props) {
|
|
|
58
59
|
isFileRecommendationsTriggered: state.isFileRecommendationsTriggered,
|
|
59
60
|
}), isEqual);
|
|
60
61
|
const caseDispatch = useCaseDispatch();
|
|
61
|
-
useEffect(() => {
|
|
62
|
-
// we need this because when the user hits the troubleshoot tab, we only refresh the children but the state is managed in the parent
|
|
63
|
-
props.setUserSeenRecommendations(false);
|
|
64
|
-
props.userClickedNextonRecommendationsFn(false);
|
|
65
|
-
props.setUserScrolledLabel(false);
|
|
66
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
67
|
-
}, [recommendationState.isLoadingRecommendations]);
|
|
68
62
|
useEffect(() => {
|
|
69
63
|
var _a, _b;
|
|
64
|
+
if ((previousStep === null || previousStep === void 0 ? void 0 : previousStep.id) === ((_a = props.activeStep) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
70
67
|
const isCreatingCase = RouteUtils.getQueryParams(props.routeProps).caseCreate === 'true';
|
|
71
68
|
dtmTrackEventCaseCreationStepEncountered(isCreatingCase,
|
|
72
69
|
// @ts-ignore
|
|
73
|
-
props.activeStep.name,
|
|
70
|
+
props.activeStep.name, props.activeStep.id === AppRouteSections.GET_SUPPORT ||
|
|
71
|
+
props.activeStep.id === AppRouteSections.TROUBLESHOOT, (_b = caseState.caseDetails) === null || _b === void 0 ? void 0 : _b.caseNumber, PreviousToNewCaseTypeMap[caseState.caseDetails.caseType], caseState.caseDetails.summary, caseState.caseDetails.product, caseState.caseDetails.version);
|
|
74
72
|
if (props.activeStep.id === AppRouteSections.RESOURCES) {
|
|
75
73
|
window.scrollTo({
|
|
76
74
|
top: 0,
|
|
@@ -78,7 +76,7 @@ function WizardNavigation(props) {
|
|
|
78
76
|
});
|
|
79
77
|
}
|
|
80
78
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
81
|
-
}, [props.activeStep.id]);
|
|
79
|
+
}, [previousStep === null || previousStep === void 0 ? void 0 : previousStep.id, props.activeStep.id]);
|
|
82
80
|
const [hasUserScrolled, setHasUserScrolled] = useState(false);
|
|
83
81
|
useEffect(() => {
|
|
84
82
|
if (props.activeStep.id !== (isCaseCreate ? AppRouteSections.SUMMARIZE : AppRouteSections.TROUBLESHOOT) ||
|
|
@@ -141,7 +139,7 @@ function WizardNavigation(props) {
|
|
|
141
139
|
}
|
|
142
140
|
};
|
|
143
141
|
}, [recommendationState.numFound, hasUserScrolled, props, isCaseCreate]);
|
|
144
|
-
const onNext = () => {
|
|
142
|
+
const onNext = (e) => {
|
|
145
143
|
var _a;
|
|
146
144
|
updateisNextBtnClickedToShowValidationError(dispatchToRouteReducer, true);
|
|
147
145
|
//handle the new changes for 13406:
|
|
@@ -177,19 +175,19 @@ function WizardNavigation(props) {
|
|
|
177
175
|
// to show all steps, a delay needed in order to steps array
|
|
178
176
|
// to be updated
|
|
179
177
|
window.setTimeout(() => {
|
|
180
|
-
props.onNext && props.onNext();
|
|
178
|
+
props.onNext && props.onNext(e);
|
|
181
179
|
}, 10);
|
|
182
180
|
}
|
|
183
181
|
else {
|
|
184
|
-
props.onNext && props.onNext();
|
|
182
|
+
props.onNext && props.onNext(e);
|
|
185
183
|
}
|
|
186
184
|
}
|
|
187
185
|
return;
|
|
188
186
|
};
|
|
189
|
-
const onBack = () => {
|
|
187
|
+
const onBack = (e) => {
|
|
190
188
|
if (props.activeStep.hidRestOnBack)
|
|
191
189
|
props.onShowRestUpdate(false);
|
|
192
|
-
props.onBack();
|
|
190
|
+
props.onBack(e);
|
|
193
191
|
};
|
|
194
192
|
const onRecsFeedbackModalToggle = () => {
|
|
195
193
|
setIsRecsModalVisible((visible) => !visible);
|
|
@@ -254,11 +252,12 @@ function WizardNavigation(props) {
|
|
|
254
252
|
};
|
|
255
253
|
// To handle entitled products
|
|
256
254
|
return (React.createElement(React.Fragment, null,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
255
|
+
React.createElement(WizardFooterWrapper, null,
|
|
256
|
+
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", disabled: isDisabledGoBack() }, t('Go back'))),
|
|
257
|
+
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)),
|
|
258
|
+
activeSection === AppRouteSections.RESOURCES && 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'))),
|
|
259
|
+
React.createElement(RecommendationFeedbackModal, { isModalOpen: isRecsModalVisible, handleModalToggle: onRecsFeedbackModalToggle, modalContent: t(`Great, we're glad that resolved your issue`) }),
|
|
260
|
+
activeSectionError ? (React.createElement("small", { className: "pf-v6-u-align-self-center pf-v6-u-ml-md text-red" }, activeSectionError)) : null)));
|
|
262
261
|
}
|
|
263
262
|
WizardNavigation.defaultProps = defaultProps;
|
|
264
263
|
export default WizardNavigation;
|
package/lib/esm/css/app.css
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
|
|
55
55
|
.btn.btn-app[disabled] {
|
|
56
56
|
background: #d1d1d1;
|
|
57
|
-
border-color: #d1d1d1;
|
|
57
|
+
border-color: #d1d1d1 !important;
|
|
58
58
|
color: #8d8d8d;
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -91,11 +91,7 @@ form textarea.form-control:focus {
|
|
|
91
91
|
border-bottom-color: #06c;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
form
|
|
95
|
-
resize: vertical !important;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.pf-v5-c-form-control.pf-m-warning {
|
|
94
|
+
.pf-v6-c-form-control.pf-m-warning {
|
|
99
95
|
border-bottom-color: var(--pf-v5-c-form-control--m-warning--BorderBottomColor);
|
|
100
96
|
border-bottom-width: 2px;
|
|
101
97
|
}
|
|
@@ -282,17 +278,17 @@ input[type='checkbox'] {
|
|
|
282
278
|
margin-left: 5px;
|
|
283
279
|
}
|
|
284
280
|
|
|
285
|
-
.pf-tippy-theme.tippy-tooltip .pf-
|
|
281
|
+
.pf-tippy-theme.tippy-tooltip .pf-v6-c-popover {
|
|
286
282
|
background-color: #fff;
|
|
287
283
|
-webkit-box-shadow: rgba(3, 3, 3, 0.05) 0px 1px 1px 0px, rgba(3, 3, 3, 0.06) 0px 4px 8px 4px;
|
|
288
284
|
box-shadow: rgba(3, 3, 3, 0.05) 0px 1px 1px 0px, rgba(3, 3, 3, 0.06) 0px 4px 8px 4px;
|
|
289
285
|
}
|
|
290
286
|
|
|
291
|
-
.pf-
|
|
287
|
+
.pf-v6-c-popover .pf-v6-c-popover__body > * {
|
|
292
288
|
margin-bottom: 0;
|
|
293
289
|
}
|
|
294
290
|
|
|
295
|
-
/* .pf-
|
|
291
|
+
/* .pf-v6-c-popover .pf-v6-c-button {
|
|
296
292
|
position: absolute;
|
|
297
293
|
top: 8px;
|
|
298
294
|
right: 2px;
|
|
@@ -312,14 +308,14 @@ input[type='checkbox'] {
|
|
|
312
308
|
pointer-events: initial !important;
|
|
313
309
|
}
|
|
314
310
|
|
|
315
|
-
.pf-tippy-theme.tippy-tooltip .pf-
|
|
311
|
+
.pf-tippy-theme.tippy-tooltip .pf-v6-c-popover .pf-v6-c-popover__content {
|
|
316
312
|
position: relative;
|
|
317
313
|
background-color: #fff;
|
|
318
314
|
padding: 1.5rem;
|
|
319
315
|
font-size: 16px;
|
|
320
316
|
}
|
|
321
317
|
|
|
322
|
-
.pf-tippy-theme.tippy-tooltip .pf-
|
|
318
|
+
.pf-tippy-theme.tippy-tooltip .pf-v6-c-popover .pf-v6-c-popover__arrow {
|
|
323
319
|
position: absolute;
|
|
324
320
|
width: 25px;
|
|
325
321
|
height: 25px;
|
|
@@ -345,6 +341,7 @@ input[type='checkbox'] {
|
|
|
345
341
|
|
|
346
342
|
.list-flushleft li {
|
|
347
343
|
margin-bottom: 0.5em;
|
|
344
|
+
list-style-type: none;
|
|
348
345
|
}
|
|
349
346
|
|
|
350
347
|
.list-flushleft li:last-child {
|
|
@@ -426,21 +423,21 @@ input[type='checkbox'] {
|
|
|
426
423
|
width: 100%;
|
|
427
424
|
}
|
|
428
425
|
|
|
429
|
-
#summary-progress-bar .pf-
|
|
426
|
+
#summary-progress-bar .pf-v6-c-progress__status-icon {
|
|
430
427
|
display: none;
|
|
431
428
|
}
|
|
432
429
|
|
|
433
|
-
#summary-progress-bar .pf-
|
|
434
|
-
#summary-progress-bar .pf-
|
|
430
|
+
#summary-progress-bar .pf-v6-c-progress__bar,
|
|
431
|
+
#summary-progress-bar .pf-v6-c-progress__indicator {
|
|
435
432
|
height: 2px;
|
|
436
433
|
}
|
|
437
434
|
|
|
438
|
-
#summary-progress-bar.gray .pf-
|
|
439
|
-
#summary-progress-bar.gray .pf-
|
|
435
|
+
#summary-progress-bar.gray .pf-v6-c-progress__bar,
|
|
436
|
+
#summary-progress-bar.gray .pf-v6-c-progress__bar::before {
|
|
440
437
|
background-color: var(--pf-v5-global--palette--black-300) !important;
|
|
441
438
|
}
|
|
442
439
|
|
|
443
|
-
#summary-progress-bar .pf-
|
|
440
|
+
#summary-progress-bar .pf-v6-c-progress.pf-m-sm .pf-v6-c-progress__measure {
|
|
444
441
|
font-size: 14px;
|
|
445
442
|
}
|
|
446
443
|
|
|
@@ -448,3 +445,7 @@ input[type='checkbox'] {
|
|
|
448
445
|
row-gap: 9px;
|
|
449
446
|
line-height: 2px;
|
|
450
447
|
}
|
|
448
|
+
|
|
449
|
+
#additional-information-section textarea {
|
|
450
|
+
resize: none !important;
|
|
451
|
+
}
|
package/lib/esm/css/case.css
CHANGED
|
@@ -26,7 +26,7 @@ pfe-collapse-toggle[aria-expanded='true'] h3:after {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
button,
|
|
29
|
-
.pf-
|
|
29
|
+
.pf-v6-c-button,
|
|
30
30
|
.btn.btn-app {
|
|
31
31
|
font-size: 14px;
|
|
32
32
|
}
|
|
@@ -35,6 +35,12 @@ button,
|
|
|
35
35
|
grid-gap: 0px;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
.case-details-tabs .pf-v6-c-tabs__item.pf-m-current {
|
|
39
|
+
border-bottom: var(--pf-v6-c-tabs__item--m-current__link--after--BorderWidth) solid
|
|
40
|
+
var(--pf-v6-c-tabs__item--m-current__link--after--BorderColor);
|
|
41
|
+
background-color: var(--pf-v6-c-tabs__item--m-current--BackgroundColor);
|
|
42
|
+
}
|
|
43
|
+
|
|
38
44
|
.case-details-tabs .case-details-tabs-content {
|
|
39
45
|
background-color: #f0f0f0;
|
|
40
46
|
margin-left: -1.8rem;
|
|
@@ -171,15 +177,36 @@ button,
|
|
|
171
177
|
}
|
|
172
178
|
|
|
173
179
|
.clipboard-wrapper {
|
|
180
|
+
display: flex;
|
|
174
181
|
position: relative;
|
|
175
182
|
}
|
|
176
183
|
|
|
177
|
-
.
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
184
|
+
.clipboard-wrapper svg {
|
|
185
|
+
color: var(--pf-t--global--text--color--link--default);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.clipboard-wrapper :first-child {
|
|
189
|
+
white-space: nowrap;
|
|
190
|
+
overflow: hidden;
|
|
191
|
+
text-overflow: ellipsis;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.helper-text-size {
|
|
195
|
+
font-size: var(--pf-t--global--font--size--100);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.label-text-size {
|
|
199
|
+
font-size: var(--pf-t--global--font--size--300);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.request-collaboration-input {
|
|
203
|
+
background-color: var(--pf-t--global--background--color--200);
|
|
204
|
+
border: var(--pf-t--global--border--width--box--default) solid var(--pf-t--global--border--color--100);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.copy-button {
|
|
208
|
+
display: flex;
|
|
209
|
+
align-items: center;
|
|
183
210
|
}
|
|
184
211
|
|
|
185
212
|
.clip-code-raw-btn {
|
|
@@ -307,11 +334,7 @@ button,
|
|
|
307
334
|
outline: none;
|
|
308
335
|
}
|
|
309
336
|
|
|
310
|
-
|
|
311
|
-
background-color: #fff;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
input[aria-invalid='true'].pf-v5-c-form-control {
|
|
337
|
+
input[aria-invalid='true'].pf-v6-c-form-control {
|
|
315
338
|
border-bottom-width: 2px !important;
|
|
316
339
|
}
|
|
317
340
|
|
|
@@ -327,21 +350,26 @@ input[aria-invalid='true'].pf-v5-c-form-control {
|
|
|
327
350
|
gap: 8px;
|
|
328
351
|
}
|
|
329
352
|
|
|
330
|
-
.
|
|
353
|
+
.preview-label {
|
|
354
|
+
border: 1px solid transparent; /* Needed for border space */
|
|
331
355
|
border-radius: 18px;
|
|
332
|
-
|
|
333
|
-
background:
|
|
334
|
-
|
|
356
|
+
background: linear-gradient(to right, #f56e6e, #5e40be); /* Border gradient */
|
|
357
|
+
background-origin: border-box;
|
|
358
|
+
background-clip: padding-box, border-box;
|
|
359
|
+
box-shadow: none;
|
|
360
|
+
|
|
361
|
+
/* Inner white background */
|
|
362
|
+
background-image: linear-gradient(white, white), /* inner bg */ linear-gradient(to right, #f56e6e, #5e40be);
|
|
335
363
|
}
|
|
336
364
|
|
|
337
|
-
.preview-label {
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
365
|
+
.preview-label .pf-v6-c-label__text {
|
|
366
|
+
max-height: 1rem;
|
|
367
|
+
display: flex;
|
|
368
|
+
align-items: center;
|
|
341
369
|
}
|
|
342
370
|
|
|
343
|
-
.preview-label .pf-
|
|
344
|
-
|
|
371
|
+
.preview-label .pf-v6-c-label__content {
|
|
372
|
+
font-weight: var(--pf-t--global--font--weight--body--bold);
|
|
345
373
|
}
|
|
346
374
|
|
|
347
375
|
/* Improves the sidebar loading */
|
|
@@ -356,3 +384,15 @@ input[aria-invalid='true'].pf-v5-c-form-control {
|
|
|
356
384
|
min-width: 552px;
|
|
357
385
|
}
|
|
358
386
|
}
|
|
387
|
+
|
|
388
|
+
#reopen-case-description {
|
|
389
|
+
resize: none !important;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.add-watcher-button {
|
|
393
|
+
max-width: 15rem;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.remove-watcher-button {
|
|
397
|
+
max-width: 15rem;
|
|
398
|
+
}
|
package/lib/esm/css/results.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWizard.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWizard.tsx"],"names":[],"mappings":"AA+BA,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":"AA+BA,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;iCA2Qb,OAAO;EAwC7C"}
|
|
@@ -35,8 +35,6 @@ export function useWizard(routeProps, props) {
|
|
|
35
35
|
const { isSectionValidFn, isActiveSectionValid } = useIsSectionValid(activeSection);
|
|
36
36
|
const isIdea = caseType === PreviousCaseTypes.FEATURE_ENHANCEMENT;
|
|
37
37
|
const defaultRouteConfiguration = {
|
|
38
|
-
canJumpTo: true,
|
|
39
|
-
enableNext: false,
|
|
40
38
|
nextButtonLabel: 'Continue',
|
|
41
39
|
};
|
|
42
40
|
const alertMessage = () => {
|
|
@@ -47,7 +45,7 @@ export function useWizard(routeProps, props) {
|
|
|
47
45
|
: t('Please address the errors to proceed');
|
|
48
46
|
return (React.createElement(AlertMessage, { show: isNextBtnClickedToShowValidationError && !isActiveSectionValid, variant: (isLoadingRecommendations && summary && issue) || topContent.isFetching
|
|
49
47
|
? AlertType.INFO
|
|
50
|
-
: AlertType.DANGER, isInline: true, title: title, className: "pf-
|
|
48
|
+
: AlertType.DANGER, isInline: true, title: title, className: "pf-v6-u-mb-lg", "data-tracking-id": isLoading ? 'wait-recommendations-loading' : 'proceed-address-errors' }));
|
|
51
49
|
};
|
|
52
50
|
let summarizeNextButtonLabelLogic = () => {
|
|
53
51
|
return props.userScrolledLabel;
|
|
@@ -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,0BAA0B,EAA+B,MAAM,qCAAqC,CAAC;AAC9G,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAE/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;
|
|
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,0BAA0B,EAA+B,MAAM,qCAAqC,CAAC;AAC9G,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAE/E,OAAO,EAAE,mBAAmB,EA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eAAO,MAAM,oCAAoC,aACnC,uBAAuB,yEAInB,MAAM,kBACJ,MAAM,kBAgFzB,CAAC;AAEF,eAAO,MAAM,yCAAyC,aACxC,uBAAuB,cACrB,OAAO,iBACJ,MAAM,SAMxB,CAAC;AAIF,eAAO,MAAM,yBAAyB,aACxB,uBAAuB,iBAClB,MAAM,eACR,MAAM,sBACC,QAAQ,kBA6B/B,CAAC;AAEF,wBAAsB,2BAA2B,CAAC,QAAQ,EAAE,uBAAuB,EAAE,UAAU,EAAE,MAAM,iBAmBtG;AAGD,wBAAgB,oBAAoB,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,kBAAkB,aAAc,uBAAuB,mBAAmB,MAAM,SAK5F,CAAC"}
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import { accounts, contacts, kase, pcm, publicApi } from '@cee-eng/hydrajs';
|
|
11
11
|
import { formattedApiErrorMessage } from '@rh-support/components';
|
|
12
|
-
import { dtmTrackEventCaseCreationStepEncountered, getApiResourceObject } from '@rh-support/utils';
|
|
12
|
+
import { dtmTrackEventCaseCreationStepEncountered, getApiResourceObject, PreviousToNewCaseTypeMap, } from '@rh-support/utils';
|
|
13
13
|
import delay from 'lodash/delay';
|
|
14
14
|
import filter from 'lodash/filter';
|
|
15
15
|
import find from 'lodash/find';
|
|
@@ -184,7 +184,7 @@ export const submitCase = (dispatch_1, sessionRestoreDispatch_1, caseDetails_1,
|
|
|
184
184
|
}
|
|
185
185
|
// For updating the sessions and posting cep details after case creation
|
|
186
186
|
postCaseCreationProcessing(isSecureSupport, dispatch, sessionRestoreDispatch, caseNumber, caseDetails, sessionItem);
|
|
187
|
-
dtmTrackEventCaseCreationStepEncountered(isCreatingCaseFlow, 'Submit', caseNumber, (_b = caseDetails.caseDetails) === null || _b === void 0 ? void 0 : _b.caseType, caseDetails.caseDetails.summary, caseDetails.caseDetails.product, caseDetails.caseDetails.version);
|
|
187
|
+
dtmTrackEventCaseCreationStepEncountered(isCreatingCaseFlow, 'Submit', false, caseNumber, PreviousToNewCaseTypeMap[(_b = caseDetails.caseDetails) === null || _b === void 0 ? void 0 : _b.caseType], caseDetails.caseDetails.summary, caseDetails.caseDetails.product, caseDetails.caseDetails.version);
|
|
188
188
|
dispatch({ type: CaseReducerConstants.caseCreated, payload: { caseNoOfCreatedCase: caseNumber } });
|
|
189
189
|
}
|
|
190
190
|
catch (error) {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { WizardStep } from '@patternfly/react-core/deprecated';
|
|
2
1
|
export interface IRouteQueryParams {
|
|
3
2
|
product?: string;
|
|
4
3
|
version?: string;
|
|
@@ -11,7 +10,7 @@ export interface IRouteQueryParams {
|
|
|
11
10
|
caseNumber?: string | undefined;
|
|
12
11
|
useflow?: string;
|
|
13
12
|
}
|
|
14
|
-
export interface ISectionConfiguration
|
|
13
|
+
export interface ISectionConfiguration {
|
|
15
14
|
id: number | string;
|
|
16
15
|
stepName: string;
|
|
17
16
|
nextButtonLabel: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RouteConstNTypes.d.ts","sourceRoot":"","sources":["../../../src/reducers/RouteConstNTypes.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"RouteConstNTypes.d.ts","sourceRoot":"","sources":["../../../src/reducers/RouteConstNTypes.ts"],"names":[],"mappings":"AAAA,MAAM,W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AEF,eAAO,MAAM,gCAAgC,oBAQ5C,CAAC;AAEF,eAAO,MAAM,4BAA4B,oBAQxC,CAAC;AAGF,eAAO,MAAM,0BAA0B,oBAAiC,CAAC;AAEzE,eAAO,MAAM,mCAAmC,oBAA+D,CAAC;AAEhH,eAAO,MAAM,kCAAkC,oBAO9C,CAAC;AAEF,eAAO,MAAM,+BAA+B,oBAO3C,CAAC;AAEF,eAAO,MAAM,0CAA0C,oBAStD,CAAC;AAEF,eAAO,MAAM,sCAAsC,oBAA4D,CAAC;AAEhH,eAAO,MAAM,qCAAqC,oBAGjD,CAAC;AAEF,eAAO,MAAM,6BAA6B,oBAAiC,CAAC;AAE5E,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EAKtD,CAAC"}
|
|
@@ -69,6 +69,7 @@ export const showSideBarEARuleWidgetSections = [
|
|
|
69
69
|
AppRouteSections.RESOURCES,
|
|
70
70
|
AppRouteSections.CONFIGURATION,
|
|
71
71
|
AppRouteSections.GET_SUPPORT,
|
|
72
|
+
AppRouteSections.TROUBLESHOOT,
|
|
72
73
|
];
|
|
73
74
|
export const showSideBarEARuleWidgetSectionsExperienceA = [
|
|
74
75
|
AppRouteSections.SUMMARIZE,
|
|
@@ -78,6 +79,7 @@ export const showSideBarEARuleWidgetSectionsExperienceA = [
|
|
|
78
79
|
AppRouteSections.CONFIGURATION,
|
|
79
80
|
AppRouteSections.GET_SUPPORT,
|
|
80
81
|
AppRouteSections.REVIEW,
|
|
82
|
+
AppRouteSections.TROUBLESHOOT,
|
|
81
83
|
];
|
|
82
84
|
export const showSideBarClusterIdRuleWidgetSections = [AppRouteSections.CONFIGURATION, AppRouteSections.REVIEW];
|
|
83
85
|
export const showSideBarFileRecommendationSections = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RulesReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/RulesReducer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,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