@rh-support/troubleshoot 2.2.50 → 2.4.10-beta.6

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.
Files changed (190) hide show
  1. package/README.md +1 -1
  2. package/lib/esm/components/AccountInfo/AccountSelector.d.ts.map +1 -1
  3. package/lib/esm/components/AccountInfo/AccountSelector.js +4 -4
  4. package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.js +1 -1
  5. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.js +2 -2
  6. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.d.ts.map +1 -1
  7. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.js +19 -22
  8. package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
  9. package/lib/esm/components/CaseEditView/CaseDetailsAside.js +9 -14
  10. package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.js +1 -1
  11. package/lib/esm/components/CaseEditView/CaseDetailsTabs.d.ts.map +1 -1
  12. package/lib/esm/components/CaseEditView/CaseDetailsTabs.js +13 -18
  13. package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.js +1 -1
  14. package/lib/esm/components/CaseEditView/CaseOverview/DateTime.js +1 -1
  15. package/lib/esm/components/CaseEditView/CaseOverview/index.js +8 -8
  16. package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.js +1 -1
  17. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.d.ts.map +1 -1
  18. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +38 -66
  19. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts +1 -4
  20. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts.map +1 -1
  21. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.js +4 -6
  22. package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.js +1 -1
  23. package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts.map +1 -1
  24. package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.js +11 -17
  25. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.js +2 -2
  26. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.d.ts.map +1 -1
  27. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.js +6 -7
  28. package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.d.ts.map +1 -1
  29. package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.js +10 -11
  30. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.js +2 -2
  31. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts.map +1 -1
  32. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.js +10 -11
  33. package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.d.ts.map +1 -1
  34. package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.js +3 -3
  35. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.js +4 -4
  36. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.js +2 -2
  37. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftPopover.js +1 -1
  38. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftV3Popover.js +1 -1
  39. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.js +1 -1
  40. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.js +2 -2
  41. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.js +2 -2
  42. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts.map +1 -1
  43. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.js +7 -7
  44. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.js +1 -1
  45. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.d.ts.map +1 -1
  46. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.js +6 -6
  47. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.js +1 -1
  48. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseChat.js +1 -1
  49. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.d.ts.map +1 -1
  50. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.js +4 -6
  51. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts.map +1 -1
  52. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.js +1 -18
  53. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.d.ts.map +1 -1
  54. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.js +3 -5
  55. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.js +1 -1
  56. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.js +4 -4
  57. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.d.ts.map +1 -1
  58. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.js +2 -3
  59. package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts.map +1 -1
  60. package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.js +3 -3
  61. package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.js +1 -1
  62. package/lib/esm/components/CaseInformation/CaseInformation.d.ts.map +1 -1
  63. package/lib/esm/components/CaseInformation/CaseInformation.js +3 -3
  64. package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.js +1 -1
  65. package/lib/esm/components/CaseInformation/Description.d.ts.map +1 -1
  66. package/lib/esm/components/CaseInformation/Description.js +3 -3
  67. package/lib/esm/components/CaseInformation/Fts.js +3 -3
  68. package/lib/esm/components/CaseInformation/Severity.d.ts.map +1 -1
  69. package/lib/esm/components/CaseInformation/Severity.js +3 -5
  70. package/lib/esm/components/CaseInformation/SupportLevel.d.ts.map +1 -1
  71. package/lib/esm/components/CaseInformation/SupportLevel.js +3 -4
  72. package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts.map +1 -1
  73. package/lib/esm/components/CaseManagement/CaseLanguageSelector.js +2 -3
  74. package/lib/esm/components/CaseManagement/CaseManagement.js +2 -2
  75. package/lib/esm/components/CaseManagement/Cep.d.ts.map +1 -1
  76. package/lib/esm/components/CaseManagement/Cep.js +14 -30
  77. package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.d.ts.map +1 -1
  78. package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.js +12 -13
  79. package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.js +3 -3
  80. package/lib/esm/components/CaseManagement/OpenShiftClusterId.js +1 -1
  81. package/lib/esm/components/CaseManagement/OpenShiftV3Inputbox.js +1 -1
  82. package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts.map +1 -1
  83. package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.js +3 -4
  84. package/lib/esm/components/CaseManagement/RHAssociatesSelector.js +2 -2
  85. package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.d.ts.map +1 -1
  86. package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.js +14 -15
  87. package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.js +3 -3
  88. package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.js +1 -1
  89. package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.js +3 -3
  90. package/lib/esm/components/IdeaInformation/IdeaInformation.js +5 -5
  91. package/lib/esm/components/ImproveCase/KtQuestions.d.ts.map +1 -1
  92. package/lib/esm/components/ImproveCase/KtQuestions.js +7 -7
  93. package/lib/esm/components/OpenCase/SupportTypeSelectorPage.js +15 -12
  94. package/lib/esm/components/ProductSelector/AllProductsSelector.js +1 -1
  95. package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts.map +1 -1
  96. package/lib/esm/components/ProductSelector/NewProductDropdownSelector.js +5 -6
  97. package/lib/esm/components/ProductSelector/NewProductVersionSelector.js +2 -2
  98. package/lib/esm/components/ProductSelector/ProductSelector.js +2 -2
  99. package/lib/esm/components/Recommendations/AlertToastWrapper.d.ts +0 -3
  100. package/lib/esm/components/Recommendations/AlertToastWrapper.d.ts.map +1 -1
  101. package/lib/esm/components/Recommendations/AlertToastWrapper.js +2 -2
  102. package/lib/esm/components/Recommendations/AsideResults.d.ts +7 -1
  103. package/lib/esm/components/Recommendations/AsideResults.d.ts.map +1 -1
  104. package/lib/esm/components/Recommendations/AsideResults.js +17 -4
  105. package/lib/esm/components/Recommendations/ClusterRecommendationItems.js +1 -1
  106. package/lib/esm/components/Recommendations/ClusterRecommendations.js +1 -1
  107. package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.js +1 -1
  108. package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.js +7 -7
  109. package/lib/esm/components/Recommendations/InsightsResults.d.ts.map +1 -1
  110. package/lib/esm/components/Recommendations/InsightsResults.js +3 -3
  111. package/lib/esm/components/Recommendations/InsightsRuleInfo.js +7 -7
  112. package/lib/esm/components/Recommendations/RecommendationFeedbackModal.js +1 -1
  113. package/lib/esm/components/Recommendations/Recommendations.d.ts +3 -0
  114. package/lib/esm/components/Recommendations/Recommendations.d.ts.map +1 -1
  115. package/lib/esm/components/Recommendations/Recommendations.js +19 -6
  116. package/lib/esm/components/Recommendations/RulesModal.d.ts.map +1 -1
  117. package/lib/esm/components/Recommendations/RulesModal.js +1 -2
  118. package/lib/esm/components/Recommendations/ShowRank.d.ts +12 -0
  119. package/lib/esm/components/Recommendations/ShowRank.d.ts.map +1 -0
  120. package/lib/esm/components/Recommendations/ShowRank.js +27 -0
  121. package/lib/esm/components/RemoteRider/RemoteRiderBanner.js +1 -1
  122. package/lib/esm/components/Review/Review.js +2 -2
  123. package/lib/esm/components/SessionRestore/SessionRestore.d.ts.map +1 -1
  124. package/lib/esm/components/SessionRestore/SessionRestore.js +14 -9
  125. package/lib/esm/components/SessionRestore/SessionRestoreCard.d.ts.map +1 -1
  126. package/lib/esm/components/SessionRestore/SessionRestoreCard.js +16 -9
  127. package/lib/esm/components/SubmitCase/ResubmitToast.d.ts +0 -3
  128. package/lib/esm/components/SubmitCase/ResubmitToast.d.ts.map +1 -1
  129. package/lib/esm/components/SubmitCase/ResubmitToast.js +1 -3
  130. package/lib/esm/components/SubmitCase/SubmitCase.d.ts +7 -1
  131. package/lib/esm/components/SubmitCase/SubmitCase.d.ts.map +1 -1
  132. package/lib/esm/components/SubmitCase/SubmitCase.js +17 -19
  133. package/lib/esm/components/Suggestions/Suggestions.js +1 -1
  134. package/lib/esm/components/Suggestions/TopContent.d.ts.map +1 -1
  135. package/lib/esm/components/Suggestions/TopContent.js +12 -58
  136. package/lib/esm/components/TroubleshootSection/TroubleshootSection.js +6 -6
  137. package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.js +4 -4
  138. package/lib/esm/components/shared/Rule.js +6 -6
  139. package/lib/esm/components/shared/fileUpload/FileLister.js +6 -6
  140. package/lib/esm/components/shared/fileUpload/WidgetFileUploader.js +2 -2
  141. package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.js +1 -1
  142. package/lib/esm/components/shared/fileUpload/css/fileSelector.css +1 -1
  143. package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.d.ts.map +1 -1
  144. package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.js +1 -1
  145. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.js +2 -2
  146. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.js +2 -2
  147. package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.js +1 -1
  148. package/lib/esm/components/shared/useIsSectionValid.js +1 -1
  149. package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.d.ts.map +1 -1
  150. package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.js +0 -6
  151. package/lib/esm/components/wizardLayout/MainSection.js +1 -1
  152. package/lib/esm/components/wizardLayout/WizardAside.d.ts.map +1 -1
  153. package/lib/esm/components/wizardLayout/WizardAside.js +3 -3
  154. package/lib/esm/components/wizardLayout/WizardLayout.d.ts.map +1 -1
  155. package/lib/esm/components/wizardLayout/WizardLayout.js +37 -6
  156. package/lib/esm/components/wizardLayout/WizardMain.js +2 -2
  157. package/lib/esm/components/wizardLayout/WizardNavigation.js +1 -1
  158. package/lib/esm/constants/caseDetailsConstants.d.ts +1 -7
  159. package/lib/esm/constants/caseDetailsConstants.d.ts.map +1 -1
  160. package/lib/esm/constants/caseDetailsConstants.js +0 -7
  161. package/lib/esm/css/app.css +7 -7
  162. package/lib/esm/css/case.css +3 -3
  163. package/lib/esm/hooks/useWizard.js +1 -1
  164. package/lib/esm/reducers/CaseConstNTypes.d.ts +4 -4
  165. package/lib/esm/reducers/CaseConstNTypes.d.ts.map +1 -1
  166. package/lib/esm/reducers/CaseConstNTypes.js +4 -4
  167. package/lib/esm/reducers/CaseHelpers.d.ts.map +1 -1
  168. package/lib/esm/reducers/CaseHelpers.js +0 -2
  169. package/lib/esm/reducers/CaseReducer.d.ts +2 -1
  170. package/lib/esm/reducers/CaseReducer.d.ts.map +1 -1
  171. package/lib/esm/reducers/CaseReducer.js +14 -20
  172. package/lib/esm/reducers/RecommendationsReducer.d.ts +2 -1
  173. package/lib/esm/reducers/RecommendationsReducer.d.ts.map +1 -1
  174. package/lib/esm/reducers/RecommendationsReducer.js +30 -2
  175. package/lib/esm/reducers/RouteConstNTypes.d.ts +2 -2
  176. package/lib/esm/reducers/RouteConstNTypes.d.ts.map +1 -1
  177. package/lib/esm/reducers/SessionRestoreReducer.d.ts +1 -1
  178. package/lib/esm/reducers/SessionRestoreReducer.d.ts.map +1 -1
  179. package/lib/esm/reducers/SessionRestoreReducer.js +1 -7
  180. package/lib/esm/scss/_main.scss +43 -109
  181. package/lib/esm/scss/_pf4-imports.scss +30 -0
  182. package/lib/esm/scss/{_pf-overrides.scss → _pf4-overrides.scss} +85 -214
  183. package/lib/esm/scss/index.scss +2 -1
  184. package/package.json +14 -13
  185. package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.d.ts +0 -13
  186. package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.d.ts.map +0 -1
  187. package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.js +0 -76
  188. package/lib/esm/components/CaseEditView/Tabs/RelatedTickets/RelatedTickets.d.ts +0 -3
  189. package/lib/esm/components/CaseEditView/Tabs/RelatedTickets/RelatedTickets.d.ts.map +0 -1
  190. package/lib/esm/components/CaseEditView/Tabs/RelatedTickets/RelatedTickets.js +0 -118
