@rh-support/troubleshoot 2.4.5-beta.1 → 2.4.5-beta.10

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 (110) hide show
  1. package/lib/esm/components/CaseEditView/CaseDetailsTabs.js +2 -2
  2. package/lib/esm/components/CaseEditView/CaseOverview/CaseType.d.ts.map +1 -1
  3. package/lib/esm/components/CaseEditView/CaseOverview/CaseType.js +4 -18
  4. package/lib/esm/components/CaseEditView/CaseOverview/index.d.ts.map +1 -1
  5. package/lib/esm/components/CaseEditView/CaseOverview/index.js +2 -2
  6. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.d.ts.map +1 -1
  7. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +2 -4
  8. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.d.ts.map +1 -1
  9. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.js +1 -2
  10. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts.map +1 -1
  11. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.js +4 -6
  12. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.d.ts.map +1 -1
  13. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.js +2 -3
  14. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts.map +1 -1
  15. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.js +1 -4
  16. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.css +21 -95
  17. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts.map +1 -1
  18. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.js +137 -269
  19. package/lib/esm/components/CaseInformation/Description.d.ts.map +1 -1
  20. package/lib/esm/components/CaseInformation/Description.js +20 -16
  21. package/lib/esm/components/CaseInformation/Fts.d.ts.map +1 -1
  22. package/lib/esm/components/CaseInformation/Fts.js +5 -6
  23. package/lib/esm/components/CaseManagement/Cep.d.ts.map +1 -1
  24. package/lib/esm/components/CaseManagement/Cep.js +2 -3
  25. package/lib/esm/components/CaseManagement/RHAssociatesSelector.d.ts.map +1 -1
  26. package/lib/esm/components/CaseManagement/RHAssociatesSelector.js +5 -11
  27. package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.d.ts.map +1 -1
  28. package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.js +5 -11
  29. package/lib/esm/components/Cve/CveItem.d.ts +8 -0
  30. package/lib/esm/components/Cve/CveItem.d.ts.map +1 -0
  31. package/lib/esm/components/Cve/CveItem.js +86 -0
  32. package/lib/esm/components/Cve/CveModal.d.ts +3 -0
  33. package/lib/esm/components/Cve/CveModal.d.ts.map +1 -0
  34. package/lib/esm/components/Cve/CveModal.js +42 -0
  35. package/lib/esm/components/Cve/CvePanel.d.ts +7 -0
  36. package/lib/esm/components/Cve/CvePanel.d.ts.map +1 -0
  37. package/lib/esm/components/Cve/CvePanel.js +23 -0
  38. package/lib/esm/components/Cve/CveSidebar.d.ts +3 -0
  39. package/lib/esm/components/Cve/CveSidebar.d.ts.map +1 -0
  40. package/lib/esm/components/Cve/CveSidebar.js +24 -0
  41. package/lib/esm/components/OpenCase/OpenCase.d.ts +3 -0
  42. package/lib/esm/components/OpenCase/OpenCase.d.ts.map +1 -1
  43. package/lib/esm/components/OpenCase/OpenCase.js +8 -0
  44. package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts +3 -0
  45. package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts.map +1 -1
  46. package/lib/esm/components/ProductSelector/AllProductsSelector.js +29 -21
  47. package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts +1 -0
  48. package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts.map +1 -1
  49. package/lib/esm/components/ProductSelector/NewProductDropdownSelector.js +2 -2
  50. package/lib/esm/components/ProductSelector/NewProductVersionSelector.js +1 -1
  51. package/lib/esm/components/ProductSelector/ProductSelector.d.ts +4 -2
  52. package/lib/esm/components/ProductSelector/ProductSelector.d.ts.map +1 -1
  53. package/lib/esm/components/ProductSelector/ProductSelector.js +12 -7
  54. package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.d.ts.map +1 -1
  55. package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.js +1 -1
  56. package/lib/esm/components/Recommendations/AsideResults.d.ts.map +1 -1
  57. package/lib/esm/components/Recommendations/AsideResults.js +3 -5
  58. package/lib/esm/components/Recommendations/EARules/EARule.d.ts.map +1 -1
  59. package/lib/esm/components/Recommendations/EARules/EARule.js +2 -0
  60. package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.d.ts.map +1 -1
  61. package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.js +2 -2
  62. package/lib/esm/components/Recommendations/EARules/EARuleWidget.d.ts.map +1 -1
  63. package/lib/esm/components/Recommendations/EARules/EARuleWidget.js +5 -6
  64. package/lib/esm/components/Recommendations/Recommendations.d.ts.map +1 -1
  65. package/lib/esm/components/Recommendations/Recommendations.js +55 -27
  66. package/lib/esm/components/Recommendations/RecommendationsLoader.d.ts +3 -0
  67. package/lib/esm/components/Recommendations/RecommendationsLoader.d.ts.map +1 -0
  68. package/lib/esm/components/Recommendations/RecommendationsLoader.js +11 -0
  69. package/lib/esm/components/Review/Review.d.ts.map +1 -1
  70. package/lib/esm/components/Review/Review.js +1 -1
  71. package/lib/esm/components/SessionRestore/SessionRestore.js +1 -1
  72. package/lib/esm/components/SubmitCase/SubmitCase.js +3 -3
  73. package/lib/esm/components/Suggestions/TopContent.d.ts.map +1 -1
  74. package/lib/esm/components/Suggestions/TopContent.js +4 -1
  75. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.d.ts +2 -2
  76. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.d.ts.map +1 -1
  77. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.js +1 -10
  78. package/lib/esm/components/shared/useIsSectionValid.d.ts.map +1 -1
  79. package/lib/esm/components/shared/useIsSectionValid.js +14 -7
  80. package/lib/esm/components/wizardLayout/WizardAside.d.ts.map +1 -1
  81. package/lib/esm/components/wizardLayout/WizardAside.js +11 -9
  82. package/lib/esm/components/wizardLayout/WizardLayout.d.ts.map +1 -1
  83. package/lib/esm/components/wizardLayout/WizardLayout.js +1 -4
  84. package/lib/esm/components/wizardLayout/WizardMain.d.ts.map +1 -1
  85. package/lib/esm/components/wizardLayout/WizardMain.js +0 -5
  86. package/lib/esm/components/wizardLayout/WizardNavigation.d.ts.map +1 -1
  87. package/lib/esm/components/wizardLayout/WizardNavigation.js +3 -7
  88. package/lib/esm/css/results.css +6 -0
  89. package/lib/esm/hooks/useFetchCVEData.d.ts +5 -0
  90. package/lib/esm/hooks/useFetchCVEData.d.ts.map +1 -0
  91. package/lib/esm/hooks/useFetchCVEData.js +133 -0
  92. package/lib/esm/hooks/useWizard.d.ts.map +1 -1
  93. package/lib/esm/hooks/useWizard.js +10 -2
  94. package/lib/esm/models/caseCreationWorkflows.d.ts +25 -0
  95. package/lib/esm/models/caseCreationWorkflows.d.ts.map +1 -0
  96. package/lib/esm/models/caseCreationWorkflows.js +1 -0
  97. package/lib/esm/reducers/CaseConstNTypes.d.ts +4 -0
  98. package/lib/esm/reducers/CaseConstNTypes.d.ts.map +1 -1
  99. package/lib/esm/reducers/CaseConstNTypes.js +3 -0
  100. package/lib/esm/reducers/RouteConstNTypes.d.ts +0 -1
  101. package/lib/esm/reducers/RouteConstNTypes.d.ts.map +1 -1
  102. package/lib/esm/reducers/RouteConstNTypes.js +0 -1
  103. package/lib/esm/reducers/SessionRestoreReducer.d.ts.map +1 -1
  104. package/lib/esm/reducers/SessionRestoreReducer.js +1 -1
  105. package/lib/esm/scss/_main.scss +20 -2
  106. package/lib/esm/scss/_pf-overrides.scss +0 -6
  107. package/lib/esm/utils/caseUtils.d.ts +6 -0
  108. package/lib/esm/utils/caseUtils.d.ts.map +1 -1
  109. package/lib/esm/utils/caseUtils.js +15 -0
  110. package/package.json +11 -11
