@rh-support/troubleshoot 2.2.102 → 2.2.104

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseOverview/index.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAkD,MAAM,OAAO,CAAC;AA6BvE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,MAAM,qBAifjD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseOverview/index.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAkD,MAAM,OAAO,CAAC;AA6BvE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,MAAM,qBAwfjD"}
@@ -11,7 +11,7 @@ import { Alert, AlertVariant, Button, ButtonVariant, ExpandableSection, Label, M
11
11
  import { ToastNotification, useConfirmation } from '@rh-support/components';
12
12
  import { CloseCaseModal, fetchCaseSeverities, fetchCaseTypes, GlobalMetadataDispatchContext, GlobalMetadataStateContext, useCanEditCase, } from '@rh-support/react-context';
13
13
  import { AbilityContext, CaseDetailsFields, resourceActions, resources } from '@rh-support/user-permissions';
14
- import { haventLoadedMetadata, isOpenShiftOnlineProduct, toNewCaseTypeMapper, toNewCaseTypeSwitcher, } from '@rh-support/utils';
14
+ import { haventLoadedMetadata, isOpenShiftOnlineProduct, PreviousCaseTypes, toNewCaseTypeMapper, toNewCaseTypeSwitcher, } from '@rh-support/utils';
15
15
  import isEqual from 'lodash/isEqual';
16
16
  import React, { useContext, useEffect, useRef, useState } from 'react';
17
17
  import { Trans, useTranslation } from 'react-i18next';
@@ -55,6 +55,7 @@ export default function CaseOverview(props) {
55
55
  version: state.caseDetails.version,
56
56
  status: state.caseDetails.status,
57
57
  caseType: state.caseDetails.caseType,
58
+ caseSeverity: state.caseDetails.severity,
58
59
  createdDate: state.caseDetails.createdDate,
59
60
  createdById: state.caseDetails.createdById,
60
61
  ownerId: state.caseDetails.ownerId,
@@ -114,7 +115,11 @@ export default function CaseOverview(props) {
114
115
  return;
115
116
  setTypeUpdating(caseOverviewDispatch, true);
116
117
  try {
117
- yield updateCaseDetails(caseDispatch, props.caseNumber, { caseType: type });
118
+ let newCaseDetails = { caseType: type };
119
+ if (type === PreviousCaseTypes.FEATURE_ENHANCEMENT) {
120
+ newCaseDetails = Object.assign(Object.assign({}, newCaseDetails), { fts: false });
121
+ }
122
+ yield updateCaseDetails(caseDispatch, props.caseNumber, newCaseDetails);
118
123
  setTypeUpdating(caseOverviewDispatch, false);
119
124
  ToastNotification.addSuccessMessage(t('Support type has been successfully updated'));
120
125
  }
@@ -71,7 +71,7 @@ export const NewProductDropdownSelector = (props) => {
71
71
  };
72
72
  return (React.createElement("div", null,
73
73
  React.createElement(Select, { variant: SelectVariant.typeahead, typeAheadAriaLabel: t('Search for or select a product'), onToggle: (_event, isOpen) => onToggle(isOpen), onSelect: onSelect, isOpen: isOpen, placeholderText: t('Search for or select a product'), "aria-labelledby": t('Product-selector'), onFilter: onFilter, selections: product, validated: isEmpty(product) && showValidationLocal ? 'error' : 'default', "data-tracking-id": "get-support-product-dropdown-selector" }, getOptions()),
74
- !isSelectedProductSupportedForCustomer && (React.createElement("div", { className: "pf-v5-u-ml-xs pf-v5-u-mt-sm pf-v5-u-font-size-xs small-font-warning-line-height" },
74
+ !isSelectedProductSupportedForCustomer && (React.createElement("div", { className: "pf-v5-u-ml-xs pf-v5-u-mt-sm form-instructions" },
75
75
  React.createElement(Trans, null, "Red Hat must confirm your subscription status before providing support."),
76
76
  React.createElement("br", null),
77
77
  React.createElement(Trans, null, "We'll contact you if we have question.")))));
@@ -1 +1 @@
1
- {"version":3,"file":"ClusterRecommendationItems.d.ts","sourceRoot":"","sources":["../../../../src/components/Recommendations/ClusterRecommendationItems.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAC;AAI5F,OAAO,KAAgC,MAAM,OAAO,CAAC;AAWrD,UAAU,MAAM;IACZ,sBAAsB,EAAE,sBAAsB,EAAE,CAAC;CACpD;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,qBAgFvD"}
1
+ {"version":3,"file":"ClusterRecommendationItems.d.ts","sourceRoot":"","sources":["../../../../src/components/Recommendations/ClusterRecommendationItems.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAC;AAI5F,OAAO,KAAgC,MAAM,OAAO,CAAC;AAWrD,UAAU,MAAM;IACZ,sBAAsB,EAAE,sBAAsB,EAAE,CAAC;CACpD;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,qBAiFvD"}
@@ -18,15 +18,16 @@ export function ClusterRecommendationItems(props) {
18
18
  openshiftClusterID: state.caseDetails.openshiftClusterID,
19
19
  }), isEqual);
20
20
  const detailsUrl = `https://console.redhat.com/openshift/insights/advisor/clusters/${openshiftClusterID}`;
21
- const onResourceClick = (e, rule) => {
22
- createOrUpdateSessionResources(sessionRestoreDispatch, activeSessionId, sessionResourceTracking, SessionResourceSource.CLUSTER_RECOMMENDATION, [getSessResFromRules('', SessionResourceVisibility.VISITED, 1, rule.rule_id)], JSON.stringify({ product, version, openshiftClusterID }));
21
+ const onResourceClick = (e, rule, i) => {
22
+ const url = detailsUrl + '?rank=' + (i + 1);
23
+ createOrUpdateSessionResources(sessionRestoreDispatch, activeSessionId, sessionResourceTracking, SessionResourceSource.CLUSTER_RECOMMENDATION, [getSessResFromRules(url, SessionResourceVisibility.VISITED, i + 1, rule.rule_id)], JSON.stringify({ product, version, openshiftClusterID }));
23
24
  };
24
25
  useEffect(() => {
25
26
  const recsWithUrl = props.clusterRecommendations.map((rec, i) => (Object.assign(Object.assign({}, rec), { url: `${detailsUrl}?rank=${i + 1}` })));
26
27
  createOrUpdateSessionResources(sessionRestoreDispatch, activeSessionId, sessionResourceTracking, SessionResourceSource.CLUSTER_RECOMMENDATION, getRulesToSave('', '', recsWithUrl), JSON.stringify({ product, version, openshiftClusterID }));
27
28
  // eslint-disable-next-line react-hooks/exhaustive-deps
28
29
  }, [props.clusterRecommendations, activeSessionId]);
29
- return (React.createElement("pfe-accordion", null, props.clusterRecommendations.map((rule) => (React.createElement(React.Fragment, null,
30
+ return (React.createElement("pfe-accordion", null, props.clusterRecommendations.map((rule, i) => (React.createElement(React.Fragment, null,
30
31
  React.createElement("pfe-accordion-header", null,
31
32
  React.createElement("h3", null, rule.description)),
32
33
  React.createElement("pfe-accordion-panel", null,
@@ -34,7 +35,7 @@ export function ClusterRecommendationItems(props) {
34
35
  React.createElement(Label, { icon: riskLabels[rule.total_risk].icon, className: riskLabels[rule.total_risk].className },
35
36
  React.createElement(Trans, null, riskLabels[rule.total_risk].label))),
36
37
  React.createElement("p", null, rule.details || ''),
37
- React.createElement("a", { onClick: (e) => onResourceClick(e, rule), className: "pf-v5-u-font-weight-bold", "data-tracking-id": "cluster-recommendations", href: detailsUrl, target: "_blank", rel: "noopener noreferrer" },
38
+ React.createElement("a", { onClick: (e) => onResourceClick(e, rule, i), className: "pf-v5-u-font-weight-bold", "data-tracking-id": "cluster-recommendations", href: detailsUrl, target: "_blank", rel: "noopener noreferrer" },
38
39
  React.createElement(Trans, null,
39
40
  "View details and remediation steps ",
40
41
  React.createElement(ArrowRightIcon, { "aria-hidden": "true" })))))))));
@@ -1 +1 @@
1
- {"version":3,"file":"SubmitCase.d.ts","sourceRoot":"","sources":["../../../../src/components/SubmitCase/SubmitCase.tsx"],"names":[],"mappings":"AAeA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAE/D,OAAO,EAAQ,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAO7D,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAWlE,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,MAAM,qBAmU/C"}
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,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAWlE,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,MAAM,qBAyY/C"}
@@ -1,20 +1,21 @@
1
1
  import { Env, publicApi } from '@cee-eng/hydrajs';
2
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
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, phoneCountryCode, phoneAreaCodePrefixLineNumber, } = 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,6 +37,8 @@ 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,
@@ -43,6 +46,7 @@ export default function SubmitCase(props) {
43
46
  phoneCountryCode: state.caseDetails.phoneCountryCode,
44
47
  phoneAreaCodePrefixLineNumber: state.caseDetails.phoneAreaCodePrefixLineNumber,
45
48
  }), isEqual);
49
+ const caseDispatch = useCaseDispatch();
46
50
  const isIdea = caseType === PreviousCaseTypes.FEATURE_ENHANCEMENT;
47
51
  const { topContentState: { topContent }, } = useContext(TCStateContext);
48
52
  const { rulesState } = useContext(RulesStateContext);
@@ -86,11 +90,61 @@ export default function SubmitCase(props) {
86
90
  const isNotAnIdea = caseType !== PreviousCaseTypes.FEATURE_ENHANCEMENT;
87
91
  // To check if the user is ESS Customer and Product has ESS Support
88
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
+ // to handle API error code from URL param and set error message alert
96
+ useEffect(() => {
97
+ if (isEqual(queryParams === null || queryParams === void 0 ? void 0 : queryParams.caseCreationErrorCode, '403') &&
98
+ !isCreatingCase &&
99
+ !caseCreationError &&
100
+ isEmpty(caseNoOfCreatedCase)) {
101
+ const errorMessage = (React.createElement("p", null,
102
+ "Unable to create case Contact is set to not manage cases.",
103
+ React.createElement("br", null),
104
+ "Please ",
105
+ React.createElement("a", { href: "/support/contact/customerService" }, "contact Customer Service"),
106
+ " if you think this is an error."));
107
+ const error = {
108
+ code: errorCode,
109
+ message: errorMessage,
110
+ };
111
+ formattedApiErrorMessage(error, { errorCode: { message: errorMessage } });
112
+ setCaseState(caseDispatch, {
113
+ caseCreationErrorMessage: error.message,
114
+ });
115
+ }
116
+ else if (caseCreation500ErrorStatus &&
117
+ !isCreatingCase &&
118
+ !caseCreationError &&
119
+ isEmpty(caseNoOfCreatedCase)) {
120
+ const errorMessageCaseSubmit500 = (React.createElement(Trans, null,
121
+ React.createElement("p", null,
122
+ "Try submitting again after a minute. Please ",
123
+ React.createElement(SupportFeedbackForm, { isInline: true }),
124
+ " if you continue to see this message.")));
125
+ const error = {
126
+ code: 500,
127
+ message: errorMessageCaseSubmit500,
128
+ };
129
+ formattedApiErrorMessage(error, { '500': { message: errorMessageCaseSubmit500 } });
130
+ setCaseState(caseDispatch, {
131
+ caseCreationErrorMessage: error.message,
132
+ });
133
+ }
134
+ // eslint-disable-next-line react-hooks/exhaustive-deps
135
+ }, [queryParams]);
136
+ // to update URL params with API error code in case of unsuccessful case submission
137
+ useEffect(() => {
138
+ if (caseCreationErrorCode) {
139
+ RouteUtils.updateQueryParams(props.routeProps, { caseCreationErrorCode: caseCreationErrorCode });
140
+ }
141
+ // eslint-disable-next-line react-hooks/exhaustive-deps
142
+ }, [caseCreationErrorCode]);
89
143
  return (React.createElement("article", { className: "gird-main" },
90
144
  React.createElement(AlertMessage, { className: "pf-v5-u-mt-lg", title: t('Failed to add user.'), variant: AlertType.DANGER, show: addNotifiedUserError }),
91
- React.createElement(AlertMessage, { className: "pf-v5-u-mt-lg", variant: AlertType.DANGER, show: caseCreationError, title: t("Sorry, we're experiencing an error"), isInline: true },
145
+ 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 },
92
146
  React.createElement(React.Fragment, null, caseCreationErrorMessage)),
93
- !isCreatingCase && !caseCreationError && (React.createElement(React.Fragment, null,
147
+ !isCreatingCase && !caseCreationError && !isEmpty(caseNoOfCreatedCase) && (React.createElement(React.Fragment, null,
94
148
  !isESSCustomer && !screenSessionRequested && showRemoteRiderBanner && (React.createElement(RemoteRiderBanner, { onConfirm: onRemoteRiderConfirm, onClose: onRemoteRiderClose, caseNumber: caseNoOfCreatedCase, isSecureSupport: loggedInUsersAccount.data.secureSupport, loggedInUserRights: loggedInUserRights })),
95
149
  React.createElement("div", { className: "submit-case-header-container" },
96
150
  React.createElement("p", { className: "kicker kicker-sm pf-v5-u-mb-sm" }, !isEmpty(RouteUtils.seBasePath) &&
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateSeverityModal.d.ts","sourceRoot":"","sources":["../../../../src/components/UpdateSeverityModal/UpdateSeverityModal.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAoB3E,UAAU,MAAM;IACZ,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,MAAM,qBAifxD"}
1
+ {"version":3,"file":"UpdateSeverityModal.d.ts","sourceRoot":"","sources":["../../../../src/components/UpdateSeverityModal/UpdateSeverityModal.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAoB3E,UAAU,MAAM;IACZ,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,MAAM,qBAshBxD"}
@@ -11,7 +11,7 @@ import { publicApi } from '@cee-eng/hydrajs';
11
11
  import { Button, Modal, TextArea } from '@patternfly/react-core';
12
12
  import { Dropdown, ToastNotification, useFetch } from '@rh-support/components';
13
13
  import { GlobalMetadataStateContext, useCanEditCase } from '@rh-support/react-context';
14
- import { autoEnableFtsOnCaseViewEditPage, isFtsEditableOnEditPage, isSev1, severitySort, showFtsOnCreateCasePage, toOption, toOptions, } from '@rh-support/utils';
14
+ import { autoEnableFtsOnCaseViewEditPage, isFtsEditableOnEditPage, isSev1, PreviousCaseTypes, severitySort, showFtsOnCreateCasePage, toOption, toOptions, } from '@rh-support/utils';
15
15
  import { isUndefined } from 'lodash';
16
16
  import find from 'lodash/find';
17
17
  import includes from 'lodash/includes';
@@ -37,6 +37,7 @@ export default function UpdateSeverityModal(props) {
37
37
  const caseDispatch = useCaseDispatch();
38
38
  const canEditCase = useCanEditCase();
39
39
  const [updatedCaseDetails, setUpdatedCaseDetails] = useState({});
40
+ const [isUpdateClickedToShowError, setIsUpdateClickedToShowError] = useState(false);
40
41
  const [isSeverityInValid, setIsSeverityInValid] = useState(false);
41
42
  const [seviritiesOptions, setSeveritiesOptions] = useState([]);
42
43
  const [doNotShowIRT, setDoNotShowIRT] = useState(false);
@@ -57,13 +58,15 @@ export default function UpdateSeverityModal(props) {
57
58
  entitlementSla: state.caseDetails.entitlementSla,
58
59
  fts: state.caseDetails.fts,
59
60
  contactInfo24x7: state.caseDetails.contactInfo24x7,
61
+ caseType: state.caseDetails.caseType,
60
62
  },
61
63
  isCaseUpdating: state.isCaseUpdating,
62
64
  versionsDetails: state.versionsDetails,
63
65
  ownersEntitlements: state.ownersEntitlements,
64
66
  }), isEqual);
65
67
  const { caseDetails, isCaseUpdating, ownersEntitlements, versionsDetails } = caseState;
66
- const { entitlementSla, fts, contactInfo24x7 } = caseDetails;
68
+ const { entitlementSla, fts, contactInfo24x7, caseType } = caseDetails;
69
+ const isIdea = caseType === PreviousCaseTypes.FEATURE_ENHANCEMENT;
67
70
  const [currentSeverity, setCurrentSeverity] = useState(caseDetails.caseSeverity);
68
71
  const [localFtsContact, setLocalFtsContact] = useState(contactInfo24x7 || '');
69
72
  const [localFts, setLocalFts] = useState(isUndefined(fts) ? true : fts);
@@ -136,6 +139,7 @@ export default function UpdateSeverityModal(props) {
136
139
  setSeverityUpdating(caseOverviewDispatch, false);
137
140
  setCurrentSeverity(caseDetails.caseSeverity);
138
141
  setDescriptionValue('');
142
+ setIsUpdateClickedToShowError(false);
139
143
  onClose();
140
144
  });
141
145
  // To handle on successful submit
@@ -148,12 +152,27 @@ export default function UpdateSeverityModal(props) {
148
152
  const handleTextAreaChange = (value) => {
149
153
  setDescriptionValue(value);
150
154
  };
155
+ const getFtsUpdateComment = () => {
156
+ if (isEqual(caseDetails.fts, localFts) && isEqual(caseDetails.contactInfo24x7, localFtsContact))
157
+ return '';
158
+ if (caseDetails.fts && !localFts)
159
+ return '#### Contact Support Update \n User disabled 24x7 contact support';
160
+ if (!caseDetails.fts && localFts)
161
+ return '#### Contact Support Update \n User enabled 24x7 contact support';
162
+ return '#### Contact Support Update \n User updated 24x7 contact information';
163
+ };
151
164
  const updateCaseFtsInfo = () => __awaiter(this, void 0, void 0, function* () {
152
165
  try {
166
+ const ftsUpdateComment = `${getFtsUpdateComment()} \n\n #### Description \n ${descriptionValue.trim()}`;
153
167
  yield updateCaseDetails(caseDispatch, caseDetails.caseNumber, {
154
168
  fts: localFts,
155
169
  contactInfo24x7: localFtsContact,
156
170
  });
171
+ yield postCommentRequest({
172
+ caseNumber: caseDetails.caseNumber,
173
+ commentBody: ftsUpdateComment === null || ftsUpdateComment === void 0 ? void 0 : ftsUpdateComment.trim(),
174
+ contentType: 'markdown',
175
+ });
157
176
  ToastNotification.addSuccessMessage(t(`Case has been successfully updated`));
158
177
  }
159
178
  catch (err) {
@@ -164,12 +183,17 @@ export default function UpdateSeverityModal(props) {
164
183
  }
165
184
  });
166
185
  const onSubmit = () => __awaiter(this, void 0, void 0, function* () {
186
+ setIsUpdateClickedToShowError(true);
187
+ if (isSubmitButtonDisabled) {
188
+ return;
189
+ }
167
190
  if (onlyFtsInfoChanged) {
168
191
  updateCaseFtsInfo();
169
192
  return;
170
193
  }
194
+ const ftsUpdateComment = getFtsUpdateComment();
171
195
  // Severity update successful comment body
172
- const severityUpdateComment = t('#### Severity update \n Severity changed from {{oldSeverity}} to {{newSeverity}}\n\n #### Description \n{{description}}', {
196
+ const severityUpdateComment = t(`#### Severity update \n Severity changed from {{oldSeverity}} to {{newSeverity}}\n\n ${isEmpty(ftsUpdateComment) ? '' : ftsUpdateComment + '\n\n\n'} #### Description \n{{description}}`, {
173
197
  oldSeverity: caseDetails.caseSeverity,
174
198
  newSeverity: updatedCaseDetails['severity'],
175
199
  description: descriptionValue === null || descriptionValue === void 0 ? void 0 : descriptionValue.trim(),
@@ -228,6 +252,7 @@ export default function UpdateSeverityModal(props) {
228
252
  }
229
253
  finally {
230
254
  yield updateDiscussionStateComments(dispatchDiscussion, caseDetails.caseNumber, allDiscussions, sort, caseFeedbacksHydra.data, discussionFiltersListState);
255
+ setIsUpdateClickedToShowError(false);
231
256
  }
232
257
  });
233
258
  // To check if description is valid
@@ -265,10 +290,12 @@ export default function UpdateSeverityModal(props) {
265
290
  setUpdatedCaseDetails((pre) => (Object.assign(Object.assign({}, pre), { contactInfo24x7: e.target.value.trim() })));
266
291
  };
267
292
  // To disable submit button wrt above conditions
268
- const isSubmitButtonDisabled = checkIsUpdateValid() && (onlyFtsInfoChanged || isTextAreaValid()) ? false : true;
293
+ const isSubmitButtonDisabled = checkIsUpdateValid() && isTextAreaValid() ? false : true;
269
294
  // Update severity modal buttons
270
295
  const modalActions = [
271
- React.createElement(Button, { key: "submit", variant: "primary", onClick: onSubmit, isLoading: isCaseUpdating || isPostingComment, "data-tracking-id": "update-severity-submit", isDisabled: isSubmitButtonDisabled || isCaseUpdating || isPostingComment }, t('Update')),
296
+ React.createElement(Button, { key: "submit", variant: "primary", onClick: onSubmit, isLoading: isCaseUpdating || isPostingComment, "data-tracking-id": "update-severity-submit", isDisabled: !isUpdateClickedToShowError && checkIsUpdateValid()
297
+ ? false
298
+ : isSubmitButtonDisabled || isCaseUpdating || isPostingComment }, t('Update')),
272
299
  React.createElement(Button, { key: "back", variant: "link", onClick: onCancel, "data-tracking-id": "update-severity-cancel", isDisabled: isCaseUpdating || isPostingComment }, t('Cancel')),
273
300
  ];
274
301
  // To handle the severity change
@@ -277,10 +304,10 @@ export default function UpdateSeverityModal(props) {
277
304
  return;
278
305
  if (isSev1(option.value.name) && isFtsEditableOnEditPage(entitlementSla, option.value.name)) {
279
306
  setLocalFts(true);
280
- setUpdatedCaseDetails((pre) => (Object.assign(Object.assign({}, pre), { severity: option.value.name, fts: true })));
307
+ setUpdatedCaseDetails((pre) => (Object.assign(Object.assign({}, pre), { severity: option.value.name, fts: !isIdea })));
281
308
  }
282
309
  else {
283
- setUpdatedCaseDetails({ severity: option.value.name, fts: isSev1(option.value.name) });
310
+ setUpdatedCaseDetails({ severity: option.value.name, fts: false });
284
311
  }
285
312
  setCurrentSeverity(option.value.name);
286
313
  updateState(option.value.name);
@@ -356,10 +383,12 @@ export default function UpdateSeverityModal(props) {
356
383
  React.createElement("label", { htmlFor: "date-input", className: "pf-v5-u-mt-md" },
357
384
  React.createElement(Trans, null, "Describe update"),
358
385
  React.createElement("span", { className: "form-required", "aria-hidden": "true" }, "*")),
359
- React.createElement(TextArea, { placeholder: t('How has the business impact changed? If you have increased severity, please explain why.'), isDisabled: (caseOverviewState.caseSeverityUpdating && isCaseUpdating) || isPostingComment, value: descriptionValue, onChange: (_event, value) => handleTextAreaChange(value), resizeOrientation: "vertical", "aria-label": "summary", isRequired: true }),
386
+ React.createElement(TextArea, { placeholder: t('How has the business impact changed? If you have increased severity, please explain why.'), isDisabled: (caseOverviewState.caseSeverityUpdating && isCaseUpdating) ||
387
+ isPostingComment ||
388
+ !checkIsUpdateValid(), value: descriptionValue, onChange: (_event, value) => handleTextAreaChange(value), resizeOrientation: "vertical", "aria-label": "severity-update-descritpion", validated: isEmpty(descriptionValue) && isUpdateClickedToShowError ? 'error' : 'default', isRequired: true }),
360
389
  React.createElement("div", { className: "pf-v5-u-mt-xs" },
361
390
  React.createElement(Trans, null, "To view your comment, go to the Discussion tab."))),
362
- isFtsEditable && (React.createElement("div", { className: "pf-v5-u-mt-md pf-v5-u-mb-sm" },
391
+ !isIdea && isFtsEditable && (React.createElement("div", { className: "pf-v5-u-mt-md pf-v5-u-mb-sm" },
363
392
  React.createElement("div", null,
364
393
  React.createElement("input", { type: "checkbox", id: "update-severity-fts", "data-tracking-id": "update-severity-fts", name: "update-severity-fts", checked: localFts, onChange: onFtsChange }),
365
394
  React.createElement("label", { htmlFor: "update-severity-fts" },
@@ -177,6 +177,7 @@ export interface ICaseState {
177
177
  isCreatingCase: boolean;
178
178
  caseCreationError: boolean;
179
179
  caseCreationErrorMessage: string | JSX.Element;
180
+ caseCreationErrorCode?: number | string;
180
181
  addNotifiedUserError: boolean;
181
182
  updateNotifiedUserError: boolean;
182
183
  updateNotifiedUserLoading: boolean;
@@ -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,oBA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;AACpF,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC;AAEhE,eAAO,MAAM,qCAAqC,+CAA+C,CAAC;AAClG,eAAO,MAAM,yCAAyC,+CAA+C,CAAC"}
@@ -116,6 +116,7 @@ export const initialCaseState = {
116
116
  isCreatingCase: false,
117
117
  caseCreationError: false,
118
118
  caseCreationErrorMessage: '',
119
+ caseCreationErrorCode: '',
119
120
  notifiedUsers: [],
120
121
  contactIsPartner: false,
121
122
  hotfixRequested: false,
@@ -1 +1 @@
1
- {"version":3,"file":"CaseReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/CaseReducer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AAEtH,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAA+B,MAAM,qCAAqC,CAAC;AAC9G,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAE/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAWxD,OAAO,EAEH,uBAAuB,EAEvB,UAAU,EAEb,MAAM,mBAAmB,CAAC;AAS3B,OAAO,EAAE,0BAA0B,EAAiB,MAAM,yBAAyB,CAAC;AAEpF,eAAO,MAAM,WAAW,WAAY,UAAU,UAAU,GAAG,KAAG,UA+M7D,CAAC;AAGF,eAAO,MAAM,cAAc,aAAc,uBAAuB,aAAa,QAAQ,YAAY,CAAC,SAEjG,CAAC;AAEF,eAAO,MAAM,YAAY,aAAc,uBAAuB,aAAa,QAAQ,UAAU,CAAC,SAE7F,CAAC;AAEF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,iBAiB1F;AAED,eAAO,MAAM,kBAAkB,aAAc,uBAAuB,QAAQ,OAAO,SAKlF,CAAC"}
@@ -63,7 +63,7 @@ export const caseReducer = (pState, action) => {
63
63
  return Object.assign(Object.assign({}, pState), { caseNoOfCreatedCase: action.payload.caseNoOfCreatedCase });
64
64
  }
65
65
  case CaseReducerConstants.setCaseCreationError: {
66
- return Object.assign(Object.assign({}, pState), { isCreatingCase: false, caseCreationError: true, caseCreationErrorMessage: action.payload.caseCreationErrorMessage });
66
+ return Object.assign(Object.assign({}, pState), { isCreatingCase: false, caseCreationError: true, caseCreationErrorMessage: action.payload.caseCreationErrorMessage, caseCreationErrorCode: action.payload.caseCreationErrorCode });
67
67
  }
68
68
  // Recommendation docs track
69
69
  case CaseReducerConstants.setCaseRecommendations: {
@@ -180,12 +180,13 @@ export const submitCase = (dispatch, sessionRestoreDispatch, caseDetails, sessio
180
180
  dispatch({ type: CaseReducerConstants.caseCreated, payload: { caseNoOfCreatedCase: caseNumber } });
181
181
  }
182
182
  catch (error) {
183
+ const errorCode = parseInt((error === null || error === void 0 ? void 0 : error.code) || (error === null || error === void 0 ? void 0 : error.status)) || '';
183
184
  const errorMessage = formattedApiErrorMessage(error, { '500': { message: errorMessage500 } });
184
185
  // Set `caseCreationError` as true if there is HTTP 500 error
185
186
  updateCaseCreationErrorStatusOnError(dispatch, error);
186
187
  dispatch({
187
188
  type: CaseReducerConstants.setCaseCreationError,
188
- payload: { caseCreationErrorMessage: errorMessage },
189
+ payload: { caseCreationErrorMessage: errorMessage, caseCreationErrorCode: errorCode },
189
190
  });
190
191
  !isResubmit &&
191
192
  (yield updateSession(sessionRestoreDispatch, sessionItem.session.id, sessionItem.sessionDetails, Object.assign(Object.assign({}, sessionItem.session), { caseCreationError: true })));
@@ -7,6 +7,7 @@ export interface IRouteQueryParams {
7
7
  seSessionId?: string;
8
8
  source?: string;
9
9
  reranking?: string;
10
+ caseCreationErrorCode?: string | number;
10
11
  summary?: string;
11
12
  }
12
13
  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;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,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,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,sBAAsB;IACnC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACjD;AAED,MAAM,WAAW,eAAe;CAAG;AACnC,oBAAY,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,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
970
970
  }
971
-
972
- .small-font-warning-line-height {
973
- line-height: 1rem;
974
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/troubleshoot",
3
- "version": "2.2.102",
3
+ "version": "2.2.104",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -131,5 +131,5 @@
131
131
  "defaults and supports es6-module",
132
132
  "maintained node versions"
133
133
  ],
134
- "gitHead": "d579286a00d09356cd07729b5750176ad8e3c090"
134
+ "gitHead": "34c73257909928297e8d704b29b9229a6fe8f21d"
135
135
  }