@@ -8,7 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  import { search } from '@cee-eng/hydrajs';
11
- import { getSolrParams, replaceHighlightingData } from '@rh-support/utils';
11
+ import { getSolrParams, getTrimmedSpecialCharacters, replaceHighlightingData, } from '@rh-support/utils';
12
+ import { WATSONX_DESCRIPTION_LIMIT, WATSONX_SUMMARY_LIMIT } from './CaseConstNTypes';
12
13
  export const initialRecommendationsState = {
13
14
  isLoadingRecommendations: false,
14
15
  isLoadingRecommendationsError: false,
@@ -85,7 +86,8 @@ export const fetchRecommendations = (dispatch, body, max_rows, page_size, highli
85
86
  body.description = body.description && body.description.replace(/\?\?/g, '');
86
87
  }
87
88
  const searchParams = getSolrParams(max_rows, highlighted_fragment_size, additionalFilters, seQueryFields);
88
- const response = yield search.getRecommendationsForCase(body, Object.assign(Object.assign({}, searchParams), { caseNumber, isSecureSupportAccount }), // Need to pass caseNumber and isSecureSupportAccount flag with SOLR parameter which will be used in service worker strategy.
89
+ const response = yield search.getRecommendationsForCase(body, Object.assign(Object.assign({}, searchParams), { caseNumber,
90
+ isSecureSupportAccount }), // Need to pass caseNumber and isSecureSupportAccount flag with SOLR parameter which will be used in service worker strategy.
89
91
  abortSignal);
90
92
  const docs = replaceHighlightingData(response.response.docs, response.highlighting);
91
93
  dispatch({
@@ -101,6 +103,32 @@ export const fetchRecommendations = (dispatch, body, max_rows, page_size, highli
101
103
  dispatch({ type: RecommendationsConstants.receivedRecommendationsError });
102
104
  }
103
105
  });
106
+ export const fetchWatsonXRecommendations = (dispatch, query, max_rows, page_size, highlighted_fragment_size, seQueryFields = false, caseNumber, isSecureSupportAccount, additionalFilters, abortSignal, isRerankEnabled) => __awaiter(void 0, void 0, void 0, function* () {
107
+ dispatch({
108
+ type: RecommendationsConstants.requestRecommendations,
109
+ payload: { prevRecommendationsBody: Object.assign({}, query) },
110
+ });
111
+ try {
112
+ const watsonXQuery = Object.assign(Object.assign(Object.assign({ product: query === null || query === void 0 ? void 0 : query.product, version: query === null || query === void 0 ? void 0 : query.version }, ((query === null || query === void 0 ? void 0 : query.summary) && {
113
+ summary: getTrimmedSpecialCharacters(query.summary, WATSONX_SUMMARY_LIMIT),
114
+ })), ((query === null || query === void 0 ? void 0 : query.description) && {
115
+ description: getTrimmedSpecialCharacters(query.description, WATSONX_DESCRIPTION_LIMIT),
116
+ })), { rerank: isRerankEnabled });
117
+ const response = yield search.getWatsonXRecommendationsForCase(Object.assign(Object.assign({}, watsonXQuery), getSolrParams(max_rows, highlighted_fragment_size, additionalFilters, seQueryFields)), abortSignal);
118
+ const docs = replaceHighlightingData(response.response.docs, response.highlighting);
119
+ dispatch({
120
+ type: RecommendationsConstants.receivedRecommendations,
121
+ payload: {
122
+ allDocs: docs,
123
+ visibleDocs: docs.slice(0, page_size),
124
+ numFound: response.response.numFound,
125
+ },
126
+ });
127
+ }
128
+ catch (error) {
129
+ dispatch({ type: RecommendationsConstants.receivedRecommendationsError });
130
+ }
131
+ });
104
132
  export const setVisibleDocs = (dispatch, visDocs) => {
105
133
  dispatch({ type: RecommendationsConstants.setVisibleDocs, payload: { visibleDocs: visDocs } });
106
134
  };
@@ -1,11 +1,11 @@
1
- import { WizardStep } from '@patternfly/react-core/deprecated';
1
+ import { WizardStep } from '@patternfly/react-core';
2
2
  export interface IRouteQueryParams {
3
3
  product?: string;
4
4
  version?: string;
5
5
  caseCreate?: string;
6
6
  clusterId?: string;
7
7
  seSessionId?: string;
8
- source?: string;
8
+ reranking?: string;
9
9
  summary?: string;
10
10
  }
11
11
  export interface ISectionConfiguration extends WizardStep {
@@ -1 +1 @@
1
- {"version":3,"file":"RouteConstNTypes.d.ts","sourceRoot":"","sources":["../../../src/reducers/RouteConstNTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,MAAM,WAAW,iBAAiB;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,qBAAsB,SAAQ,UAAU;IACrD,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IAGjB,eAAe,EAAE,MAA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,CAAC;AAEzE,eAAO,MAAM,mCAAmC,oBAI/C,CAAC;AAEF,eAAO,MAAM,kCAAkC,oBAO9C,CAAC;AAEF,eAAO,MAAM,+BAA+B,oBAM3C,CAAC;AAEF,eAAO,MAAM,sCAAsC,oBAAyD,CAAC;AAE7G,eAAO,MAAM,qCAAqC,oBAAgE,CAAC;AAEnH,eAAO,MAAM,6BAA6B,oBAAiC,CAAC;AAE5E,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EAKtD,CAAC"}
@@ -56,7 +56,7 @@ export declare type SessionRestoreDispatchType = (value: IActionType) => void;
56
56
  export declare const sessionRestoreReducer: (state: ISessionRestoreState, action: IActionType) => ISessionRestoreState;
57
57
  export declare const loadPreviousSessions: (dispatch: SessionReducerDispatchType, caseDispatch: CaseReducerDispatchType) => Promise<void>;
58
58
  export declare const createSession: (dispatch: SessionReducerDispatchType, sessionDetails: ISessionDetails, session: ISession) => Promise<string>;
59
- export declare const updateSession: (dispatch: SessionReducerDispatchType, sessionId: string, sessionDetails: ISessionDetails, session?: ISession) => Promise<void>;
59
+ export declare const updateSession: (dispatch: SessionReducerDispatchType, sessionId: string, sessionDetails?: ISessionDetails, session?: ISession) => Promise<void>;
60
60
  export declare const updateActiveSessionId: (dispatch: SessionReducerDispatchType, activeSessionId: string) => void;
61
61
  export declare function getRelevantSessionFromSessions(dispatch: SessionReducerDispatchType, currentRelevantSessionId: string, previousSessions: IPrevSessions, caseDetails: Partial<ICasePayload>): string;
62
62
  export declare function markAllSessionsUnresolved(dispatch: SessionReducerDispatchType, sessionData: IPrevSessions, userAgent: string): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"SessionRestoreReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/SessionRestoreReducer.ts"],"names":[],"mappings":"AACA,OAAO,EACH,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,IAAI,sBAAsB,EAC/C,yBAAyB,IAAI,0BAA0B,EAC1D,MAAM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AAY,EAAE,eAAe,EAAE,EAC/B,gBAAgB,EAAE,0BAA0B,GAC7C,gBAAgB,EAAE,CAIpB;AAED,eAAO,MAAM,oBAAoB,eACjB,eAAe,oBACT,0BAA0B,KAC7C,gBAAgB,EAIlB,CAAC;AAEF,eAAO,MAAM,YAAY,OACjB,WAAW,oBACG,0BAA0B,qBACzB,MAAM,SAClB,MAAM,KACd,gBAMD,CAAC;AAEH,wBAAgB,kBAAkB,CAC9B,IAAI,EAAE,mBAAmB,EAAE,EAC3B,gBAAgB,EAAE,0BAA0B,GAC7C,gBAAgB,EAAE,CAIpB;AAGD,eAAO,MAAM,iBAAiB,QACrB,mBAAmB,oBACN,0BAA0B,SACrC,MAAM,KACd,gBAMD,CAAC;AAEH,eAAO,MAAM,mBAAmB,QACvB,MAAM,oBACO,0BAA0B,iCAErC,MAAM,KACd,gBAMD,CAAC;AAEH,eAAO,MAAM,cAAc,gFAa1B,CAAC;AAEF,eAAO,MAAM,qBAAqB,gFAajC,CAAC;AAGF,eAAO,MAAM,gBAAgB,QACpB,MAAM,oBACO,0BAA0B,6BAE7C,gBAKD,CAAC;AAGH,eAAO,MAAM,mCAAmC,QACvC,MAAM,oBACO,0BAA0B,6BAE7C,gBAKD,CAAC;AAEH,wBAAgB,oCAAoC,CAChD,IAAI,KAAA,EACJ,gBAAgB,EAAE,0BAA0B,GAC7C,gBAAgB,EAAE,CAIpB;AAID,eAAO,MAAM,YAAY,eACT,mBAAmB,mBACd,mBAAmB,EAAE,YAC7B,mBAAmB,EAAE,uBAWjC,CAAC"}
@@ -188,13 +188,7 @@ export const updateSession = (dispatch, sessionId, sessionDetails, session) => _
188
188
  payload: { sessionUpdationStatus: getApiUpdationStatus(true) },
189
189
  });