@@ -5,21 +5,23 @@ import isUndefined from 'lodash/isUndefined';
5
5
  import React, { useContext } from 'react';
6
6
  import { useCaseSelector } from '../../context/CaseContext';
7
7
  import { RouteContext } from '../../context/RouteContext';
8
- import { AppRouteSections, hideFileUploadSidebarWidgetSections, showRecommendationTipsSections, showSideBarClusterIdRuleWidgetSections, showSideBarEARuleWidgetSections, showSideBarFileRecommendationSections, } from '../../reducers/RouteConstNTypes';
8
+ import { AppRouteSections, hideFileUploadSidebarWidgetSections, showSideBarClusterIdRuleWidgetSections, showSideBarEARuleWidgetSections, showSideBarFileRecommendationSections, } from '../../reducers/RouteConstNTypes';
9
9
  import { FileDiag } from '../CaseInformation/FileDiag';
10
+ import { CveSidebar } from '../Cve/CveSidebar';
10
11
  import { AsideResults } from '../Recommendations/AsideResults';
11
12
  import ClusterRecommendations from '../Recommendations/ClusterRecommendations';
12
13
  import { EARuleWidget } from '../Recommendations/EARules/EARuleWidget';
13
14
  import InsightsResults from '../Recommendations/InsightsResults';
14
- import { RecommendationInfoBox } from '../Recommendations/RecommendationInfoBox';
15
15
  import { SessionRestore } from '../SessionRestore';
16
16
  const defaultProps = {};
