@rh-support/troubleshoot 2.4.10-beta.8 → 2.5.0
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/README.md +1 -4
- package/lib/esm/components/AccountInfo/AccountSelector.d.ts +2 -1
- package/lib/esm/components/AccountInfo/AccountSelector.d.ts.map +1 -1
- package/lib/esm/components/AccountInfo/AccountSelector.js +7 -7
- package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.d.ts +2 -1
- package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.d.ts.map +1 -1
- package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.js +36 -11
- package/lib/esm/components/AccountInfo/OwnerSelector.d.ts +2 -1
- package/lib/esm/components/AccountInfo/OwnerSelector.d.ts.map +1 -1
- package/lib/esm/components/AccountInfo/OwnerSelector.js +10 -124
- package/lib/esm/components/AccountInfo/css/accountSelector.css +6 -0
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.js +5 -5
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.d.ts +2 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.js +23 -20
- package/lib/esm/components/CaseEditView/Case.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Case.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Case.js +8 -8
- package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts +2 -1
- package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsAside.js +22 -16
- package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.d.ts +2 -1
- package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.js +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsModals.js +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.d.ts +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.js +45 -25
- package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.d.ts +2 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.js +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseStatus.d.ts +2 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseStatus.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseType.d.ts +2 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseType.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseType.js +18 -4
- package/lib/esm/components/CaseEditView/CaseOverview/DateTime.d.ts +2 -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 +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/index.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/index.js +44 -35
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +115 -47
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts +7 -2
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.js +8 -6
- package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.d.ts +15 -0
- package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.d.ts.map +1 -0
- package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.js +76 -0
- package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.d.ts +2 -1
- package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.js +1 -1
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts +2 -1
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.js +17 -11
- package/lib/esm/components/CaseEditView/PDFContainer.d.ts +1 -1
- package/lib/esm/components/CaseEditView/PDFContainer.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.js +2 -2
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.d.ts +2 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.js +8 -7
- package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.d.ts +2 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.js +13 -12
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.js +2 -2
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts +2 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.js +13 -12
- package/lib/esm/components/CaseEditView/ShareCase/PartnerCaseHelper.d.ts +2 -2
- package/lib/esm/components/CaseEditView/ShareCase/PartnerCaseHelper.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ShareCase/PartnerCaseHelper.js +1 -1
- package/lib/esm/components/CaseEditView/ShareCase/PartnerShare.d.ts +2 -1
- package/lib/esm/components/CaseEditView/ShareCase/PartnerShare.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ShareCase/PartnerShare.js +59 -35
- package/lib/esm/components/CaseEditView/ShareCase/TnC.d.ts +1 -1
- package/lib/esm/components/CaseEditView/ShareCase/TnC.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.js +8 -20
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.js +187 -66
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.d.ts +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.js +10 -13
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.js +31 -12
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftPopover.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftPopover.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftPopover.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftV3Popover.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftV3Popover.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftV3Popover.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.js +15 -14
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.d.ts +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.js +21 -11
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.js +7 -7
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseSbrGroups.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseSbrGroups.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseSbrGroups.js +3 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.d.ts +3 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.d.ts.map +1 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.js +37 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.js +9 -9
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/useCustomEmails.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.js +10 -8
- 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 +29 -11
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.js +89 -31
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.js +6 -4
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.js +4 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.d.ts +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/JumpAndCopyLink.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/JumpAndCopyLink.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useMarkdownFileUploader.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.js +29 -9
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.js +4 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.css +0 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.d.ts +5 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.js +7 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.css +331 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts +7 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts.map +1 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.js +442 -0
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts +3 -2
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.js +5 -5
- package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.js +4 -4
- package/lib/esm/components/CaseEditView/Tabs/RelatedTasks/RelatedTasks.d.ts +4 -0
- package/lib/esm/components/CaseEditView/Tabs/RelatedTasks/RelatedTasks.d.ts.map +1 -0
- package/lib/esm/components/CaseEditView/Tabs/RelatedTasks/RelatedTasks.js +118 -0
- package/lib/esm/components/CaseEditView/index.d.ts +2 -8
- package/lib/esm/components/CaseEditView/index.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/index.js +8 -13
- package/lib/esm/components/CaseInformation/CaseGroup.d.ts +2 -1
- package/lib/esm/components/CaseInformation/CaseGroup.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/CaseGroup.js +72 -26
- package/lib/esm/components/CaseInformation/CaseInformation.d.ts +2 -1
- package/lib/esm/components/CaseInformation/CaseInformation.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/CaseInformation.js +3 -5
- package/lib/esm/components/CaseInformation/CaseType.d.ts +2 -1
- package/lib/esm/components/CaseInformation/CaseType.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumber.d.ts +2 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumber.js +230 -55
- package/lib/esm/components/CaseInformation/ContactPhoneNumberAlert.d.ts +2 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumberAlert.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumberAlert.js +33 -14
- package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.d.ts +2 -1
- 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.d.ts +3 -1
- package/lib/esm/components/CaseInformation/Description.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Description.js +58 -28
- package/lib/esm/components/CaseInformation/FileDiag.d.ts +2 -1
- package/lib/esm/components/CaseInformation/FileDiag.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Fts.d.ts +2 -1
- package/lib/esm/components/CaseInformation/Fts.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Fts.js +38 -8
- package/lib/esm/components/CaseInformation/MandatoryPhonePopOver.d.ts +4 -0
- package/lib/esm/components/CaseInformation/MandatoryPhonePopOver.d.ts.map +1 -0
- package/lib/esm/components/CaseInformation/MandatoryPhonePopOver.js +26 -0
- package/lib/esm/components/CaseInformation/OpenCaseIssue.d.ts +3 -1
- package/lib/esm/components/CaseInformation/OpenCaseIssue.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/OpenCaseIssue.js +54 -29
- package/lib/esm/components/CaseInformation/Severity.d.ts +2 -1
- package/lib/esm/components/CaseInformation/Severity.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Severity.js +18 -32
- package/lib/esm/components/CaseInformation/SupportLevel.d.ts +2 -1
- package/lib/esm/components/CaseInformation/SupportLevel.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/SupportLevel.js +9 -5
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts +2 -1
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.js +3 -2
- package/lib/esm/components/CaseManagement/CaseManagement.d.ts +2 -1
- package/lib/esm/components/CaseManagement/CaseManagement.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/CaseManagement.js +10 -7
- package/lib/esm/components/CaseManagement/Cep.d.ts +2 -1
- package/lib/esm/components/CaseManagement/Cep.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/Cep.js +37 -21
- package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.d.ts +2 -1
- package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.js +14 -13
- package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.d.ts +2 -1
- package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.js +3 -3
- package/lib/esm/components/CaseManagement/OpenReferenceNumber.d.ts +2 -1
- package/lib/esm/components/CaseManagement/OpenReferenceNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/OpenShiftClusterId.d.ts +6 -5
- package/lib/esm/components/CaseManagement/OpenShiftClusterId.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/OpenShiftClusterId.js +46 -28
- package/lib/esm/components/CaseManagement/OpenShiftV3Inputbox.d.ts +2 -1
- package/lib/esm/components/CaseManagement/OpenShiftV3Inputbox.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/OpenShiftV3Inputbox.js +1 -1
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts +2 -1
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.js +7 -6
- package/lib/esm/components/CaseManagement/RHAssociatesSelector.d.ts +2 -1
- package/lib/esm/components/CaseManagement/RHAssociatesSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/RHAssociatesSelector.js +19 -13
- package/lib/esm/components/CaseManagement/SendNotifications/AddContactToGroupModal.d.ts +2 -1
- package/lib/esm/components/CaseManagement/SendNotifications/AddContactToGroupModal.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.d.ts +2 -1
- package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.js +16 -15
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.d.ts +2 -1
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.js +43 -37
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.js +3 -5
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.d.ts +2 -1
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.d.ts.map +1 -1
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.js +3 -3
- package/lib/esm/components/ConfirmationModals/PreCaseConfirmationModals.d.ts +2 -1
- package/lib/esm/components/ConfirmationModals/PreCaseConfirmationModals.d.ts.map +1 -1
- package/lib/esm/components/ConfirmationModals/PreCaseConfirmationModals.js +0 -2
- package/lib/esm/components/ConfirmationModals/PreferredSecureSupportModal.d.ts +2 -1
- package/lib/esm/components/ConfirmationModals/PreferredSecureSupportModal.d.ts.map +1 -1
- package/lib/esm/components/ConfirmationModals/ROCMModal.d.ts +2 -1
- package/lib/esm/components/ConfirmationModals/ROCMModal.d.ts.map +1 -1
- package/lib/esm/components/Cve/CveItem.d.ts +10 -0
- package/lib/esm/components/Cve/CveItem.d.ts.map +1 -0
- package/lib/esm/components/Cve/CveItem.js +139 -0
- package/lib/esm/components/Cve/CveModal.d.ts +3 -0
- package/lib/esm/components/Cve/CveModal.d.ts.map +1 -0
- package/lib/esm/components/Cve/CveModal.js +44 -0
- package/lib/esm/components/Cve/CvePanel.d.ts +7 -0
- package/lib/esm/components/Cve/CvePanel.d.ts.map +1 -0
- package/lib/esm/components/Cve/CvePanel.js +23 -0
- package/lib/esm/components/Cve/CveSidebar.d.ts +3 -0
- package/lib/esm/components/Cve/CveSidebar.d.ts.map +1 -0
- package/lib/esm/components/Cve/CveSidebar.js +23 -0
- package/lib/esm/components/EditDescription/EditDescription.d.ts +2 -1
- package/lib/esm/components/EditDescription/EditDescription.d.ts.map +1 -1
- package/lib/esm/components/EditDescription/EditDescription.js +1 -6
- package/lib/esm/components/IdeaInformation/IdeaInformation.d.ts +2 -1
- package/lib/esm/components/IdeaInformation/IdeaInformation.d.ts.map +1 -1
- package/lib/esm/components/IdeaInformation/IdeaInformation.js +12 -11
- package/lib/esm/components/ImproveCase/FileEARule.d.ts +2 -1
- package/lib/esm/components/ImproveCase/FileEARule.d.ts.map +1 -1
- package/lib/esm/components/ImproveCase/Hostname.d.ts +2 -1
- package/lib/esm/components/ImproveCase/Hostname.d.ts.map +1 -1
- package/lib/esm/components/ImproveCase/Hostname.js +3 -3
- package/lib/esm/components/ImproveCase/KtQuestions.d.ts +2 -1
- package/lib/esm/components/ImproveCase/KtQuestions.d.ts.map +1 -1
- package/lib/esm/components/ImproveCase/KtQuestions.js +62 -58
- package/lib/esm/components/OpenCase/CaseTypeIcons/BugIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/BugIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/CertificationIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/CertificationIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/CustomerServiceIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/CustomerServiceIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/DocumentationIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/DocumentationIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/GearIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/GearIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/IdeaIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/IdeaIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/RcaIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/RcaIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/OpenCase.d.ts +5 -1
- package/lib/esm/components/OpenCase/OpenCase.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/OpenCase.js +9 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/BugIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/BugIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/CertificationIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/CertificationIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/CustomerServiceIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/CustomerServiceIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/DocumentationIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/DocumentationIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/GearIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/GearIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/IdeaIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/IdeaIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/RcaIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/RcaIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.js +12 -15
- package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts +5 -1
- package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/AllProductsSelector.js +29 -9
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts +4 -1
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.js +21 -6
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.d.ts +2 -1
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.js +2 -2
- package/lib/esm/components/ProductSelector/ProductSelector.d.ts +8 -2
- package/lib/esm/components/ProductSelector/ProductSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductSelector.js +45 -23
- package/lib/esm/components/ProductSelector/ProductSelectorLoader.d.ts +2 -1
- package/lib/esm/components/ProductSelector/ProductSelectorLoader.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.d.ts +3 -0
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.js +10 -2
- package/lib/esm/components/Recommendations/AlertToastWrapper.d.ts +3 -0
- package/lib/esm/components/Recommendations/AlertToastWrapper.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/AlertToastWrapper.js +2 -2
- package/lib/esm/components/Recommendations/AsideResults.d.ts +3 -1
- package/lib/esm/components/Recommendations/AsideResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/AsideResults.js +17 -28
- package/lib/esm/components/Recommendations/ClusterRecommendationItems.d.ts +2 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationItems.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationItems.js +8 -5
- package/lib/esm/components/Recommendations/ClusterRecommendations.d.ts +2 -1
- package/lib/esm/components/Recommendations/ClusterRecommendations.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendations.js +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationsModal.d.ts +2 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationsModal.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/CriticalSolutionsToast.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/CriticalSolutionsToast.js +1 -1
- package/lib/esm/components/Recommendations/EARules/EARule.d.ts +7 -6
- package/lib/esm/components/Recommendations/EARules/EARule.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/EARules/EARule.js +7 -6
- package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.d.ts +3 -1
- package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.js +14 -4
- package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.d.ts +2 -1
- package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.js +13 -12
- package/lib/esm/components/Recommendations/EARules/EARuleWidget.d.ts +2 -1
- package/lib/esm/components/Recommendations/EARules/EARuleWidget.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/EARules/EARuleWidget.js +6 -2
- package/lib/esm/components/Recommendations/InsightsResults.d.ts +2 -1
- package/lib/esm/components/Recommendations/InsightsResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/InsightsResults.js +20 -7
- package/lib/esm/components/Recommendations/InsightsRuleInfo.d.ts +3 -1
- package/lib/esm/components/Recommendations/InsightsRuleInfo.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/InsightsRuleInfo.js +17 -14
- package/lib/esm/components/Recommendations/RecommendationFeedbackModal.d.ts +2 -1
- package/lib/esm/components/Recommendations/RecommendationFeedbackModal.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/RecommendationFeedbackModal.js +1 -1
- package/lib/esm/components/Recommendations/RecommendationInfoBox.d.ts +3 -0
- package/lib/esm/components/Recommendations/RecommendationInfoBox.d.ts.map +1 -0
- package/lib/esm/components/Recommendations/RecommendationInfoBox.js +28 -0
- package/lib/esm/components/Recommendations/Recommendations.d.ts +5 -1
- package/lib/esm/components/Recommendations/Recommendations.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/Recommendations.js +108 -39
- package/lib/esm/components/Recommendations/RecommendationsLoader.d.ts +3 -0
- package/lib/esm/components/Recommendations/RecommendationsLoader.d.ts.map +1 -0
- package/lib/esm/components/Recommendations/RecommendationsLoader.js +11 -0
- package/lib/esm/components/Recommendations/RulesModal.d.ts +2 -1
- package/lib/esm/components/Recommendations/RulesModal.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/RulesModal.js +8 -14
- package/lib/esm/components/Recommendations/WatsonxAiIcon.d.ts +10 -0
- package/lib/esm/components/Recommendations/WatsonxAiIcon.d.ts.map +1 -0
- package/lib/esm/components/Recommendations/WatsonxAiIcon.js +13 -0
- package/lib/esm/components/RemoteRider/RemoteRiderAcceptanceModal.d.ts +2 -1
- package/lib/esm/components/RemoteRider/RemoteRiderAcceptanceModal.d.ts.map +1 -1
- package/lib/esm/components/RemoteRider/RemoteRiderBanner.d.ts +2 -1
- package/lib/esm/components/RemoteRider/RemoteRiderBanner.d.ts.map +1 -1
- package/lib/esm/components/RemoteRider/RemoteRiderBanner.js +1 -1
- package/lib/esm/components/Review/Review.d.ts +3 -2
- package/lib/esm/components/Review/Review.d.ts.map +1 -1
- package/lib/esm/components/Review/Review.js +14 -11
- package/lib/esm/components/SessionRestore/SessionItem.d.ts +2 -1
- package/lib/esm/components/SessionRestore/SessionItem.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/SessionItem.js +4 -4
- package/lib/esm/components/SessionRestore/SessionRestore.d.ts +2 -1
- package/lib/esm/components/SessionRestore/SessionRestore.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/SessionRestore.js +51 -35
- package/lib/esm/components/SessionRestore/SessionRestoreCard.d.ts +2 -1
- package/lib/esm/components/SessionRestore/SessionRestoreCard.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/SessionRestoreCard.js +9 -16
- package/lib/esm/components/SubmitCase/ResubmitToast.d.ts +3 -0
- package/lib/esm/components/SubmitCase/ResubmitToast.d.ts.map +1 -1
- package/lib/esm/components/SubmitCase/ResubmitToast.js +3 -1
- package/lib/esm/components/SubmitCase/SubmitCase.d.ts +2 -1
- package/lib/esm/components/SubmitCase/SubmitCase.d.ts.map +1 -1
- package/lib/esm/components/SubmitCase/SubmitCase.js +122 -33
- package/lib/esm/components/Suggestions/Suggestions.d.ts +2 -1
- package/lib/esm/components/Suggestions/Suggestions.d.ts.map +1 -1
- package/lib/esm/components/Suggestions/Suggestions.js +10 -3
- package/lib/esm/components/Suggestions/TopContent.d.ts +2 -2
- package/lib/esm/components/Suggestions/TopContent.d.ts.map +1 -1
- package/lib/esm/components/Suggestions/TopContent.js +58 -13
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.d.ts +2 -1
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.d.ts.map +1 -1
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.js +25 -34
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.d.ts +2 -1
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.d.ts.map +1 -1
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.js +176 -75
- package/lib/esm/components/shared/Constants.d.ts +5 -4
- package/lib/esm/components/shared/Constants.d.ts.map +1 -1
- package/lib/esm/components/shared/Rule.d.ts +2 -1
- package/lib/esm/components/shared/Rule.d.ts.map +1 -1
- package/lib/esm/components/shared/Rule.js +6 -6
- package/lib/esm/components/shared/fileUpload/FileLister.d.ts +3 -1
- package/lib/esm/components/shared/fileUpload/FileLister.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/FileLister.js +8 -7
- package/lib/esm/components/shared/fileUpload/FileUpload.d.ts +2 -1
- package/lib/esm/components/shared/fileUpload/FileUpload.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/FileUploader.d.ts +2 -1
- package/lib/esm/components/shared/fileUpload/FileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/SectionFileUploader.d.ts +2 -1
- package/lib/esm/components/shared/fileUpload/SectionFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/UploadButton.d.ts +2 -2
- package/lib/esm/components/shared/fileUpload/UploadButton.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts +1 -1
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.js +9 -9
- package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.d.ts +2 -1
- package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.js +1 -1
- package/lib/esm/components/shared/fileUpload/css/fileSelector.css +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.d.ts +2 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.js +4 -3
- package/lib/esm/components/shared/fileUpload/fileSelectors/InputFileSelector.d.ts +2 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/InputFileSelector.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.d.ts +3 -2
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.js +15 -6
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.d.ts +2 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.js +3 -3
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.d.ts +23 -23
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.js +14 -8
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.d.ts +2 -2
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducerContext.d.ts +1 -1
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducerContext.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/useFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/useFileUploader.js +2 -1
- package/lib/esm/components/shared/input/ContactSelectorInternal.d.ts +2 -2
- package/lib/esm/components/shared/input/ContactSelectorInternal.d.ts.map +1 -1
- package/lib/esm/components/shared/useIsSectionValid.d.ts +2 -1
- package/lib/esm/components/shared/useIsSectionValid.d.ts.map +1 -1
- package/lib/esm/components/shared/useIsSectionValid.js +82 -23
- package/lib/esm/components/shared/usePostComment.d.ts.map +1 -1
- package/lib/esm/components/shared/usePostComment.js +4 -2
- package/lib/esm/components/shared/utils.d.ts +4 -1
- package/lib/esm/components/shared/utils.d.ts.map +1 -1
- package/lib/esm/components/shared/utils.js +17 -5
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.d.ts +2 -1
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.js +9 -49
- package/lib/esm/components/wizardLayout/MainSection.d.ts +4 -1
- package/lib/esm/components/wizardLayout/MainSection.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/MainSection.js +28 -4
- package/lib/esm/components/wizardLayout/NewFeatureModal.d.ts +4 -0
- package/lib/esm/components/wizardLayout/NewFeatureModal.d.ts.map +1 -0
- package/lib/esm/components/wizardLayout/NewFeatureModal.js +38 -0
- package/lib/esm/components/wizardLayout/RedHatCustomerPortalIcon.d.ts +3 -0
- package/lib/esm/components/wizardLayout/RedHatCustomerPortalIcon.d.ts.map +1 -0
- package/lib/esm/components/wizardLayout/RedHatCustomerPortalIcon.js +31 -0
- package/lib/esm/components/wizardLayout/WizardAside.d.ts +3 -2
- package/lib/esm/components/wizardLayout/WizardAside.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardAside.js +19 -10
- package/lib/esm/components/wizardLayout/WizardLayout.d.ts +2 -1
- package/lib/esm/components/wizardLayout/WizardLayout.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardLayout.js +50 -47
- package/lib/esm/components/wizardLayout/WizardMain.d.ts +3 -2
- package/lib/esm/components/wizardLayout/WizardMain.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardMain.js +31 -4
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts +11 -3
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardNavigation.js +137 -20
- package/lib/esm/components/wizardLayout/index.d.ts +2 -3
- package/lib/esm/components/wizardLayout/index.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/index.js +4 -11
- package/lib/esm/constants/caseDetailsConstants.d.ts +9 -3
- package/lib/esm/constants/caseDetailsConstants.d.ts.map +1 -1
- package/lib/esm/constants/caseDetailsConstants.js +9 -2
- package/lib/esm/context/CaseContext.d.ts +1 -1
- package/lib/esm/context/CaseContext.d.ts.map +1 -1
- package/lib/esm/context/CaseContext.js +1 -1
- package/lib/esm/context/CaseDetailsPageContext.d.ts +1 -1
- package/lib/esm/context/CaseDetailsPageContext.d.ts.map +1 -1
- package/lib/esm/context/CaseDiscussionTabContext.d.ts +1 -1
- package/lib/esm/context/CaseDiscussionTabContext.d.ts.map +1 -1
- package/lib/esm/context/CaseOverviewContext.d.ts +8 -0
- package/lib/esm/context/CaseOverviewContext.d.ts.map +1 -0
- package/lib/esm/context/CaseOverviewContext.js +10 -0
- package/lib/esm/context/ClusterRecommendationsContext.d.ts +1 -1
- package/lib/esm/context/ClusterRecommendationsContext.d.ts.map +1 -1
- package/lib/esm/context/RecommendationContext.d.ts +1 -1
- package/lib/esm/context/RecommendationContext.d.ts.map +1 -1
- package/lib/esm/context/RootTroubleshootProvider.d.ts +2 -1
- package/lib/esm/context/RootTroubleshootProvider.d.ts.map +1 -1
- package/lib/esm/context/RouteContext.d.ts +1 -1
- package/lib/esm/context/RouteContext.d.ts.map +1 -1
- package/lib/esm/context/RulesContext.d.ts +1 -1
- package/lib/esm/context/RulesContext.d.ts.map +1 -1
- package/lib/esm/context/SessionRestoreContext.d.ts +1 -1
- package/lib/esm/context/SessionRestoreContext.d.ts.map +1 -1
- package/lib/esm/context/TopContentContext.d.ts +1 -1
- package/lib/esm/context/TopContentContext.d.ts.map +1 -1
- package/lib/esm/css/app.css +43 -14
- package/lib/esm/css/case.css +4 -4
- package/lib/esm/css/productSelector.css +7 -3
- package/lib/esm/css/results.css +6 -0
- package/lib/esm/enums/cache.d.ts +2 -2
- package/lib/esm/enums/cache.d.ts.map +1 -1
- package/lib/esm/hooks/useFetchCVEData.d.ts +5 -0
- package/lib/esm/hooks/useFetchCVEData.d.ts.map +1 -0
- package/lib/esm/hooks/useFetchCVEData.js +138 -0
- package/lib/esm/hooks/useParseRuleMarkdown.d.ts.map +1 -1
- package/lib/esm/hooks/useParseRuleMarkdown.js +1 -1
- package/lib/esm/hooks/useS3Upload.js +2 -2
- package/lib/esm/hooks/useWizard.d.ts +10 -1
- package/lib/esm/hooks/useWizard.d.ts.map +1 -1
- package/lib/esm/hooks/useWizard.js +27 -15
- package/lib/esm/i18n/template-de.d.ts +52 -0
- package/lib/esm/i18n/template-de.d.ts.map +1 -1
- package/lib/esm/i18n/template-de.js +55 -0
- package/lib/esm/i18n/template-es.d.ts +51 -0
- package/lib/esm/i18n/template-es.d.ts.map +1 -1
- package/lib/esm/i18n/template-es.js +53 -0
- package/lib/esm/i18n/template-fr.d.ts +6 -0
- package/lib/esm/i18n/template-fr.d.ts.map +1 -1
- package/lib/esm/i18n/template-fr.js +6 -0
- package/lib/esm/i18n/template-it.d.ts +52 -0
- package/lib/esm/i18n/template-it.d.ts.map +1 -1
- package/lib/esm/i18n/template-it.js +54 -0
- package/lib/esm/i18n/template-jp.d.ts +9 -0
- package/lib/esm/i18n/template-jp.d.ts.map +1 -1
- package/lib/esm/i18n/template-jp.js +11 -2
- package/lib/esm/i18n/template-ko.d.ts +9 -0
- package/lib/esm/i18n/template-ko.d.ts.map +1 -1
- package/lib/esm/i18n/template-ko.js +10 -1
- package/lib/esm/i18n/template-pt.d.ts +50 -0
- package/lib/esm/i18n/template-pt.d.ts.map +1 -1
- package/lib/esm/i18n/template-pt.js +53 -0
- package/lib/esm/i18n/template-zh.d.ts +9 -0
- package/lib/esm/i18n/template-zh.d.ts.map +1 -1
- package/lib/esm/i18n/template-zh.js +9 -0
- package/lib/esm/index.d.ts +0 -1
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +0 -1
- package/lib/esm/models/caseCreationWorkflows.d.ts +27 -0
- package/lib/esm/models/caseCreationWorkflows.d.ts.map +1 -0
- package/lib/esm/models/caseCreationWorkflows.js +1 -0
- package/lib/esm/reducers/CaseConstNTypes.d.ts +42 -13
- package/lib/esm/reducers/CaseConstNTypes.d.ts.map +1 -1
- package/lib/esm/reducers/CaseConstNTypes.js +62 -31
- package/lib/esm/reducers/CaseDetailsPageReducer.d.ts +2 -2
- package/lib/esm/reducers/CaseDetailsPageReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseDetailsPageReducer.js +1 -1
- package/lib/esm/reducers/CaseDiscussionTabReducer.d.ts +5 -4
- package/lib/esm/reducers/CaseDiscussionTabReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseDiscussionTabReducer.js +7 -3
- package/lib/esm/reducers/CaseHelpers.d.ts +1 -0
- package/lib/esm/reducers/CaseHelpers.d.ts.map +1 -1
- package/lib/esm/reducers/CaseHelpers.js +21 -25
- package/lib/esm/reducers/CaseOverviewReducer.d.ts +3 -3
- package/lib/esm/reducers/CaseOverviewReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseReducer.d.ts +5 -5
- package/lib/esm/reducers/CaseReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseReducer.js +137 -70
- package/lib/esm/reducers/ClusterRecommendationsReducer.d.ts +2 -2
- package/lib/esm/reducers/ClusterRecommendationsReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RecommendationsReducer.d.ts +6 -4
- package/lib/esm/reducers/RecommendationsReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RecommendationsReducer.js +12 -9
- package/lib/esm/reducers/RouteConstNTypes.d.ts +6 -2
- package/lib/esm/reducers/RouteConstNTypes.d.ts.map +1 -1
- package/lib/esm/reducers/RouteConstNTypes.js +10 -5
- package/lib/esm/reducers/RouteReducer.d.ts +2 -2
- package/lib/esm/reducers/RouteReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RulesReducer.d.ts +2 -2
- package/lib/esm/reducers/RulesReducer.d.ts.map +1 -1
- package/lib/esm/reducers/SessionRestoreReducer.d.ts +20 -16
- package/lib/esm/reducers/SessionRestoreReducer.d.ts.map +1 -1
- package/lib/esm/reducers/SessionRestoreReducer.js +80 -44
- package/lib/esm/reducers/TopContentReducer.d.ts +2 -2
- package/lib/esm/reducers/TopContentReducer.d.ts.map +1 -1
- package/lib/esm/scss/_main.scss +319 -51
- package/lib/esm/scss/_pf-overrides.scss +792 -0
- package/lib/esm/scss/index.scss +1 -7
- package/lib/esm/utils/caseOpenshiftClusterIdUtils.d.ts.map +1 -1
- package/lib/esm/utils/caseUtils.d.ts +20 -0
- package/lib/esm/utils/caseUtils.d.ts.map +1 -0
- package/lib/esm/utils/caseUtils.js +58 -0
- package/lib/esm/utils/insightRuleInfoUtils.d.ts +4 -0
- package/lib/esm/utils/insightRuleInfoUtils.d.ts.map +1 -0
- package/lib/esm/utils/insightRuleInfoUtils.js +23 -0
- package/lib/esm/utils/routeUtils.d.ts +1 -1
- package/lib/esm/utils/routeUtils.d.ts.map +1 -1
- package/lib/esm/utils/routeUtils.js +2 -1
- package/package.json +54 -50
- package/lib/esm/components/CaseEditView/CaseDetailsWarningMessage.d.ts +0 -8
- package/lib/esm/components/CaseEditView/CaseDetailsWarningMessage.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/CaseDetailsWarningMessage.js +0 -10
- package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.d.ts +0 -8
- package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.js +0 -22
- package/lib/esm/components/CaseEditView/Tabs/CaseBugzilla/CaseBugzilla.d.ts +0 -5
- package/lib/esm/components/CaseEditView/Tabs/CaseBugzilla/CaseBugzilla.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseBugzilla/CaseBugzilla.js +0 -29
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.d.ts +0 -9
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.js +0 -71
- package/lib/esm/components/CaseInformation/ProductNVersion.d.ts +0 -5
- package/lib/esm/components/CaseInformation/ProductNVersion.d.ts.map +0 -1
- package/lib/esm/components/CaseInformation/ProductNVersion.js +0 -20
- package/lib/esm/components/ConfirmationModals/ConfirmedStateSideSupportModal.d.ts +0 -7
- package/lib/esm/components/ConfirmationModals/ConfirmedStateSideSupportModal.d.ts.map +0 -1
- package/lib/esm/components/ConfirmationModals/ConfirmedStateSideSupportModal.js +0 -21
- package/lib/esm/components/Recommendations/ShowRank.d.ts +0 -12
- package/lib/esm/components/Recommendations/ShowRank.d.ts.map +0 -1
- package/lib/esm/components/Recommendations/ShowRank.js +0 -27
- package/lib/esm/hooks/useUserPreference.d.ts +0 -7
- package/lib/esm/hooks/useUserPreference.d.ts.map +0 -1
- package/lib/esm/hooks/useUserPreference.js +0 -36
- package/lib/esm/scss/_pf4-imports.scss +0 -30
- package/lib/esm/scss/_pf4-overrides.scss +0 -488
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionItem.d.ts","sourceRoot":"","sources":["../../../../src/components/SessionRestore/SessionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"SessionItem.d.ts","sourceRoot":"","sources":["../../../../src/components/SessionRestore/SessionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AAMnF,OAAO,KAA+B,MAAM,OAAO,CAAC;AAOpD,UAAU,MAAM;IACZ,SAAS,EAAE,CAAC,WAAW,EAAE,YAAY,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,WAAW,EAAE,YAAY,CAAC;CAC7B;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,qBA8HxC"}
|
|
@@ -80,13 +80,13 @@ export function SessionItem(props) {
|
|
|
80
80
|
askIfResolved && (React.createElement(React.Fragment, null,
|
|
81
81
|
React.createElement("label", null,
|
|
82
82
|
React.createElement(Trans, null, "Did you find a solution?")),
|
|
83
|
-
React.createElement("button", { className: "btn btn-link btn-app", onClick: onResolve, disabled: isResolving, "data-tracking-id": "session-resolved-yes" }, isResolving ? React.createElement(LoadingIndicator, { isInline: true }) : React.createElement(OutlinedThumbsUpIcon, null)),
|
|
84
|
-
React.createElement("button", { className: "btn btn-link btn-app", onClick: onUnResolve, "data-tracking-id": "session-resolved-no" },
|
|
83
|
+
React.createElement("button", { className: "btn btn-link btn-app", onClick: onResolve, disabled: isResolving, "data-tracking-id": "session-resolved-yes", "aria-label": "Thumbs up", type: "button" }, isResolving ? React.createElement(LoadingIndicator, { isInline: true }) : React.createElement(OutlinedThumbsUpIcon, null)),
|
|
84
|
+
React.createElement("button", { className: "btn btn-link btn-app", onClick: onUnResolve, "data-tracking-id": "session-resolved-no", "aria-label": "Thumbs down", type: "button" },
|
|
85
85
|
React.createElement(OutlinedThumbsDownIcon, null)))),
|
|
86
86
|
askToRestore && (React.createElement(React.Fragment, null,
|
|
87
87
|
React.createElement("label", null,
|
|
88
88
|
React.createElement(Trans, null, "Continue session?")),
|
|
89
|
-
React.createElement("button", { className: "btn btn-link btn-app", onClick: onRestoreSession, disabled: isRestoring, "data-tracking-id": "restore-session-yes" },
|
|
89
|
+
React.createElement("button", { className: "btn btn-link btn-app", onClick: onRestoreSession, disabled: isRestoring, "data-tracking-id": "restore-session-yes", type: "button" },
|
|
90
90
|
React.createElement(Trans, null, "Yes")),
|
|
91
|
-
React.createElement("button", { className: "btn btn-link btn-app", onClick: onUnResolveAndDismiss, disabled: isDeactivating, "data-tracking-id": "restore-session-no" }, isDeactivating ? React.createElement(LoadingIndicator, { isInline: true }) : React.createElement(Trans, null, "No")))))));
|
|
91
|
+
React.createElement("button", { className: "btn btn-link btn-app", onClick: onUnResolveAndDismiss, disabled: isDeactivating, "data-tracking-id": "restore-session-no", type: "button" }, isDeactivating ? React.createElement(LoadingIndicator, { isInline: true }) : React.createElement(Trans, null, "No")))))));
|
|
92
92
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { RouteComponentProps } from 'react-router-dom';
|
|
2
3
|
import { IRouteUrlParams } from '../../reducers/RouteConstNTypes';
|
|
3
4
|
interface IProps {
|
|
4
5
|
routeProps: RouteComponentProps<IRouteUrlParams>;
|
|
5
6
|
}
|
|
6
|
-
export declare function SessionRestore(props: IProps): JSX.Element;
|
|
7
|
+
export declare function SessionRestore(props: IProps): React.JSX.Element;
|
|
7
8
|
export {};
|
|
8
9
|
//# sourceMappingURL=SessionRestore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionRestore.d.ts","sourceRoot":"","sources":["../../../../src/components/SessionRestore/SessionRestore.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SessionRestore.d.ts","sourceRoot":"","sources":["../../../../src/components/SessionRestore/SessionRestore.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAQvD,OAAO,EAGH,eAAe,EAElB,MAAM,iCAAiC,CAAC;AAiBzC,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,qBA2V3C"}
|
|
@@ -16,7 +16,7 @@ import includes from 'lodash/includes';
|
|
|
16
16
|
import isEmpty from 'lodash/isEmpty';
|
|
17
17
|
import isEqual from 'lodash/isEqual';
|
|
18
18
|
import orderBy from 'lodash/orderBy';
|
|
19
|
-
import React, { useContext, useEffect, useState } from 'react';
|
|
19
|
+
import React, { useContext, useEffect, useRef, useState } from 'react';
|
|
20
20
|
import { useCaseDispatch, useCaseSelector } from '../../context/CaseContext';
|
|
21
21
|
import { RouteContext } from '../../context/RouteContext';
|
|
22
22
|
import { SessionRestoreDispatchContext, SessionRestoreStateContext } from '../../context/SessionRestoreContext';
|
|
@@ -24,7 +24,7 @@ import { CaseReducerConstants, SESSION_REFERRER_URL_LIMIT } from '../../reducers
|
|
|
24
24
|
import { getSessionDetailsFromCase } from '../../reducers/CaseHelpers';
|
|
25
25
|
import { setCaseAccountNumber, setCaseOwner, setCaseState, updateCaseWithSession } from '../../reducers/CaseReducer';
|
|
26
26
|
import { AppRouteSections, sessionRestoreCardSections, } from '../../reducers/RouteConstNTypes';
|
|
27
|
-
import { createSession, getRelevantSessionFromSessions, loadPreviousSessions, markAllSessionsUnresolved, updateActiveSessionId, updateSession, } from '../../reducers/SessionRestoreReducer';
|
|
27
|
+
import { createSession, getIndividualSessionById, getRelevantSessionFromSessions, loadPreviousSessions, markAllSessionsUnresolved, updateActiveSessionId, updateSession, } from '../../reducers/SessionRestoreReducer';
|
|
28
28
|
import RouteUtils from '../../utils/routeUtils';
|
|
29
29
|
import { resetAttachment } from '../shared/fileUpload';
|
|
30
30
|
import { restoreFilesFromSession } from '../shared/fileUpload/reducer/AttachmentHelper';
|
|
@@ -35,13 +35,13 @@ export function SessionRestore(props) {
|
|
|
35
35
|
const sessionRestoreDispatch = useContext(SessionRestoreDispatchContext);
|
|
36
36
|
const dispatchToAttachmentReducer = useContext(AttachmentDispatchContext);
|
|
37
37
|
const { sessionRestore } = useContext(SessionRestoreStateContext);
|
|
38
|
-
const { selectedNotificationContacts, cepDetails, caseDetails, caseCreation500ErrorStatus,
|
|
38
|
+
const { selectedNotificationContacts, cepDetails, caseDetails, caseCreation500ErrorStatus, ABTestVariation } = useCaseSelector((state) => ({
|
|
39
39
|
openshiftClusterID: state.caseDetails.openshiftClusterID,
|
|
40
40
|
cepDetails: state.cepDetails,
|
|
41
41
|
selectedNotificationContacts: state.selectedNotificationContacts,
|
|
42
42
|
caseDetails: state.caseDetails,
|
|
43
43
|
caseCreation500ErrorStatus: state.caseCreation500ErrorStatus,
|
|
44
|
-
|
|
44
|
+
ABTestVariation: state.ABTestVariation,
|
|
45
45
|
}), isEqual);
|
|
46
46
|
const caseDispatch = useCaseDispatch();
|
|
47
47
|
const { globalMetadataState: { loggedInUsersAccount, loggedInUserRights, referrerUrl }, } = useContext(GlobalMetadataStateContext);
|
|
@@ -52,11 +52,14 @@ export function SessionRestore(props) {
|
|
|
52
52
|
const [isRestoring, setIsRestoring] = useState(false);
|
|
53
53
|
const [previousSessions, setPreviousSessions] = useState([]);
|
|
54
54
|
const previousActiveSessionId = usePrevious(sessionRestore.activeSessionId);
|
|
55
|
+
const isFirstMountRef = useRef(true);
|
|
55
56
|
/**
|
|
56
57
|
* Fetching previous sessions on load
|
|
57
58
|
*/
|
|
58
59
|
useEffect(() => {
|
|
60
|
+
currentUrlSeSessionId && getIndividualSessionById(sessionRestoreDispatch, currentUrlSeSessionId);
|
|
59
61
|
loadPreviousSessions(sessionRestoreDispatch, caseDispatch);
|
|
62
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
60
63
|
}, [sessionRestoreDispatch, caseDispatch]);
|
|
61
64
|
/**
|
|
62
65
|
* Creating/use existing session new session if one doesn't exist when:
|
|
@@ -71,34 +74,46 @@ export function SessionRestore(props) {
|
|
|
71
74
|
* 5. The session doesn't have any visited resource the last time.
|
|
72
75
|
*/
|
|
73
76
|
useEffect(() => {
|
|
74
|
-
if (!sessionRestore.
|
|
77
|
+
if (!isEmpty(sessionRestore.activeSessionId))
|
|
75
78
|
return;
|
|
76
79
|
const hasProductVersionOrSummary = (!isEmpty(caseDetails.product) && !isEmpty(caseDetails.version)) || !isEmpty(caseDetails.summary);
|
|
80
|
+
// Need to skip on the first mount as case details is not reset when navigating from case create page to case list and back.
|
|
81
|
+
// we will just skip if we have product, version or summary in the case details context or we don't have session id in the url.
|
|
82
|
+
if (isFirstMountRef.current) {
|
|
83
|
+
isFirstMountRef.current = false;
|
|
84
|
+
if (hasProductVersionOrSummary || !currentUrlSeSessionId) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
77
88
|
const currentRelevantSession = getRelevantSessionFromSessions(sessionRestoreDispatch, currentUrlSeSessionId, sessionRestore.previousSessions.data, caseDetails);
|
|
78
89
|
const relevantSession = sessionRestore.previousSessions.data[currentRelevantSession];
|
|
79
|
-
const
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
// Checking if session needs to be restored based on found relevant session
|
|
94
|
-
// Found relevent session is not same as activeSessionId and is not being restored
|
|
95
|
-
if (currentRelevantSession !== sessionRestore.activeSessionId && !isRestoring) {
|
|
96
|
-
restoreSession(relevantSession, true);
|
|
90
|
+
const setSession = () => __awaiter(this, void 0, void 0, function* () {
|
|
91
|
+
const needsNewSessionId = hasProductVersionOrSummary && isEmpty(relevantSession);
|
|
92
|
+
if (needsNewSessionId) {
|
|
93
|
+
const userAgent = getUserAgentForCaseMode(isCaseCreate);
|
|
94
|
+
const userAgentAB = userAgent + (ABTestVariation ? '-A-1' : '-B-1');
|
|
95
|
+
let session = {
|
|
96
|
+
userAgent: userAgentAB,
|
|
97
|
+
originatingSystem: userAgent,
|
|
98
|
+
referrerUrl: referrerUrl.substring(0, SESSION_REFERRER_URL_LIMIT),
|
|
99
|
+
isInternal: loggedInUserRights.data.isInternal(),
|
|
100
|
+
};
|
|
101
|
+
if (!sessionRestore.sessionCreationStatus.isCreating && !sessionRestore.sessionCreationStatus.isError) {
|
|
102
|
+
yield createSession(sessionRestoreDispatch, getSessionDetailsFromCase(caseDetails, selectedNotificationContacts), session);
|
|
103
|
+
}
|
|
97
104
|
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
105
|
+
else if (!isEmpty(relevantSession)) {
|
|
106
|
+
// Checking if session needs to be restored based on found relevant session
|
|
107
|
+
// Found relevent session is not same as activeSessionId and is not being restored
|
|
108
|
+
if (currentRelevantSession !== sessionRestore.activeSessionId && !isRestoring) {
|
|
109
|
+
restoreSession(relevantSession, true);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
else if (isEmpty(relevantSession) && !isEmpty(currentUrlSeSessionId)) {
|
|
113
|
+
updateActiveSessionId(sessionRestoreDispatch, undefined);
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
setSession();
|
|
102
117
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
103
118
|
}, [
|
|
104
119
|
caseDetails.product,
|
|
@@ -132,15 +147,16 @@ export function SessionRestore(props) {
|
|
|
132
147
|
: !isEmpty(existingUserAgent) && existingUserAgent !== userAgent
|
|
133
148
|
? existingUserAgent
|
|
134
149
|
: userAgent;
|
|
135
|
-
const userAgentAB = userAgent + (isFetchingRecommendationsFromWatsonX ? '-A-1' : '-B-1');
|
|
136
150
|
let session = {
|
|
137
|
-
userAgent
|
|
138
|
-
originatingSystem,
|
|
151
|
+
userAgent,
|
|
152
|
+
originatingSystem: originatingSystem,
|
|
139
153
|
caseCreationError: caseCreation500ErrorStatus,
|
|
140
154
|
};
|
|
141
155
|
// PCM-12337 - Moved the session patch call to submit case function in CaseReducer.ts
|
|
142
|
-
|
|
143
|
-
|
|
156
|
+
const newSessionDetails = getSessionDetailsFromCase(caseDetails, selectedNotificationContacts);
|
|
157
|
+
if (isEqual(newSessionDetails, relevantSession === null || relevantSession === void 0 ? void 0 : relevantSession.sessionDetails))
|
|
158
|
+
return;
|
|
159
|
+
updateSession(sessionRestoreDispatch, sessionRestore.activeSessionId, newSessionDetails, session);
|
|
144
160
|
}, [
|
|
145
161
|
caseDetails,
|
|
146
162
|
currentUrlSeSessionId,
|
|
@@ -178,7 +194,7 @@ export function SessionRestore(props) {
|
|
|
178
194
|
sessionRestore.hasFetchedPreviousSessions,
|
|
179
195
|
], 500);
|
|
180
196
|
/** Just update the URL with new sessionItem */
|
|
181
|
-
const restoreSession = (
|
|
197
|
+
const restoreSession = (sessionItem_1, ...args_1) => __awaiter(this, [sessionItem_1, ...args_1], void 0, function* (sessionItem, isAutoRestoringSession = false) {
|
|
182
198
|
if (isEmpty(sessionItem))
|
|
183
199
|
return;
|
|
184
200
|
try {
|
|
@@ -263,7 +279,7 @@ export function SessionRestore(props) {
|
|
|
263
279
|
}
|
|
264
280
|
}
|
|
265
281
|
previousSessions = orderBy(previousSessions, (s) => s.session.modifiedDate, 'desc');
|
|
266
|
-
if (
|
|
282
|
+
if (caseDetails.product || caseDetails.summary) {
|
|
267
283
|
previousSessions = previousSessions.filter((s) => {
|
|
268
284
|
var _a, _b, _c, _d, _e, _f;
|
|
269
285
|
return s.session.isActive &&
|
|
@@ -284,7 +300,7 @@ export function SessionRestore(props) {
|
|
|
284
300
|
], 1000);
|
|
285
301
|
if (!sessionRestoreCardSections.includes(activeSection))
|
|
286
302
|
return React.createElement(React.Fragment, null);
|
|
287
|
-
return (React.createElement(
|
|
303
|
+
return (React.createElement("div", { className: "pf-v5-u-mb-md pf-v5-u-mt-0" },
|
|
288
304
|
' ',
|
|
289
305
|
React.createElement(SessionRestoreCard, { onRestore: restoreSession, previousSessions: previousSessions, onCardDismiss: onSessionRestoreCardDismiss }),
|
|
290
306
|
React.createElement(RestoreLastSessionModal, { onRestore: restoreSession, errorSession: sessionRestore.sessionOfCaseCreationError })));
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ISessionItem } from '@cee-eng/hydrajs/@types/api/pcm/troubleshootSession';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
interface IProps {
|
|
3
4
|
onRestore: (sessionItem: ISessionItem) => Promise<void>;
|
|
4
5
|
previousSessions: ISessionItem[];
|
|
5
6
|
onCardDismiss: () => void;
|
|
6
7
|
}
|
|
7
|
-
export declare function SessionRestoreCard(props: IProps): JSX.Element;
|
|
8
|
+
export declare function SessionRestoreCard(props: IProps): React.JSX.Element;
|
|
8
9
|
export {};
|
|
9
10
|
//# sourceMappingURL=SessionRestoreCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionRestoreCard.d.ts","sourceRoot":"","sources":["../../../../src/components/SessionRestore/SessionRestoreCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"SessionRestoreCard.d.ts","sourceRoot":"","sources":["../../../../src/components/SessionRestore/SessionRestoreCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AAInF,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,UAAU,MAAM;IACZ,SAAS,EAAE,CAAC,WAAW,EAAE,YAAY,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,gBAAgB,EAAE,YAAY,EAAE,CAAC;IACjC,aAAa,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,qBA4B/C"}
|
|
@@ -1,27 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import TimesIcon from '@patternfly/react-icons/dist/js/icons/times-icon';
|
|
1
|
+
import { Alert, AlertActionCloseButton } from '@patternfly/react-core';
|
|
3
2
|
import isEmpty from 'lodash/isEmpty';
|
|
4
3
|
import map from 'lodash/map';
|
|
5
4
|
import React, { useState } from 'react';
|
|
6
|
-
import {
|
|
5
|
+
import { useTranslation } from 'react-i18next';
|
|
7
6
|
import { SessionItem } from './SessionItem';
|
|
8
7
|
export function SessionRestoreCard(props) {
|
|
9
|
-
const
|
|
8
|
+
const { t } = useTranslation();
|
|
9
|
+
const [dismissed, setDismissed] = useState(false);
|
|
10
10
|
const onCardDismiss = () => {
|
|
11
|
-
|
|
11
|
+
setDismissed(true);
|
|
12
12
|
props.onCardDismiss && props.onCardDismiss();
|
|
13
13
|
};
|
|
14
|
-
if (
|
|
14
|
+
if (dismissed || isEmpty(props.previousSessions))
|
|
15
15
|
return React.createElement(React.Fragment, null);
|
|
16
|
-
return (React.createElement("
|
|
17
|
-
React.createElement("div", { className: "pf-c-
|
|
18
|
-
React.createElement(BellIcon, { "aria-hidden": "true" })),
|
|
19
|
-
React.createElement("h3", { className: "pf-c-alert__title" },
|
|
20
|
-
React.createElement(Trans, null, "Restore a previous session")),
|
|
21
|
-
React.createElement("div", { className: "pf-c-alert__description" },
|
|
16
|
+
return (React.createElement(Alert, { variant: "custom", isInline: true, title: t('Restore a previous session'), actionClose: React.createElement(AlertActionCloseButton, { onClose: onCardDismiss }), component: "p", className: "restore-session-alert" },
|
|
17
|
+
React.createElement("div", { className: "pf-v5-c-alert__description" },
|
|
22
18
|
React.createElement("ul", { className: "restore-session-list" }, map(props.previousSessions, (sessionItem) => (React.createElement("li", { key: sessionItem.session.id },
|
|
23
|
-
React.createElement(SessionItem, { onRestore: props.onRestore, sessionItem: sessionItem }))))))
|
|
24
|
-
React.createElement("div", { className: "pf-c-alert__action" },
|
|
25
|
-
React.createElement("button", { className: "pf-c-button pf-m-plain", type: "button", "aria-label": "Close", onClick: onCardDismiss, "data-tracking-id": "session-restore-card-dismiss" },
|
|
26
|
-
React.createElement(TimesIcon, { "aria-hidden": "true" })))));
|
|
19
|
+
React.createElement(SessionItem, { onRestore: props.onRestore, sessionItem: sessionItem }))))))));
|
|
27
20
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { RouteComponentProps } from 'react-router-dom';
|
|
3
|
+
import { IRouteUrlParams } from '../../reducers/RouteConstNTypes';
|
|
2
4
|
interface IProps {
|
|
3
5
|
submitCaseAndNavigate: (isReSubmitting: boolean) => void;
|
|
6
|
+
routeProps: RouteComponentProps<IRouteUrlParams>;
|
|
4
7
|
}
|
|
5
8
|
export declare const ResubmitToast: FC<IProps>;
|
|
6
9
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResubmitToast.d.ts","sourceRoot":"","sources":["../../../../src/components/SubmitCase/ResubmitToast.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ResubmitToast.d.ts","sourceRoot":"","sources":["../../../../src/components/SubmitCase/ResubmitToast.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAIvD,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAGlE,UAAU,MAAM;IACZ,qBAAqB,EAAE,CAAC,cAAc,EAAE,OAAO,KAAK,IAAI,CAAC;IACzD,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,MAAM,CAwCpC,CAAC"}
|
|
@@ -4,7 +4,8 @@ import React from 'react';
|
|
|
4
4
|
import { Trans, useTranslation } from 'react-i18next';
|
|
5
5
|
import { useCaseDispatch, useCaseSelector } from '../../context/CaseContext';
|
|
6
6
|
import { updateCaseCreationErrorStatus } from '../../reducers/CaseReducer';
|
|
7
|
-
|
|
7
|
+
import RouteUtils from '../../utils/routeUtils';
|
|
8
|
+
export const ResubmitToast = ({ submitCaseAndNavigate, routeProps }) => {
|
|
8
9
|
const { t } = useTranslation();
|
|
9
10
|
const { caseCreation500ErrorStatus, caseCreationError } = useCaseSelector((state) => ({
|
|
10
11
|
caseCreation500ErrorStatus: state.caseCreation500ErrorStatus,
|
|
@@ -17,6 +18,7 @@ export const ResubmitToast = ({ submitCaseAndNavigate }) => {
|
|
|
17
18
|
};
|
|
18
19
|
const onReturnToCase = () => {
|
|
19
20
|
updateCaseCreationErrorStatus(caseDispatch, false);
|
|
21
|
+
RouteUtils.navigateToSection(routeProps, '/', false);
|
|
20
22
|
};
|
|
21
23
|
return caseCreationError && caseCreation500ErrorStatus ? (React.createElement(Alert, { "data-tracking-id": "resubmit-case-toast", variant: AlertVariant.danger, title: t('Case was not submitted due to an internal error'), actionClose: React.createElement(AlertActionCloseButton, { onClose: onReturnToCase }), actionLinks: React.createElement(React.Fragment, null,
|
|
22
24
|
React.createElement(AlertActionLink, { onClick: onResubmit }, t('Resubmit')),
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { RouteComponentProps } from 'react-router-dom';
|
|
2
3
|
import { IRouteUrlParams } from '../../reducers/RouteConstNTypes';
|
|
3
4
|
interface IProps {
|
|
4
5
|
routeProps: RouteComponentProps<IRouteUrlParams>;
|
|
5
6
|
}
|
|
6
|
-
export default function SubmitCase(props: IProps): JSX.Element;
|
|
7
|
+
export default function SubmitCase(props: IProps): React.JSX.Element;
|
|
7
8
|
export {};
|
|
8
9
|
//# sourceMappingURL=SubmitCase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubmitCase.d.ts","sourceRoot":"","sources":["../../../../src/components/SubmitCase/SubmitCase.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SubmitCase.d.ts","sourceRoot":"","sources":["../../../../src/components/SubmitCase/SubmitCase.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAE/D,OAAO,EAAQ,mBAAmB,EAAe,MAAM,kBAAkB,CAAC;AAQ1E,OAAO,EAAqB,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAWrF,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,MAAM,qBAwZ/C"}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { Env, publicApi } from '@cee-eng/hydrajs';
|
|
2
|
-
import { ActionList, ActionListItem, Button, Text, TextVariants, Tooltip } from '@patternfly/react-core';
|
|
2
|
+
import { ActionList, ActionListItem, Button, Icon, Text, TextVariants, Tooltip } from '@patternfly/react-core';
|
|
3
3
|
import CheckCircleIcon from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
4
|
-
import { AlertMessage, AlertType, useFetch } from '@rh-support/components';
|
|
4
|
+
import { AlertMessage, AlertType, formattedApiErrorMessage, SupportFeedbackForm, useFetch, } from '@rh-support/components';
|
|
5
5
|
import { GlobalMetadataStateContext, useGlobalStateContext } from '@rh-support/react-context';
|
|
6
|
-
import { getConfigField, getRedhatDotComHost, isSpecialSupportOfferingEnabled, PCM_CONFIG_FIELD_TYPE, PreviousCaseTypes, } from '@rh-support/utils';
|
|
6
|
+
import { getConfigField, getRedhatDotComHost, getUrlParsedParams, isSpecialSupportOfferingEnabled, PCM_CONFIG_FIELD_TYPE, PreviousCaseTypes, } from '@rh-support/utils';
|
|
7
7
|
import find from 'lodash/find';
|
|
8
8
|
import isEmpty from 'lodash/isEmpty';
|
|
9
9
|
import isEqual from 'lodash/isEqual';
|
|
10
10
|
import React, { useContext, useEffect, useState } from 'react';
|
|
11
11
|
import { Trans, useTranslation } from 'react-i18next';
|
|
12
|
-
import { Link } from 'react-router-dom';
|
|
13
|
-
import { useCaseSelector } from '../../context/CaseContext';
|
|
12
|
+
import { Link, useLocation } from 'react-router-dom';
|
|
13
|
+
import { useCaseDispatch, useCaseSelector } from '../../context/CaseContext';
|
|
14
14
|
import { ClusterRecommendationsContext } from '../../context/ClusterRecommendationsContext';
|
|
15
15
|
import { RulesStateContext } from '../../context/RulesContext';
|
|
16
16
|
import { TCStateContext } from '../../context/TopContentContext';
|
|
17
|
-
import { getIrtForSLAAndSeverity
|
|
17
|
+
import { getIrtForSLAAndSeverity } from '../../reducers/CaseHelpers';
|
|
18
|
+
import { setCaseState } from '../../reducers/CaseReducer';
|
|
18
19
|
import RouteUtils from '../../utils/routeUtils';
|
|
19
20
|
import { AsideResults } from '../Recommendations/AsideResults';
|
|
20
21
|
import ClusterRecommendations from '../Recommendations/ClusterRecommendations';
|
|
@@ -26,7 +27,7 @@ import { AttachmentStateContext } from '../shared/fileUpload/reducer/AttachmentR
|
|
|
26
27
|
import Suggestions from '../Suggestions/Suggestions';
|
|
27
28
|
export default function SubmitCase(props) {
|
|
28
29
|
var _a;
|
|
29
|
-
const { entitlementSla, severity, caseType, version, versionsDetails, addNotifiedUserError, isCreatingCase, caseCreationError, caseCreationErrorMessage, selectedAccountDetails, caseNoOfCreatedCase, product, screenSessionRequested, } = useCaseSelector((state) => ({
|
|
30
|
+
const { entitlementSla, severity, caseType, version, versionsDetails, addNotifiedUserError, isCreatingCase, caseCreationError, caseCreationErrorMessage, caseCreationErrorCode, caseCreation500ErrorStatus, selectedAccountDetails, caseNoOfCreatedCase, product, screenSessionRequested, phoneCountryCode, phoneAreaCodePrefixLineNumber, } = useCaseSelector((state) => ({
|
|
30
31
|
entitlementSla: state.caseDetails.entitlementSla,
|
|
31
32
|
severity: state.caseDetails.severity,
|
|
32
33
|
caseType: state.caseDetails.caseType,
|
|
@@ -36,11 +37,16 @@ export default function SubmitCase(props) {
|
|
|
36
37
|
isCreatingCase: state.isCreatingCase,
|
|
37
38
|
caseCreationError: state.caseCreationError,
|
|
38
39
|
caseCreationErrorMessage: state.caseCreationErrorMessage,
|
|
40
|
+
caseCreationErrorCode: state.caseCreationErrorCode,
|
|
41
|
+
caseCreation500ErrorStatus: state.caseCreation500ErrorStatus,
|
|
39
42
|
selectedAccountDetails: state.selectedAccountDetails,
|
|
40
43
|
caseNoOfCreatedCase: state.caseNoOfCreatedCase,
|
|
41
44
|
product: state.caseDetails.product,
|
|
42
45
|
screenSessionRequested: state.caseDetails.screenSessionRequested,
|
|
46
|
+
phoneCountryCode: state.caseDetails.phoneCountryCode,
|
|
47
|
+
phoneAreaCodePrefixLineNumber: state.caseDetails.phoneAreaCodePrefixLineNumber,
|
|
43
48
|
}), isEqual);
|
|
49
|
+
const caseDispatch = useCaseDispatch();
|
|
44
50
|
const isIdea = caseType === PreviousCaseTypes.FEATURE_ENHANCEMENT;
|
|
45
51
|
const { topContentState: { topContent }, } = useContext(TCStateContext);
|
|
46
52
|
const { rulesState } = useContext(RulesStateContext);
|
|
@@ -57,14 +63,14 @@ export default function SubmitCase(props) {
|
|
|
57
63
|
};
|
|
58
64
|
const getResponseTimeMessage = (sla, severity) => {
|
|
59
65
|
const irt = getIrtForSLAAndSeverity(sla, severity);
|
|
60
|
-
const ort = getOrtForSLAAndSeverity(sla, severity);
|
|
61
|
-
const finalORT = ort.replace(' or as agreed', '');
|
|
66
|
+
//const ort = getOrtForSLAAndSeverity(sla, severity);
|
|
67
|
+
//const finalORT = ort.replace(' or as agreed', '');
|
|
62
68
|
// when on product version detail doNotShowIRT is true, we don't show Initial Response Time info
|
|
63
69
|
const versionDetail = (versionsDetails === null || versionsDetails === void 0 ? void 0 : versionsDetails.data) && find(versionsDetails.data, (vDetail) => vDetail.name === version);
|
|
64
70
|
return isEmpty(irt || (versionDetail === null || versionDetail === void 0 ? void 0 : versionDetail.doNotShowIRT)) ? (React.createElement(React.Fragment, null)) : (React.createElement(Trans, null,
|
|
65
|
-
"Our response time is ",
|
|
66
|
-
React.createElement("strong", null,
|
|
67
|
-
", or
|
|
71
|
+
"Our initial response time is ",
|
|
72
|
+
React.createElement("strong", null, irt),
|
|
73
|
+
", or the time specified in your"));
|
|
68
74
|
};
|
|
69
75
|
useEffect(() => {
|
|
70
76
|
getBusinessHours.request(loggedInUser.data.normalizedTZ);
|
|
@@ -76,6 +82,7 @@ export default function SubmitCase(props) {
|
|
|
76
82
|
const onRemoteRiderClose = () => {
|
|
77
83
|
setIsRemoteRiderBannerVisible(false);
|
|
78
84
|
};
|
|
85
|
+
// conditions to show Remote Rider banner
|
|
79
86
|
const showRemoteRiderBanner = isRemoteRiderBannerVisible &&
|
|
80
87
|
!loggedInUser.data.isInternal &&
|
|
81
88
|
showRemoteRiderTermsInline &&
|
|
@@ -83,30 +90,101 @@ export default function SubmitCase(props) {
|
|
|
83
90
|
const isNotAnIdea = caseType !== PreviousCaseTypes.FEATURE_ENHANCEMENT;
|
|
84
91
|
// To check if the user is ESS Customer and Product has ESS Support
|
|
85
92
|
const isESSCustomer = isSpecialSupportOfferingEnabled((_a = allProducts.data) === null || _a === void 0 ? void 0 : _a.productsResult, product);
|
|
93
|
+
const queryParams = getUrlParsedParams(useLocation().search);
|
|
94
|
+
const errorCode = queryParams === null || queryParams === void 0 ? void 0 : queryParams.caseCreationErrorCode; // to get errorCode from URL param
|
|
95
|
+
//adding the caseNumber in url to access it after refresh
|
|
96
|
+
useEffect(() => {
|
|
97
|
+
if (caseNoOfCreatedCase) {
|
|
98
|
+
const newParams = {
|
|
99
|
+
caseNumber: caseNoOfCreatedCase,
|
|
100
|
+
};
|
|
101
|
+
RouteUtils.updateQueryParams(props.routeProps, newParams);
|
|
102
|
+
}
|
|
103
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
104
|
+
}, [caseNoOfCreatedCase]);
|
|
105
|
+
// to handle API error code from URL param and set error message alert
|
|
106
|
+
useEffect(() => {
|
|
107
|
+
if (isEqual(queryParams === null || queryParams === void 0 ? void 0 : queryParams.caseCreationErrorCode, '403') &&
|
|
108
|
+
!isCreatingCase &&
|
|
109
|
+
!caseCreationError &&
|
|
110
|
+
isEmpty(caseNoOfCreatedCase)) {
|
|
111
|
+
const errorMessage = (React.createElement("p", null,
|
|
112
|
+
"Unable to create case Contact is set to not manage cases.",
|
|
113
|
+
React.createElement("br", null),
|
|
114
|
+
"Please ",
|
|
115
|
+
React.createElement("a", { href: "/support/contact/customerService" }, "contact Customer Service"),
|
|
116
|
+
" if you think this is an error."));
|
|
117
|
+
const error = {
|
|
118
|
+
code: errorCode,
|
|
119
|
+
message: errorMessage,
|
|
120
|
+
};
|
|
121
|
+
formattedApiErrorMessage(error, { errorCode: { message: errorMessage } });
|
|
122
|
+
setCaseState(caseDispatch, {
|
|
123
|
+
caseCreationErrorMessage: error.message,
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
else if (caseCreation500ErrorStatus &&
|
|
127
|
+
!isCreatingCase &&
|
|
128
|
+
!caseCreationError &&
|
|
129
|
+
isEmpty(caseNoOfCreatedCase)) {
|
|
130
|
+
const errorMessageCaseSubmit500 = (React.createElement(Trans, null,
|
|
131
|
+
React.createElement("p", null,
|
|
132
|
+
"Try submitting again after a minute. Please ",
|
|
133
|
+
React.createElement(SupportFeedbackForm, { isInline: true }),
|
|
134
|
+
" if you continue to see this message.")));
|
|
135
|
+
const error = {
|
|
136
|
+
code: 500,
|
|
137
|
+
message: errorMessageCaseSubmit500,
|
|
138
|
+
};
|
|
139
|
+
formattedApiErrorMessage(error, { '500': { message: errorMessageCaseSubmit500 } });
|
|
140
|
+
setCaseState(caseDispatch, {
|
|
141
|
+
caseCreationErrorMessage: error.message,
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
145
|
+
}, [queryParams]);
|
|
146
|
+
// to update URL params with API error code in case of unsuccessful case submission
|
|
147
|
+
useEffect(() => {
|
|
148
|
+
if (caseCreationErrorCode) {
|
|
149
|
+
RouteUtils.updateQueryParams(props.routeProps, { caseCreationErrorCode: caseCreationErrorCode });
|
|
150
|
+
}
|
|
151
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
152
|
+
}, [caseCreationErrorCode]);
|
|
153
|
+
// on page refresh if case number exists redirect user to the case
|
|
154
|
+
useEffect(() => {
|
|
155
|
+
const caseNumber = queryParams === null || queryParams === void 0 ? void 0 : queryParams.caseNumber;
|
|
156
|
+
if (caseNumber) {
|
|
157
|
+
const navigationObj = { pathname: `/case/${caseNumber}`, search: '' };
|
|
158
|
+
props.routeProps.history.push(navigationObj);
|
|
159
|
+
}
|
|
160
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
161
|
+
}, []);
|
|
86
162
|
return (React.createElement("article", { className: "gird-main" },
|
|
87
|
-
React.createElement(AlertMessage, { className: "pf-u-mt-lg", title: t('Failed to add user.'), variant: AlertType.DANGER, show: addNotifiedUserError }),
|
|
88
|
-
React.createElement(AlertMessage, { className: "pf-u-mt-lg", variant: AlertType.DANGER, show: caseCreationError, title: t("Sorry, we're experiencing an error"), isInline: true },
|
|
163
|
+
React.createElement(AlertMessage, { className: "pf-v5-u-mt-lg", title: t('Failed to add user.'), variant: AlertType.DANGER, show: addNotifiedUserError }),
|
|
164
|
+
React.createElement(AlertMessage, { className: "pf-v5-u-mt-lg", variant: AlertType.DANGER, show: caseCreationError || (!isCreatingCase && !caseCreationError && isEmpty(caseNoOfCreatedCase)), title: t("Sorry, we're experiencing an error"), isInline: true },
|
|
89
165
|
React.createElement(React.Fragment, null, caseCreationErrorMessage)),
|
|
90
|
-
!isCreatingCase && !caseCreationError && (React.createElement(React.Fragment, null,
|
|
166
|
+
!isCreatingCase && !caseCreationError && !isEmpty(caseNoOfCreatedCase) && (React.createElement(React.Fragment, null,
|
|
91
167
|
!isESSCustomer && !screenSessionRequested && showRemoteRiderBanner && (React.createElement(RemoteRiderBanner, { onConfirm: onRemoteRiderConfirm, onClose: onRemoteRiderClose, caseNumber: caseNoOfCreatedCase, isSecureSupport: loggedInUsersAccount.data.secureSupport, loggedInUserRights: loggedInUserRights })),
|
|
92
168
|
React.createElement("div", { className: "submit-case-header-container" },
|
|
93
|
-
React.createElement("p", { className: "kicker kicker-sm pf-u-mb-sm" }, !isEmpty(RouteUtils.seBasePath) &&
|
|
169
|
+
React.createElement("p", { className: "kicker kicker-sm pf-v5-u-mb-sm" }, !isEmpty(RouteUtils.seBasePath) &&
|
|
94
170
|
!isUploadingAttachment(attachmentState.caseFiles.selectedLocalFiles) ? (React.createElement(React.Fragment, null,
|
|
95
|
-
React.createElement("div", { className: "submit-page-title pf-u-mb-lg" },
|
|
96
|
-
React.createElement(
|
|
171
|
+
React.createElement("div", { className: "submit-page-title pf-v5-u-mb-lg" },
|
|
172
|
+
React.createElement(Icon, { className: "submit-case-check-icon pf-v5-u-mt-sm", size: "lg" },
|
|
173
|
+
React.createElement(CheckCircleIcon, null)),
|
|
97
174
|
' ',
|
|
98
|
-
React.createElement(Text, { className: "pf-
|
|
175
|
+
React.createElement(Text, { role: "alert", className: "pf-v5-u-mb-0", component: TextVariants.h1 },
|
|
99
176
|
React.createElement(Trans, null, "We've added your case to our queue"))),
|
|
100
|
-
React.createElement("div", { className: "pf-u-mt-sm" },
|
|
177
|
+
React.createElement("div", { className: "pf-v5-u-mt-sm" },
|
|
101
178
|
React.createElement(Trans, null, "Case number:"),
|
|
102
179
|
"\u00A0",
|
|
103
180
|
React.createElement(Link, { to: `/case/${caseNoOfCreatedCase}`, "data-tracking-id": "get-support-queued-case-number", className: isUploadingAttachment(attachmentState.caseFiles.selectedLocalFiles)
|
|
104
181
|
? 'case-link-disabled'
|
|
105
182
|
: '' }, caseNoOfCreatedCase)))) : (React.createElement(React.Fragment, null,
|
|
106
183
|
React.createElement("div", { className: "submit-page-title" },
|
|
107
|
-
React.createElement(
|
|
184
|
+
React.createElement(Icon, { size: "lg", className: "submit-case-check-icon" },
|
|
185
|
+
React.createElement(CheckCircleIcon, null)),
|
|
108
186
|
' ',
|
|
109
|
-
React.createElement(Text, { component: TextVariants.h1 },
|
|
187
|
+
React.createElement(Text, { role: "alert", component: TextVariants.h1 },
|
|
110
188
|
React.createElement(Trans, null, "We\u2019ve added your case to our queue"))),
|
|
111
189
|
React.createElement(React.Fragment, null,
|
|
112
190
|
React.createElement(Trans, null, "Case number: "),
|
|
@@ -118,31 +196,42 @@ export default function SubmitCase(props) {
|
|
|
118
196
|
!versionsDetails.isFetching &&
|
|
119
197
|
getResponseTimeMessage(entitlementSla, severity),
|
|
120
198
|
React.createElement("a", { className: "inline-link", rel: "noopener noreferrer", href: "/support/offerings/production/sla", target: "_blank", "data-tracking-id": "get-support-sla" },
|
|
121
|
-
React.createElement(Trans, null, "Service Level Agreement
|
|
122
|
-
|
|
123
|
-
|
|
199
|
+
React.createElement(Trans, null, "Service Level Agreement"),
|
|
200
|
+
".")),
|
|
201
|
+
React.createElement("div", { className: "submit-page-contact-info pf-v5-u-mt-lg pf-v5-u-mb-sm" },
|
|
202
|
+
React.createElement("p", { className: "contact-info-title pf-v5-u-mb-sm" },
|
|
124
203
|
React.createElement(Trans, null, "Is this contact information correct?")),
|
|
125
|
-
React.createElement("p", { className: "pf-u-font-size-sm" },
|
|
204
|
+
React.createElement("p", { className: "pf-v5-u-font-size-sm" },
|
|
126
205
|
React.createElement("strong", null,
|
|
127
206
|
React.createElement(Trans, null, "Email:")),
|
|
128
207
|
' ',
|
|
129
|
-
userEmail
|
|
208
|
+
userEmail,
|
|
209
|
+
React.createElement("br", null),
|
|
210
|
+
React.createElement("strong", null,
|
|
211
|
+
React.createElement(Trans, null, "Phone Number:")),
|
|
212
|
+
' ',
|
|
213
|
+
phoneCountryCode,
|
|
214
|
+
" ",
|
|
215
|
+
phoneAreaCodePrefixLineNumber)),
|
|
130
216
|
React.createElement("div", null,
|
|
131
217
|
React.createElement(ActionList, null,
|
|
132
218
|
React.createElement(ActionListItem, null,
|
|
133
|
-
React.createElement(Button, { component: "a", href: `${getRedhatDotComHost(Env.getEnvName())}/wapps/ugc/protected/${'personalInfo.html'}`, target: "_blank", variant: "secondary", "data-tracking-id": "get-support-update-info", className: "update-info-button" },
|
|
219
|
+
React.createElement(Button, { component: "a", href: `${getRedhatDotComHost(Env.getEnvName())}/wapps/ugc/protected/${'personalInfo.html'}`, target: "_blank", variant: "secondary", "data-tracking-id": "get-support-update-info", className: "update-info-button" },
|
|
220
|
+
React.createElement(Trans, null, "Update info"))),
|
|
134
221
|
React.createElement(ActionListItem, null, isUploadingAttachment(attachmentState.caseFiles.selectedLocalFiles) ? (React.createElement(React.Fragment, null,
|
|
135
222
|
React.createElement(Tooltip, { content: t('File upload in progress.'), position: "bottom" },
|
|
136
|
-
React.createElement(Button, { className: "pf-u-ml-md", component: "a", href: getCaseURL(), variant: "primary", "data-tracking-id": "get-support-view-case", "aria-label": t('View case'), isAriaDisabled: isUploadingAttachment(attachmentState.caseFiles.selectedLocalFiles) },
|
|
223
|
+
React.createElement(Button, { className: "pf-v5-u-ml-md", component: "a", href: getCaseURL(), variant: "primary", "data-tracking-id": "get-support-view-case", "aria-label": t('View case'), isAriaDisabled: isUploadingAttachment(attachmentState.caseFiles.selectedLocalFiles) },
|
|
224
|
+
React.createElement(Trans, null, "View case"))))) : (React.createElement(Button, { component: (props) => (React.createElement(Link, Object.assign({}, props, { to: `/case/${caseNoOfCreatedCase}` }))), variant: "primary", "data-tracking-id": "get-support-view-case", "aria-label": t('View case') },
|
|
225
|
+
React.createElement(Trans, null, "View case"))))))),
|
|
137
226
|
!isEmpty(attachmentState.caseFiles.selectedLocalFiles) && (React.createElement(FileUploader, { idToUploadTo: caseNoOfCreatedCase, isSessionId: false, isSecureSupport: loggedInUsersAccount.data.secureSupport })),
|
|
138
227
|
React.createElement("div", null,
|
|
139
228
|
(!isEmpty(topContent.data) || !rulesState.EARules.rules || !clusterRecommendations) &&
|
|
140
|
-
!isIdea && (React.createElement(Text, { className: "pf-u-mt-2xl pf-u-font-weight-light", component: TextVariants.h2 },
|
|
229
|
+
!isIdea && (React.createElement(Text, { className: "pf-v5-u-mt-2xl pf-v5-u-font-weight-light", component: TextVariants.h2 },
|
|
141
230
|
React.createElement(Trans, null, "Troubleshoot this case"))),
|
|
142
231
|
isNotAnIdea && (React.createElement(React.Fragment, null,
|
|
143
|
-
React.createElement("div", { className: isIdea ? 'pf-u-mt-lg' : '' },
|
|
232
|
+
React.createElement("div", { className: isIdea ? 'pf-v5-u-mt-lg' : '' },
|
|
144
233
|
React.createElement(InsightsResults, { isDisplayOnMain: true })),
|
|
145
234
|
React.createElement(ClusterRecommendations, { showClusterRecommendationsModal: false }))),
|
|
146
|
-
React.createElement("div", { className: "pf-u-mt-lg" }, isIdea ? (React.createElement(AsideResults, { routeProps: props.routeProps })) : (!isEmpty(topContent.data) &&
|
|
147
|
-
isNotAnIdea &&
|
|
235
|
+
React.createElement("div", { className: "pf-v5-u-mt-lg" }, isIdea ? (React.createElement(AsideResults, { routeProps: props.routeProps })) : (!isEmpty(topContent.data) &&
|
|
236
|
+
isNotAnIdea && React.createElement(Suggestions, { showTitleDescription: true, showMax: 6 }))))))));
|
|
148
237
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
interface IProps {
|
|
2
3
|
showTitleDescription?: boolean;
|
|
3
4
|
showMax?: number;
|
|
4
5
|
title?: string;
|
|
5
6
|
}
|
|
6
|
-
export default function Suggestions(props: IProps): JSX.Element;
|
|
7
|
+
export default function Suggestions(props: IProps): React.JSX.Element;
|
|
7
8
|
export {};
|
|
8
9
|
//# sourceMappingURL=Suggestions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Suggestions.d.ts","sourceRoot":"","sources":["../../../../src/components/Suggestions/Suggestions.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Suggestions.d.ts","sourceRoot":"","sources":["../../../../src/components/Suggestions/Suggestions.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAU5D,UAAU,MAAM;IACZ,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,MAAM,qBAqHhD"}
|