190
190
  const updatedSession = yield patchSession(sessionId, sessionDetails, session);
191
- // to set sessionDetails fn param used because the session api response removes the
192
- // fields that have undefined value and it causes problem when we compare
193
- // sessionDetails and caseDetails
194
- dispatch({
195
- type: SessionRestoreConstants.patchSession,
196
- payload: { sessionItem: { session: updatedSession.session, sessionDetails } },
197
- });
191
+ dispatch({ type: SessionRestoreConstants.patchSession, payload: { sessionItem: updatedSession } });
198
192
  }
199
193
  catch (error) {
200
194
  dispatch({
@@ -193,13 +193,13 @@ div.support-grid-case-details.support-case {
193
193
  }
194
194
  }
195
195
 
196
- .pf-v5-c-switch {
196
+ .pf-c-switch {
197
197
  display: -ms-flexbox;
198
198
  display: flex;
199
199
  align-items: center;
200
200
  }
201
201
 
202
- .pf-v5-c-switch__label {
202
+ .pf-c-switch__label {
203
203
  padding-left: 0.6rem;
204
204
  font-size: 15px;
205
205
 
@@ -224,7 +224,7 @@ div.support-grid-case-details.support-case {
224
224
  font-size: initial;
225
225
  }
226
226
 
227
- .pf-v5-c-button {
227
+ .pf-c-button {
228
228
  font-size: 15px;
229
229
  margin-left: auto;
230
230
 
@@ -326,7 +326,7 @@ div.support-grid-case-details.support-case {
326
326
  -ms-flex-pack: justify;
327
327
  justify-content: space-between;
328
328
 
329
- .pf-v5-c-switch {
329
+ .pf-c-switch {
330
330
  margin-left: auto;
331
331
  }
332
332
 
@@ -466,7 +466,7 @@ div.support-grid-case-details.support-case {
466
466
  }
467
467
  }
468
468
 
469
- .pf-v5-c-expandable-section__toggle {
469
+ .pf-c-expandable-section__toggle {
470
470
  width: 100%;
471
471
  text-align: left;
472
472
  background-color: #f0f0f0;
@@ -476,8 +476,8 @@ div.support-grid-case-details.support-case {
476
476
  }
477
477
 
478
478
  button:not(.close),
479
- button:not(.pf-v5-c-expandable-section__toggle),
480
- .pf-v5-c-button,
479
+ button:not(.pf-c-expandable-section__toggle),
480
+ .pf-c-button,
481
481
  .btn.btn-app {
482
482
  font-size: 14px;
483
483
  }
@@ -536,7 +536,7 @@ div.support-grid-case-details.support-case {
536
536
  & > *:last-child {
537
537
  margin-bottom: 0;
538
538
 
539
- &.pf-v5-c-pagination {
539
+ &.pf-c-pagination {
540
540
  -ms-flex-pack: justify;
541
541
  justify-content: space-between;
542
542
  }
@@ -549,6 +549,11 @@ div.support-grid-case-details.support-case {
549
549
  font-weight: 600;
550
550
  }
551
551
 
552
+ .result-body {
553
+ font-size: 13px;
554
+ word-break: break-word;
555
+ }
556
+
552
557
  .card-body ul {
553
558
  list-style-type: none;
554
559
 
@@ -566,10 +571,10 @@ div.support-grid-case-details.support-case {
566
571
  }
567
572
  }
568
573
 
569
- .pf-v5-c-pagination {
574
+ .pf-c-pagination {
570
575
  padding: 0.2rem;
571
576
 
572
- .pf-v5-c-pagination-nav {
577
+ .pf-c-pagination-nav {
573
578
  align-items: center;
574
579
  }
575
580
  }
@@ -645,50 +650,41 @@ mark {
645
650
 
646
651
  // pinning feature - can't be overly specific here
647
652
  .recommendation-header {
648
- font-size: 14px;
649
- font-weight: 600;
650
-
651
- .pinned-resource {
652
- color: var(--pf-v5-global--primary-color--100);
653
- }
653
+ font-size: 15px;
654
654
 
655
+ button:hover[title='Pin'],
655
656
  button:hover[title='Link'] {
656
657
  color: #6ca100;
657
658
  }
658
659
 
660
+ button[title='Unpin'],
659
661
  button[title='Unlink'] {
660
662
  color: #6ca100;
661
663
 
662
664
  &:hover {
663
- color: var(--pf-v5-global--danger-color--100);
665
+ color: var(--pf-global--danger-color--100);
664
666
  }
665
667
  }
666
668
  }
667
669
 
668
- .result-body {
669
- font-size: 13px;
670
- word-break: break-word;
671
- color: black;
672
- }
673
-
674
670
  .form-group:last-child {
675
671
  margin-bottom: 0;
676
672
  }
677
673
 
678
- #se-solution-engine .pf-v5-c-alert.ea-rule-alert {
674
+ #se-solution-engine .pf-c-alert.ea-rule-alert {
679
675
  padding: 0px;
680
676
  box-shadow: 0px 0px;
681
677
  border: 0px;
682
678
  }
683
679
 
684
- div.pf-v5-c-alert.ea-rule-alert > div.pf-v5-c-alert__description > p {
680
+ div.pf-c-alert.ea-rule-alert > div.pf-c-alert__description > p {
685
681
  margin-bottom: 0;
686
682
  }
687
683
 
688
684
  .customer-view-switch-label {
689
685
  font-size: 15px;
690
686
  font-weight: 700;
691
- color: var(--pf-v5-global--palette--black-600);
687
+ color: var(--pf-global--palette--black-600);
692
688
  }
693
689
 
694
690
  #case-details-aside-content[pfe-expanded] {
@@ -723,7 +719,7 @@ div.defaultViewCheckbox {
723
719
  grid-gap: 0px;
724
720
  }
725
721
 
726
- div.defaultViewCheckbox label.pf-v5-c-check__label {
722
+ div.defaultViewCheckbox label.pf-c-check__label {
727
723
  line-height: 1rem;
728
724
  }
729
725
 
@@ -732,11 +728,11 @@ p.pref-case-popover-text {
732
728
  }
733
729
 
734
730
  .blueLock {
735
- color: var(--pf-v5-global--palette--blue-400);
731
+ color: var(--pf-global--palette--blue-400);
736
732
  }
737
733
 
738
734
  .rrs-light-grey-text {
739
- color: var(--pf-v5-global--palette--black-600);
735
+ color: var(--pf-global--palette--black-600);
740
736
  }
741
737
 
742
738
  .rsa-checkbox {
@@ -747,17 +743,17 @@ p.pref-case-popover-text {
747
743
  }
748
744
 
749
745
  .support-types-invalid {
750
- border: 1px solid var(--pf-v5-global--danger-color--100) !important;
746
+ border: 1px solid var(--pf-global--danger-color--100) !important;
751
747
  }
752
748
 
753
749
  .submit-case-header-container {
754
750
  padding: 25px 0px 25px 25px;
755
- background-color: var(--pf-v5-global--disabled-color--300);
751
+ background-color: var(--pf-global--disabled-color--300);
756
752
 
757
753
  .submit-page-title {
758
754
  display: flex;
759
755
  flex-direction: row;
760
- color: var(--pf-v5-global--success-color--100);
756
+ color: var(--pf-global--success-color--100);
761
757
  }
762
758
  }
763
759
 
@@ -773,7 +769,7 @@ div.case-details-ref-number {
773
769
  }
774
770
  margin-bottom: 0 !important;
775
771
  }
776
- div.submit-case-header-container > p.kicker.kicker-sm.pf-v5-u-mb-sm > a.case-link-disabled {
772
+ div.submit-case-header-container > p.kicker.kicker-sm.pf-u-mb-sm > a.case-link-disabled {
777
773
  pointer-events: none;
778
774
  a:link {
779
775
  color: #151515 !important;
@@ -783,7 +779,7 @@ div.submit-case-header-container > p.kicker.kicker-sm.pf-v5-u-mb-sm > a.case-lin
783
779
  }
784
780
  }
785
781
 
786
- .pf-v5-c-skeleton {
782
+ .pf-c-skeleton {
787
783
  background-color: #f5f5f5;
788
784
  position: absolute;
789
785
  }
@@ -791,25 +787,25 @@ div.submit-case-header-container > p.kicker.kicker-sm.pf-v5-u-mb-sm > a.case-lin
791
787
  .pf-m-circle {
792
788
  border-radius: 50%;
793
789
  }
794
- .pf-v5-c-wizard__nav-link {
790
+ .pf-c-wizard__nav-link {
795
791
  font-size: 15px;
796
792
  }
797
- .pf-v5-c-wizard__nav-link.pf-m-current {
793
+ .pf-c-wizard__nav-link.pf-m-current {
798
794
  font-weight: 600;
799
795
  }
800
796
 
801
- .pf-v5-c-wizard__nav ol {
797
+ .pf-c-wizard__nav ol {
802
798
  margin-top: 15px;
803
799
  margin-left: 10px;
804
800
  }
805
801
 
806
- .pf-v5-c-wizard__nav ol li {
802
+ .pf-c-wizard__nav ol li {
807
803
  margin-right: 0;
808
804
  margin-bottom: 2.5rem;
809
805
  padding: 0;
810
806
  }
811
807
 
812
- .pf-v5-c-wizard__footer {
808
+ .pf-c-wizard__footer {
813
809
  position: sticky;
814
810
  bottom: 0px;
815
811
  border-top: 1px solid #d9d9d9;
@@ -823,7 +819,7 @@ div.submit-case-header-container > p.kicker.kicker-sm.pf-v5-u-mb-sm > a.case-lin
823
819
  }
824
820
  }
825
821
 
826
- .pf-v5-c-wizard__main {
822
+ .pf-c-wizard__main {
827
823
  padding: 0.8rem;
828
824
  }
829
825
  .wizard-aside-content {
@@ -831,7 +827,7 @@ div.submit-case-header-container > p.kicker.kicker-sm.pf-v5-u-mb-sm > a.case-lin
831
827
  position: sticky;
832
828
  }
833
829
 
834
- li.pf-v5-c-wizard__nav-item button.pf-m-disabled::before {
830
+ li.pf-c-wizard__nav-item button.pf-m-disabled::before {
835
831
  background-color: #f0f0f0;
836
832
  }
837
833
 
@@ -852,10 +848,10 @@ li.pf-v5-c-wizard__nav-item button.pf-m-disabled::before {
852
848
 
853
849
  .display-dashed {
854
850
  padding: 0.5rem;
855
- border: 2px dashed var(--pf-v5-global--palette--black-600);
856
- background-color: var(--pf-v5-global--palette--black-300);
851
+ border: 2px dashed var(--pf-global--palette--black-600);
852
+ background-color: var(--pf-global--palette--black-300);
857
853
  }
858
- .pf-v5-c-wizard__footer {
854
+ .pf-c-wizard__footer {
859
855
  display: flex !important;
860
856
  align-items: center !important;
861
857
  padding: 10px !important;
@@ -869,11 +865,11 @@ li.pf-v5-c-wizard__nav-item button.pf-m-disabled::before {
869
865
  margin-left: auto !important;
870
866
  }
871
867
 
872
- svg.pf-v5-c-spinner.pf-m-md.export-csv-loader {
873
- --pf-v5-c-spinner--Color: var(--pf-v5-global--Color--200) !important;
868
+ svg.pf-c-spinner.pf-m-md.export-csv-loader {
869
+ --pf-c-spinner--Color: var(--pf-global--Color--200) !important;
874
870
  }
875
871
 
876
- svg.pf-v5-u-ml-xs.icon-size {
872
+ svg.pf-u-ml-xs.icon-size {
877
873
  width: 14px;
878
874
  }
879
875
 
@@ -881,65 +877,3 @@ svg.pf-v5-u-ml-xs.icon-size {
881
877
  font-family: 'DejaVu Sans';
882
878
  src: url('https://access.redhat.com/chrome_themes/nimbus/fonts/unifont-15.0.06.ttf') format('truetype');
883
879
  }
884
-
885
- .case-type-section {
886
- .case-type-category {
887
- height: 75px;
888
- padding: 0.5rem 1rem;
889
- border: 1px solid #d9d9d9;
890
- font-weight: 600;
891
- line-height: 1.6;
892
- background-color: var(--pf-v5-global--palette--black-150);
893
- color: var(--pf-v5-global--primary-color--100);
894
- word-break: break-word;
895
- &.selected-case-type {
896
- border-color: var(--pf-v5-global--primary-color--100);
897
- background-color: #e6e6e6;
898
- }
899
-
900
- &:hover,
901
- &:focus {
902
- border-color: var(--pf-v5-global--primary-color--100);
903
- background-color: #e6e6e6;
904
- }
905
-
906
- &:active {
907
- border-color: var(--pf-v5-global--primary-color--100);
908
- }
909
- }
910
- }
911
-
912
- .badge-item {
913
- background-color: var(--pf-v5-global--BackgroundColor--200);
914
- padding: 0 8px 0 8px;
915
- border-radius: 10px;
916
- color: black;
917
- }
918
-
919
- #case-details-handpicked-recommendations {
920
- li {
921
- padding: 0;
922
- }
923
- li:not(:first-child) {
924
- .handpicked-resource {
925
- margin-top: var(--pf-v5-global--spacer--lg);
926
- }
927
- }
928
- }
929
-
930
- .handpicked-resource {
931
- button {
932
- padding: 0;
933
- display: flex;
934
- }
935
- .eval-icons span {
936
- color: var(--pf-v5-global--primary-color--200);
937
- }
938
- }
939
-
940
- #case-details-handpicked-recommendations-pagination-bottom-pagination,
941
- #case-details-pinned-recommendations-pagination-bottom-pagination {
942
- -ms-flex-pack: justify;
943
- justify-content: space-between;
944
- padding: 0.2rem;
945
- }
@@ -0,0 +1,30 @@
1
+ // Global imports for Patternfly 4 components
2
+
3
+ $pf-global--load-pf-3: false;
4
+ $pf-global--enable-reset: false;
5
+ $pf-global--fonticon-path: '~@patternfly/patternfly/assets/pficon';
6
+
7
+ // Base imports
8
+ @import '~@patternfly/patternfly/patternfly-addons.scss';
9
+ @import '~@patternfly/patternfly/base/_variables.scss';
10
+
11
+ // Component imports
12
+ @import '~@patternfly/patternfly/components/ModalBox/modal-box.scss';
13
+ @import '~@patternfly/patternfly/components/Tooltip/tooltip.scss';
14
+ @import '~@patternfly/patternfly/components/Popover/popover.scss';
15
+ @import '~@patternfly/patternfly/components/Switch/switch.scss';
16
+ @import '~@patternfly/patternfly/components/Label/label.scss';
17
+ @import '~@patternfly/patternfly/components/Alert/alert.scss';
18
+
19
+ // Layout imports
20
+ @import '~@patternfly/patternfly/layouts/Bullseye/bullseye.scss';
21
+ @import '~@patternfly/patternfly/layouts/Flex/flex.scss';
22
+ @import '~@patternfly/patternfly/layouts/Grid/grid.scss';
23
+ @import '~@patternfly/patternfly/layouts/Level/level.scss';
24
+ @import '~@patternfly/patternfly/layouts/Split/split.scss';
25
+ @import '~@patternfly/patternfly/layouts/Stack/stack.scss';
26
+
27
+ // Global font overwrite
28
+ :root {
29
+ // --pf-global--FontFamily--sans-serif: "Red Hat Text", "Overpass", Helvetica, sans-serif !important;
30
+ }