17
17
  function WizardAside(props) {
18
18
  const { routeState: { activeSection }, } = useContext(RouteContext);
19
19
  const canAddAttachments = ability.can(resourceActions.PATCH, resources.CASE_CREATE, CaseListFields.ATTACHMENTS);
20
- const { isCreatingCase, caseType } = useCaseSelector((state) => ({
20
+ const { isCreatingCase, caseType, isCveModalOpened, enableGetSupportProductVersion } = useCaseSelector((state) => ({
21
21
  isCreatingCase: state.isCreatingCase,
22
22
  caseType: state.caseDetails.caseType,
23
+ isCveModalOpened: state.isCveModalOpened,
24
+ enableGetSupportProductVersion: state.enableGetSupportProductVersion,
23
25
  }), isEqual);
24
26
  const isIdea = caseType === PreviousCaseTypes.FEATURE_ENHANCEMENT;
25
27
  const canUseSessionManagement = ability.can(resourceActions.CREATE, resources.SESSION_TRACKING);
@@ -27,20 +29,20 @@ function WizardAside(props) {
27
29
  !props.isAttachmentUploadModalOpen &&
28
30
  !isUndefined(activeSection) &&
29
31
  !hideFileUploadSidebarWidgetSections.includes(activeSection);
30
- const canshowEARuleWidget = showSideBarEARuleWidgetSections.includes(activeSection);
32
+ const canShowEARuleWidget = showSideBarEARuleWidgetSections.includes(activeSection);
31
33
  const canShowClusterIdReportWidget = showSideBarClusterIdRuleWidgetSections.includes(activeSection);
32
34
  const canShowFileRecommendationSectionsWidget = showSideBarFileRecommendationSections.includes(activeSection);
33
- const canShowRecommendationTips = showRecommendationTipsSections.includes(activeSection) && !isIdea;
34
35
  return (React.createElement("aside", null,
35
36
  React.createElement("section", { className: "grid-aside-content" },
37
+ canUseSessionManagement && !isCreatingCase && activeSection !== AppRouteSections.SUBMIT_CASE && (React.createElement(SessionRestore, { routeProps: props.routeProps })),
36
38
  canShowFileUploadWidget() && React.createElement(InsightsResults, null),
37
39
  canShowFileUploadWidget() && React.createElement(FileDiag, { className: "pf-v5-u-mb-md" }),
38
- canshowEARuleWidget && activeSection !== AppRouteSections.GET_SUPPORT && React.createElement(EARuleWidget, null),
40
+ activeSection === AppRouteSections.SUMMARIZE && !isCveModalOpened && React.createElement(CveSidebar, null),
41
+ activeSection === AppRouteSections.TROUBLESHOOT && React.createElement(CveSidebar, null),
42
+ enableGetSupportProductVersion && canShowEARuleWidget && React.createElement(EARuleWidget, null),
39
43
  !(isIdea && activeSection === 'submit-case') && (React.createElement(AsideResults, { routeProps: props.routeProps, className: "pf-v5-u-mb-md pf-v5-u-mt-0" })),
40
44
  canShowFileRecommendationSectionsWidget && React.createElement(InsightsResults, { isDisplayOnMain: true }),
41
- React.createElement(ClusterRecommendations, { showClusterRecommendationsList: canShowClusterIdReportWidget, className: "pf-v5-u-mb-md pf-v5-u-mt-0" }),
42
- canUseSessionManagement && !isCreatingCase && activeSection !== AppRouteSections.SUBMIT_CASE && (React.createElement(SessionRestore, { routeProps: props.routeProps })),
43
- canShowRecommendationTips && React.createElement(RecommendationInfoBox, null))));
45
+ React.createElement(ClusterRecommendations, { showClusterRecommendationsList: canShowClusterIdReportWidget, className: "pf-v5-u-mb-md pf-v5-u-mt-0" }))));
44
46
  }
45
47
  WizardAside.defaultProps = defaultProps;
46
48
  export default WizardAside;
@@ -1 +1 @@
1
- {"version":3,"file":"WizardLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardLayout.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,EAAuC,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAavG,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,qBA6KzC"}
1
+ {"version":3,"file":"WizardLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardLayout.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,EAAuC,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAavG,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,qBAkKzC"}
@@ -11,7 +11,7 @@ import { Grid, GridItem } from '@patternfly/react-core';
11
11
  import { SupportFeedbackForm } from '@rh-support/components';
12
12
  import { fetchProducts, GlobalMetadataDispatchContext, GlobalMetadataStateContext } from '@rh-support/react-context';
13
13
  import { ability, CaseListFields, resourceActions, resources } from '@rh-support/user-permissions';
14
- import { dtmTrackEventCaseCreationStepEncountered, getVersionIfOnlyVersion, pendoTrackEvent, PreviousCaseTypes, } from '@rh-support/utils';
14
+ import { getVersionIfOnlyVersion, pendoTrackEvent, PreviousCaseTypes } from '@rh-support/utils';
15
15
  import findIndex from 'lodash/findIndex';
16
16
  import isEqual from 'lodash/isEqual';
17
17
  import React, { useContext, useEffect, useRef, useState } from 'react';
@@ -80,7 +80,6 @@ export function WizardLayout(props) {
80
80
  return isModalPresent;
81
81
  };
82
82
  const submitCaseAndNavigate = (isReSubmitting) => __awaiter(this, void 0, void 0, function* () {
83
- var _a, _b;
84
83
  confirmationModalType && setConfirmationModalType(null);
85
84
  // if a confirmation modal exists, show it and don't submit the case as
86
85
  // it will be handled by the confirmation modal itself
@@ -93,8 +92,6 @@ export function WizardLayout(props) {
93
92
  React.createElement(SupportFeedbackForm, { isInline: true }),
94
93
  " if you continue to see this message.")));
95
94
  submitCase(caseDispatch, sessionRestoreDispatch, caseState, sessionItem, isCaseCreate, errorMessageCaseSubmit500, loggedInUser.data.ssoUsername, loggedInUsersAccount === null || loggedInUsersAccount === void 0 ? void 0 : loggedInUsersAccount.data.secureSupport, isReSubmitting || false);
96
- const isCreatingCaseFlow = RouteUtils.getQueryParams(props.routeProps).caseCreate === 'true';
97
- dtmTrackEventCaseCreationStepEncountered(isCreatingCaseFlow, 'submit', (_a = caseState.caseDetails) === null || _a === void 0 ? void 0 : _a.caseNumber, (_b = caseState.caseDetails) === null || _b === void 0 ? void 0 : _b.caseType, caseState.caseDetails.summary, caseState.caseDetails.product, caseState.caseDetails.version);
98
95
  // reset viewedModals on case submit
99
96
  viewedConfirmationModalsList.current = [];
100
97
  !isReSubmitting &&
@@ -1 +1 @@
1
- {"version":3,"file":"WizardMain.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardMain.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAS,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAK9D,OAAO,EAAoB,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAQpF,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACjD,qBAAqB,EAAE,CAAC,cAAc,EAAE,OAAO,KAAK,IAAI,CAAC;IACzD,mBAAmB,EAAE,CAAC,gCAAgC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5E;AAED,iBAAS,UAAU,CAAC,KAAK,EAAE,MAAM,qBA2IhC;AACD,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"WizardMain.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardMain.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAS,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAK9D,OAAO,EAAoB,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAQpF,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACjD,qBAAqB,EAAE,CAAC,cAAc,EAAE,OAAO,KAAK,IAAI,CAAC;IACzD,mBAAmB,EAAE,CAAC,gCAAgC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5E;AAED,iBAAS,UAAU,CAAC,KAAK,EAAE,MAAM,qBAsIhC;AACD,eAAe,UAAU,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { Wizard, WizardContextConsumer, WizardFooter } from '@patternfly/react-core/deprecated';
2
2
  import { LoadingIndicator } from '@rh-support/components';
3
- import { dtmTrackEventCaseCreationStepEncountered } from '@rh-support/utils';
4
3
  import isEqual from 'lodash/isEqual';
5
4
  import React, { Suspense, useContext, useRef, useState } from 'react';
6
5
  import { useTranslation } from 'react-i18next';
@@ -58,10 +57,6 @@ function WizardMain(props) {
58
57
  return;
59
58
  };
60
59
  const onCurrentStepChanged = (step) => {
61
- if (step.order === 0) {
62
- const isCreatingCaseFlow = RouteUtils.getQueryParams(props.routeProps).caseCreate === 'true';
63
- dtmTrackEventCaseCreationStepEncountered(isCreatingCaseFlow, 'start');
64
- }
65
60
  setActiveSectionChanged(dispatchToRouteReducer, step.id);
66
61
  updateisNextBtnClickedToShowValidationError(dispatchToRouteReducer, false);
67
62
  };
@@ -1 +1 @@
1
- {"version":3,"file":"WizardNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardNavigation.tsx"],"names":[],"mappings":"AAOA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAE/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAOvD,OAAO,EAAoB,eAAe,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAM3G,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACjD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAC3C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,mBAAmB,EAAE,CAAC,gCAAgC,EAAE,OAAO,KAAK,IAAI,CAAC;IACzE,gBAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1C,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,0BAA0B,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IAC5E,kCAAkC,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IACpF,qCAAqC,CAAC,EAAE,OAAO,CAAC;IAChD,gCAAgC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IACjF,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,oBAAoB,EAAE,CAAC,KAAK,EAAE,KA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,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;CACxE;AAGD,iBAAS,gBAAgB,CAAC,KAAK,EAAE,MAAM,qBA4PtC;kBA5PQ,gBAAgB;;;AA8PzB,eAAe,gBAAgB,CAAC"}
@@ -11,7 +11,7 @@ import { pcm } from '@cee-eng/hydrajs';
11
11
  import { Button, ButtonVariant } from '@patternfly/react-core';
12
12
  import { useFetch } from '@rh-support/components';
13
13
  import { GlobalMetadataStateContext, useCanCreateCase } from '@rh-support/react-context';
14
- import { dtmTrackEventCaseCreationStepEncountered, getResTypeFromUrl, scrollIntoView } from '@rh-support/utils';
14
+ import { dtmTrackEventCaseStartStopped, getResTypeFromUrl, scrollIntoView } from '@rh-support/utils';
15
15
  import find from 'lodash/find';
16
16
  import isEqual from 'lodash/isEqual';
17
17
  import React, { useContext, useEffect, useState } from 'react';
@@ -23,7 +23,6 @@ import { SessionRestoreStateContext } from '../../context/SessionRestoreContext'
23
23
  import { setCaseState } from '../../reducers/CaseReducer';
24
24
  import { AppRouteSections } from '../../reducers/RouteConstNTypes';
25
25
  import { updateisNextBtnClickedToShowValidationError } from '../../reducers/RouteReducer';
26
- import RouteUtils from '../../utils/routeUtils';
27
26
  import { RecommendationFeedbackModal } from '../Recommendations/RecommendationFeedbackModal';
28
27
  import { useIsSectionValid } from '../shared/useIsSectionValid';
29
28
  const defaultProps = {};
@@ -57,11 +56,6 @@ function WizardNavigation(props) {
57
56
  // eslint-disable-next-line react-hooks/exhaustive-deps
58
57
  }, []);
59
58
  useEffect(() => {
60
- var _a, _b;
61
- const isCreatingCase = RouteUtils.getQueryParams(props.routeProps).caseCreate === 'true';
62
- dtmTrackEventCaseCreationStepEncountered(isCreatingCase,
63
- // @ts-ignore
64
- props.activeStep.id, (_a = caseState.caseDetails) === null || _a === void 0 ? void 0 : _a.caseNumber, (_b = caseState.caseDetails) === null || _b === void 0 ? void 0 : _b.caseType, caseState.caseDetails.summary, caseState.caseDetails.product, caseState.caseDetails.version);
65
59
  if (props.activeStep.id === AppRouteSections.TROUBLESHOOT) {
66
60
  window.scrollTo({
67
61
  top: 0,
@@ -152,11 +146,13 @@ function WizardNavigation(props) {
152
146
  props.onNext && props.onNext();
153
147
  }
154
148
  }
149
+ dtmTrackEventCaseStartStopped(`${props.activeStep.nextButtonLabel} button clicked on ${props.activeStep.name} step`, `${caseState.caseDetails.caseNumber}`, `${caseState.caseDetails.product}|${caseState.caseDetails.version}`);
155
150
  return;
156
151
  };
157
152
  const onBack = () => {
158
153
  if (props.activeStep.hidRestOnBack)
159
154
  props.onShowRestUpdate(false);
155
+ dtmTrackEventCaseStartStopped(`${props.activeStep.nextButtonLabel} button clicked on ${props.activeStep.name} step`, '', `${caseState.caseDetails.product}|${caseState.caseDetails.version}`);
160
156
  props.onBack();
161
157
  };
162
158
  const onRecsFeedbackModalToggle = () => {
@@ -188,3 +188,9 @@
188
188
  .top-recommendations .card-body .file-results-aside .result .btn-incident-info {
189
189
  font-size: 12px;
190
190
  }
191
+
192
+ .match-label {
193
+ height: 1.25rem;
194
+ margin: 0 0.5rem 0.25rem 0 !important;
195
+ font-weight: 200 !important;
196
+ }
@@ -0,0 +1,5 @@
1
+ import { ICVEWorkflowRecommendation } from '../models/caseCreationWorkflows';
2
+ export declare function useFetchCVEData(): {
3
+ cveRecommendation: ICVEWorkflowRecommendation[];
4
+ };
5
+ //# sourceMappingURL=useFetchCVEData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFetchCVEData.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFetchCVEData.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,0BAA0B,EAAkB,MAAM,iCAAiC,CAAC;AAI7F,wBAAgB,eAAe;;EA8H9B"}
@@ -0,0 +1,133 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ import { search } from '@cee-eng/hydrajs';
11
+ import { useLRUCache } from '@rh-support/components';
12
+ import filter from 'lodash/filter';
13
+ import isArray from 'lodash/isArray';
14
+ import isEmpty from 'lodash/isEmpty';
15
+ import isEqual from 'lodash/isEqual';
16
+ import map from 'lodash/map';
17
+ import sortBy from 'lodash/sortBy';
18
+ import { useContext, useEffect, useState } from 'react';
19
+ import { useCaseDispatch, useCaseSelector } from '../context/CaseContext';
20
+ import { RecommendationStateContext } from '../context/RecommendationContext';
21
+ import { setCaseState } from '../reducers/CaseReducer';
22
+ import { findCVEsInString } from '../utils/caseUtils';
23
+ // custom hook for CVE workflow data .
24
+ export function useFetchCVEData() {
25
+ const caseDispatch = useCaseDispatch();
26
+ const { recommendationState } = useContext(RecommendationStateContext);
27
+ const [cveRecommendation, setCveRecommendation] = useState([]);
28
+ const { product, version, summary, description } = useCaseSelector((state) => ({
29
+ product: state.caseDetails.product,
30
+ version: state.caseDetails.version,
31
+ summary: state.caseDetails.summary,
32
+ description: state.caseDetails.description,
33
+ }), isEqual);
34
+ const { getFromCache, setInCache } = useLRUCache(50);
35
+ const getFixedErrataByProduct = (releaseInfo, selectedProduct, selectedVersion) => {
36
+ var _a;
37
+ if (isEmpty(releaseInfo) || !isArray(releaseInfo) || !selectedProduct) {
38
+ return [];
39
+ }
40
+ const selectedProductLower = selectedProduct.toLowerCase().trim() || '';
41
+ const selectedVersionLower = ((_a = selectedVersion === null || selectedVersion === void 0 ? void 0 : selectedVersion.toLowerCase()) === null || _a === void 0 ? void 0 : _a.trim()) || '';
42
+ const majorVersion = selectedVersionLower.split('.')[0];
43
+ const filteredArray = releaseInfo.filter((obj) => {
44
+ var _a, _b;
45
+ const product = (_b = (_a = obj === null || obj === void 0 ? void 0 : obj.product) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === null || _b === void 0 ? void 0 : _b.trim();
46
+ const productVersionMatchConditions = product === selectedProductLower ||
47
+ product === `${selectedProductLower} ${selectedVersionLower}` ||
48
+ (majorVersion && product === `${selectedProductLower} ${majorVersion}`);
49
+ return productVersionMatchConditions && (obj === null || obj === void 0 ? void 0 : obj.state) === 'Fixed';
50
+ });
51
+ return map(filteredArray, (i) => {
52
+ var _a;
53
+ return ({
54
+ package: (i === null || i === void 0 ? void 0 : i.package) || '',
55
+ advisory: isEmpty(i === null || i === void 0 ? void 0 : i.advisory)
56
+ ? {}
57
+ : Object.assign(Object.assign({}, i === null || i === void 0 ? void 0 : i.advisory), { url: (_a = (i === null || i === void 0 ? void 0 : i.advisory).url) === null || _a === void 0 ? void 0 : _a.replace(/\\/g, '') }),
58
+ state: (i === null || i === void 0 ? void 0 : i.state) || '',
59
+ product: (i === null || i === void 0 ? void 0 : i.product) || '',
60
+ });
61
+ });
62
+ };
63
+ const sortCveResult = (cveData) => {
64
+ if (isEmpty(cveData)) {
65
+ return [];
66
+ }
67
+ const cveSeverity = {
68
+ Critical: 1,
69
+ Important: 2,
70
+ Moderate: 3,
71
+ Low: 4,
72
+ };
73
+ return sortBy(cveData, (item) => { var _a; return cveSeverity[(_a = item === null || item === void 0 ? void 0 : item.data) === null || _a === void 0 ? void 0 : _a.field_cve_threat_severity_text] || Infinity; });
74
+ };
75
+ const fetchCVEData = (cveIds) => __awaiter(this, void 0, void 0, function* () {
76
+ if (isEmpty(cveIds))
77
+ return [];
78
+ try {
79
+ const results = yield Promise.allSettled(map(cveIds, (id) => __awaiter(this, void 0, void 0, function* () {
80
+ var _a;
81
+ const cachedData = getFromCache(id);
82
+ if (cachedData) {
83
+ return cachedData;
84
+ }
85
+ else {
86
+ // sometime backend return html response so we need to handle this scenario so i have added this logic.
87
+ const data = yield search.getCVEDetailsById(id);
88
+ if (((_a = data === null || data === void 0 ? void 0 : data.data) === null || _a === void 0 ? void 0 : _a.title) === id) {
89
+ setInCache(id, data);
90
+ return data;
91
+ }
92
+ else {
93
+ throw new Error('unexpected response');
94
+ }
95
+ }
96
+ })));
97
+ return map(filter(results, (result) => result.status === 'fulfilled'), (result) => result.value);
98
+ }
99
+ catch (error) {
100
+ console.error('Error fetching CVE data:', error);
101
+ return [];
102
+ }
103
+ });
104
+ useEffect(() => {
105
+ const CVETextValue = `${summary || ''} ${description || ''}`;
106
+ const cveIds = findCVEsInString(CVETextValue);
107
+ fetchCVEData(cveIds)
108
+ .then((results) => {
109
+ const sortedData = sortCveResult(results);
110
+ const processedData = map(sortedData, ({ data }) => {
111
+ var _a, _b, _c, _d;
112
+ return ({
113
+ publicDate: (_a = data === null || data === void 0 ? void 0 : data.field_cve_public_date) === null || _a === void 0 ? void 0 : _a.value,
114
+ title: data === null || data === void 0 ? void 0 : data.title,
115
+ severity: data === null || data === void 0 ? void 0 : data.field_cve_threat_severity_text,
116
+ mitigation: data === null || data === void 0 ? void 0 : data.field_cve_mitigation_text,
117
+ details: (_b = data === null || data === void 0 ? void 0 : data.field_cve_details_text) === null || _b === void 0 ? void 0 : _b.value,
118
+ cveLink: (_c = data === null || data === void 0 ? void 0 : data.path) === null || _c === void 0 ? void 0 : _c.replace(/\\/g, ''),
119
+ errataData: getFixedErrataByProduct(((_d = data === null || data === void 0 ? void 0 : data.field_cve_releases_txt) === null || _d === void 0 ? void 0 : _d.object) || [], product, version),
120
+ });
121
+ }).filter((d) => d.severity !== 'Low');
122
+ setCveRecommendation(processedData);
123
+ setCaseState(caseDispatch, {
124
+ cveWorkflowRecommendation: processedData,
125
+ });
126
+ })
127
+ .catch((error) => {
128
+ console.error('Error processing CVE data:', error);
129
+ });
130
+ // eslint-disable-next-line react-hooks/exhaustive-deps
131
+ }, [summary, description, product, version, recommendationState === null || recommendationState === void 0 ? void 0 : recommendationState.allDocs]);
132
+ return { cveRecommendation };
133
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"useWizard.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWizard.tsx"],"names":[],"mappings":"AA+BA,UAAU,MAAM;IACZ,yBAAyB,CAAC,EAAE,GAAG,CAAC;IAChC,4BAA4B,EAAE,OAAO,CAAC;IACtC,6BAA6B,EAAE,OAAO,CAAC;IACvC,qCAAqC,EAAE,OAAO,CAAC;IAC/C,aAAa,EAAE,GAAG,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;CAC9B;AAED,wBAAgB,SAAS,CAAC,UAAU,KAAA,EAAE,KAAK,CAAC,EAAE,MAAM;iCAgQb,OAAO;EAwC7C"}
1
+ {"version":3,"file":"useWizard.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWizard.tsx"],"names":[],"mappings":"AAmCA,UAAU,MAAM;IACZ,yBAAyB,CAAC,EAAE,GAAG,CAAC;IAChC,4BAA4B,EAAE,OAAO,CAAC;IACtC,6BAA6B,EAAE,OAAO,CAAC;IACvC,qCAAqC,EAAE,OAAO,CAAC;IAC/C,aAAa,EAAE,GAAG,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;CAC9B;AAED,wBAAgB,SAAS,CAAC,UAAU,KAAA,EAAE,KAAK,CAAC,EAAE,MAAM;iCAmRb,OAAO;EAwC7C"}
@@ -1,9 +1,13 @@
1
1
  import { AlertMessage, AlertType, LoadingIndicator } from '@rh-support/components';
2
+ import { ability } from '@rh-support/user-permissions/lib/esm/AuthFramework';
3
+ import { CaseListFields, resourceActions, resources } from '@rh-support/user-permissions/lib/esm/enums';
2
4
  import { PreviousCaseTypes } from '@rh-support/utils';
3
5
  import isEmpty from 'lodash/isEmpty';
4
6
  import isEqual from 'lodash/isEqual';
5
7
  import React, { Suspense, useContext } from 'react';
6
8
  import { Trans, useTranslation } from 'react-i18next';
9
+ import { AccountSelector } from '../components/AccountInfo/AccountSelector';
10
+ import { OwnerSelector } from '../components/AccountInfo/OwnerSelector';
7
11
  import CaseInformation from '../components/CaseInformation/CaseInformation';
8
12
  import CaseManagement from '../components/CaseManagement/CaseManagement';
9
13
  import IdeaInformation from '../components/IdeaInformation/IdeaInformation';
@@ -52,16 +56,20 @@ export function useWizard(routeProps, props) {
52
56
  let summarizeNextButtonLabelLogic = () => {
53
57
  return props.userScrolledLabel;
54
58
  };
59
+ const canChangeAccountInfo = ability.can(resourceActions.PATCH, resources.CASE_CREATE, CaseListFields.ACCOUNT_AND_OWNER);
55
60
  // components that are used in wizard steps
56
61
  const appRouteConfugurations = {
57
62
  [AppRouteSections.GET_SUPPORT]: Object.assign(Object.assign({}, defaultRouteConfiguration), { id: AppRouteSections.GET_SUPPORT, name: t('Get support'), component: (React.createElement(MainSection, { stepNumber: 1, totalSteps: 6, section: AppRouteSections.GET_SUPPORT, title: t('Why are you opening a case?'), description: t('Select the best category for your issue.') },
58
63
  React.createElement(Suspense, { fallback: React.createElement(LoadingIndicator, { size: "sm" }) },
59
64
  alertMessage(),
60
- React.createElement(OpenCase, { routeProps: routeProps })))), canJumpTo: isSectionValidFn(AppRouteSections.GET_SUPPORT) || activeSection === AppRouteSections.GET_SUPPORT }),
65
+ React.createElement(OpenCase, { routeProps: routeProps, userSeenRecommendations: props.userSeenRecommendationsfn, userClickedNextonRecommendations: props.userClickedNextonRecommendationsValue, resultsRowRef: props.resultsRowRef })))), canJumpTo: isSectionValidFn(AppRouteSections.GET_SUPPORT) || activeSection === AppRouteSections.GET_SUPPORT }),
61
66
  [AppRouteSections.SUMMARIZE]: Object.assign(Object.assign({}, defaultRouteConfiguration), { id: AppRouteSections.SUMMARIZE, name: t('Summarize'), component: (React.createElement(MainSection, { stepNumber: 2, totalSteps: 6, section: AppRouteSections.SUMMARIZE, title: t('What are you having an issue with?') },
62
67
  React.createElement(Suspense, { fallback: React.createElement(LoadingIndicator, { size: "sm" }) },
63
68
  alertMessage(),
64
- React.createElement(ProductSelector, { routeProps: routeProps, userSeenRecommendations: props.userSeenRecommendationsfn, userClickedNextonRecommendations: props.userClickedNextonRecommendationsValue, resultsRowRef: props.resultsRowRef })))), canJumpTo: isSectionValidFn(AppRouteSections.SUMMARIZE) || activeSection === AppRouteSections.SUMMARIZE, nextButtonLabel: (summarizeNextButtonLabelLogic() || ((props === null || props === void 0 ? void 0 : props.userSeenRecommendationsValue) && numFound < 3)) &&
69
+ canChangeAccountInfo && !isCaseCreate && (React.createElement(React.Fragment, null,
70
+ React.createElement(AccountSelector, { "data-tracking-id": "get-support-account-selector" }),
71
+ React.createElement(OwnerSelector, { "data-tracking-id": "get-support-owner-selector" }))),
72
+ React.createElement(ProductSelector, { routeProps: routeProps, userSeenRecommendations: props.userSeenRecommendationsfn, userClickedNextonRecommendations: props.userClickedNextonRecommendationsValue, resultsRowRef: props.resultsRowRef, isOnGetSupportPage: false, caseCreateExperience: isCaseCreate })))), canJumpTo: isSectionValidFn(AppRouteSections.SUMMARIZE) || activeSection === AppRouteSections.SUMMARIZE, nextButtonLabel: (summarizeNextButtonLabelLogic() || ((props === null || props === void 0 ? void 0 : props.userSeenRecommendationsValue) && numFound < 3)) &&
65
73
  !isEmpty(issue) // do this so that when user refreshes tab and state persists we don't cause edge 'continue' render
66
74
  ? t('Continue')
67
75
  : t('See more options') }),
@@ -0,0 +1,25 @@
1
+ export interface ICVEWorkflowRecommendation {
2
+ publicDate: string;
3
+ title: string;
4
+ severity: any;
5
+ mitigation: any;
6
+ details: string;
7
+ cveLink: string;
8
+ errataData: IErrataDetails[];
9
+ }
10
+ interface IAdvisory {
11
+ name: string;
12
+ release_date: string;
13
+ type: string;
14
+ url: string;
15
+ }
16
+ export interface IErrataDetails {
17
+ cpe: string;
18
+ product: string;
19
+ advisory: IAdvisory;
20
+ package: string;
21
+ state: string;
22
+ lifecycle_url: string;
23
+ }
24
+ export {};
25
+ //# sourceMappingURL=caseCreationWorkflows.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"caseCreationWorkflows.d.ts","sourceRoot":"","sources":["../../../src/models/caseCreationWorkflows.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,GAAG,CAAC;IACd,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,cAAc,EAAE,CAAC;CAChC;AAED,UAAU,SAAS;IACf,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;CACzB"}
@@ -0,0 +1 @@
1
+ export {};
@@ -7,6 +7,7 @@ import { ICaseNotificationAddresses } from '@cee-eng/hydrajs/@types/models/case'
7
7
  import { IContact } from '@cee-eng/hydrajs/@types/models/contact';
8
8
  import { IAction, IAPIError, IApiResponseDetails } from '@rh-support/types/shared';
9
9
  import { Dispatch } from 'react';
10
+ import { ICVEWorkflowRecommendation } from '../models/caseCreationWorkflows';
10
11
  export declare const TITLE_SUMMARY_LENGTH_LIMIT = 255;
11
12
  export declare const ISSUE_SUMMARY_LENGTH_LIMIT = 20000;
12
13
  export declare const SUMMARY_LENGTH_LIMIT = 255;
@@ -179,6 +180,7 @@ export declare enum CaseReducerConstants {
179
180
  }
180
181
  export declare const initialCaseState: ICaseState;
181
182
  export interface ICaseState {
183
+ enableGetSupportProductVersion?: boolean;
182
184
  caseDetailsStrata: IApiResponseDetails<Partial<ICaseDetails>>;
183
185
  caseDetails: Partial<ICasePayload>;
184
186
  customerEscalation: boolean;
@@ -230,6 +232,8 @@ export interface ICaseState {
230
232
  shouldNotSetPhoneCountryCode?: boolean;
231
233
  ftsContactSameAsOwner?: boolean;
232
234
  isCasePhoneUpdating?: boolean;
235
+ cveWorkflowRecommendation?: ICVEWorkflowRecommendation[];
236
+ isCveModalOpened?: boolean;
233
237
  }
234
238
  export interface ICreateCasePayloadType extends ICaseState {
235
239
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CaseConstNTypes.d.ts","sourceRoot":"","sources":["../../../src/reducers/CaseConstNTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACjH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEnF,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,eAAO,MAAM,0BAA0B,MAAM,CAAC;AAC9C,eAAO,MAAM,0BAA0B,QAAQ,CAAC;AAEhD,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAExC,eAAO,MAAM,oBAAoB,OAAO,CAAC;AAEzC,eAAO,MAAM,gCAAgC,QAAQ,CAAC;AAEtD,eAAO,MAAM,mCAAmC,MAAM,CAAC;AACvD,eAAO,MAAM,+BAA+B,MAAM,CAAC;AACnD,eAAO,MAAM,wBAAwB,QAAQ,CAAC;AAC9C,eAAO,MAAM,iCAAiC,QAAQ,CAAC;AACvD,eAAO,MAAM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AAyC,+CAA+C,CAAC"}
@@ -130,6 +130,7 @@ export var CaseReducerConstants;
130
130
  CaseReducerConstants["updateComments"] = "updateComments";
131
131
  })(CaseReducerConstants || (CaseReducerConstants = {}));
132
132
  export const initialCaseState = {
133
+ enableGetSupportProductVersion: true,
133
134
  isCreatingCase: false,
134
135
  caseCreationError: false,
135
136
  caseCreationErrorMessage: '',
@@ -227,6 +228,8 @@ export const initialCaseState = {
227
228
  shouldNotSetPhoneCountryCode: false,
228
229
  ftsContactSameAsOwner: false,
229
230
  isCasePhoneUpdating: false,
231
+ cveWorkflowRecommendation: [],
232
+ isCveModalOpened: true,
230
233
  };
231
234
  export const ORG_ADMIN_SEND_NOTIFCATION_KBASE_LINK = 'https://access.redhat.com/articles/5967811';
232
235
  export const NON_ORG_ADMIN_SEND_NOTIFCATION_KBASE_LINK = 'https://access.redhat.com/articles/5967831';
@@ -50,5 +50,4 @@ export declare const showSideBarClusterIdRuleWidgetSections: AppRouteSections[];
50
50
  export declare const showSideBarFileRecommendationSections: AppRouteSections[];
51
51
  export declare const hideSideBarClusterIdRuleToast: AppRouteSections[];
52
52
  export declare const hiddengetSupportSections: AppRouteSections[];
53
- export declare const showRecommendationTipsSections: AppRouteSections[];
54
53
  //# sourceMappingURL=RouteConstNTypes.d.ts.map
@@ -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;IAChB,SAAS,CAAC,EAAE,MAAM,C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gBAAgB;IACxB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;IAC/B,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,KAAK,UAAU;CAClB;AAKD,eAAO,MAAM,4BAA4B,EAAE,gBAAgB,EAI1D,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,gBAAgB,EAK9D,CAAC;AAEF,eAAO,MAAM,iCAAiC,oBAQ7C,CAAC;AAEF,eAAO,MAAM,gCAAgC,oBAQ5C,CAAC;AAEF,eAAO,MAAM,4BAA4B,oBAQxC,CAAC;AAGF,eAAO,MAAM,0BAA0B,oBAAiC,CAAC;AAEzE,eAAO,MAAM,mCAAmC,oBAA+D,CAAC;AAEhH,eAAO,MAAM,kCAAkC,oBAO9C,CAAC;AAEF,eAAO,MAAM,+BAA+B,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"}
@@ -78,4 +78,3 @@ export const hiddengetSupportSections = [
78
78
  AppRouteSections.MANAGEMENT,
79
79
  AppRouteSections.REVIEW,
80
80
  ];
81
- export const showRecommendationTipsSections = [AppRouteSections.SUMMARIZE];
@@ -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,qDAAqD,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OA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AAE,yBAAyB,EACzD,MAAM,EAAE,sBAAsB,EAC9B,SAAS,EAAE,gBAAgB,EAAE,iBA+DhC;AAED,eAAO,MAAM,oBAAoB,eACjB,eAAe,oBACT,0BAA0B,SACtC,MAAM,KACb,gBAAgB,EAIlB,CAAC;AAEF,eAAO,MAAM,YAAY,OACjB,WAAW,oBACG,0BAA0B,SACtC,MAAM,KACb,gBAMD,CAAC;AAEH,wBAAgB,kBAAkB,CAC9B,IAAI,EAAE,mBAAmB,EAAE,EAC3B,gBAAgB,EAAE,0BAA0B,EAC5C,QAAQ,GAAE,MAAU,EACpB,WAAW,GAAE,MAAU,GACxB,gBAAgB,EAAE,CAMpB;AAGD,eAAO,MAAM,iBAAiB,QACrB,mBAAmB,oBACN,0BAA0B,SACtC,MAAM,KACb,gBAOD,CAAC;AAEH,eAAO,MAAM,mBAAmB,QACvB,MAAM,oBACO,0BAA0B,SACtC,MAAM,6BAEb,gBAMD,CAAC;AAEH,eAAO,MAAM,cAAc,gFAY1B,CAAC;AAEF,eAAO,MAAM,qBAAqB,gFAYjC,CAAC;AAGF,eAAO,MAAM,gBAAgB,QACpB,MAAM,oBACO,0BAA0B,SACtC,MAAM,6BAEb,gBAMD,CAAC;AAIH,eAAO,MAAM,YAAY,eACT,mBAAmB,mBACd,mBAAmB,EAAE,YAC7B,mBAAmB,EAAE,uBAWjC,CAAC"}
@@ -390,7 +390,7 @@ export function getSessResFromRecs(recs, visibilityStatus, pageSize = 1, current
390
390
  return toReturn;
391
391
  }
392
392
  // Recommendations Helper Function
393
- export const getSessResFromRec = (rec, visibilityStatus, rank = 1) => (Object.assign(Object.assign({ visibilityStatus }, (rec.id && { resourceEntityId: rec.id })), { type: getResTypeFromUrl(rec.view_uri), url: rec.view_uri, rank }));
393
+ export const getSessResFromRec = (rec, visibilityStatus, rank = 1) => (Object.assign(Object.assign({ visibilityStatus }, (rec.id && { resourceEntityId: rec.id })), { type: getResTypeFromUrl(rec.view_uri), url: rec.view_uri, rank, reRankScore: rec.rerank_score }));
394
394
  export const getSessResFromRules = (url, visibilityStatus, rank = 1, resourceEntityId) => (Object.assign(Object.assign({ visibilityStatus }, (resourceEntityId && { resourceEntityId })), { type: getResTypeFromUrl(url), url: url, rank }));
395
395
  export const getRulesToSave = (visiterUrl, visitedRec, allPresentedRec) => {
396
396
  return map(allPresentedRec, (rec, i) => {
@@ -1009,8 +1009,7 @@ svg.pf-v5-u-ml-xs.icon-size {
1009
1009
  }
1010
1010
 
1011
1011
  .case-internal-status-selector-text,
1012
- .get-support-severity-modal-text,
1013
- .case-type-selector-text {
1012
+ .get-support-severity-modal-text {
1014
1013
  .pf-v5-c-menu-toggle__text {
1015
1014
  width: 100%;
1016
1015
  }
@@ -1061,3 +1060,22 @@ svg.pf-v5-u-ml-xs.icon-size {
1061
1060
  #get-support-severity-modal {
1062
1061
  max-width: min-content;
1063
1062
  }
1063
+
1064
+ #DeepPurpleColorAILabel {
1065
+ background-color: #6600cc !important; //deep purple override because not available in PF yet
1066
+ }
1067
+ #DeepPurpleColorAILabel .pf-v5-c-label__content {
1068
+ color: #ffffff !important;
1069
+ }
1070
+
1071
+ #DeepPurpleColorAILabel .pf-v5-svg {
1072
+ margin: 0 10px 0 5px;
1073
+ }
1074
+
1075
+ #DeepPurpleColorAILabel .pf-v5-c-spinner__path {
1076
+ stroke: white;
1077
+ }
1078
+
1079
+ #DeepPurpleColorAILabel svg.pf-v5-c-spinner {
1080
+ margin: 0 10px 0 5px;
1081
+ }
@@ -784,9 +784,3 @@ div.case-details-tabs pre {
784
784
  .get-support-summary-input {
785
785
  margin-bottom: 1rem;
786
786
  }
787
-
788
- #external-ssousername-filter {
789
- @media (min-width: 1300px) {
790
- min-width: calc(100% + 269px) !important;
791
- }
792
- }
@@ -1,2 +1,8 @@
1
1
  export declare const extractKTQuestion1FromDescription: (description: any) => any;
2
+ /**
3
+ * Finds all CVE identifiers in the given text.
4
+ * @param {string} text - The input text to search for CVE identifiers.
5
+ * @returns {string[]} An array of CVE identifiers found in the text, or an empty array if none are found.
6
+ */
7
+ export declare const findCVEsInString: (text: string) => string[];
2
8
  //# sourceMappingURL=caseUtils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"caseUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/caseUtils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iCAAiC,2BAa7C,CAAC"}
1
+ {"version":3,"file":"caseUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/caseUtils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iCAAiC,2BAa7C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,SAAU,MAAM,KAAG,MAAM,EAYrD,CAAC"}
@@ -14,3 +14,18 @@ export const extractKTQuestion1FromDescription = (description) => {
14
14
  return description;
15
15
  }
16
16
  };
17
+ /**
18
+ * Finds all CVE identifiers in the given text.
19
+ * @param {string} text - The input text to search for CVE identifiers.
20
+ * @returns {string[]} An array of CVE identifiers found in the text, or an empty array if none are found.
21
+ */
22
+ export const findCVEsInString = (text) => {
23
+ // Regular expression to match CVE identifiers
24
+ const cveRegex = /\b(CVE-\d{4}-\d{4,7})\b/gi;
25
+ // Find all matches in the text
26
+ const matches = text.match(cveRegex);
27
+ // Deduplicate the matches and convert to uppercase
28
+ const uniqueMatches = [...new Set(matches === null || matches === void 0 ? void 0 : matches.map((match) => match.toUpperCase()))];
29
+ // Return the unique matches, or an empty array if no matches found
30
+ return uniqueMatches || [];
31
+ };