@rh-support/troubleshoot 2.1.14 → 2.1.16

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":"CaseDetailsAside.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/CaseDetailsAside.tsx"],"names":[],"mappings":"AA8BA,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,eA6V7C"}
1
+ {"version":3,"file":"CaseDetailsAside.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/CaseDetailsAside.tsx"],"names":[],"mappings":"AA8BA,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,eAmW7C"}
@@ -205,10 +205,12 @@ export function CaseDetailsAside(props) {
205
205
  React.createElement(Checkbox, { label: t('Set to default'), isChecked: isDefaultBoxChecked, onChange: onDefaultCheckboxChange, id: "set-default-view-checkbox", name: "default-view-checkbox", isDisabled: isDefaultBoxChecked, className: 'defaultViewCheckbox' })))),
206
206
  React.createElement(ErrorBoundary, { errorMsgInfo: { message: t('There was an error loading top solutions') } },
207
207
  React.createElement(CaseSolutions, { caseNumber: caseNumber, ref: topSolutionsRef, isSecureSupportAccount: isSecureSupportAccount })),
208
- !caseEscalations.isFetching && canViewACESection && (React.createElement(ErrorBoundary, { errorMsgInfo: { message: t('There was an error loading customer escalation') } },
208
+ !caseEscalations.isFetching && canViewACESection && (React.createElement(ErrorBoundary, { errorMsgInfo: { message: t('There was an error loading customer escalation section') } },
209
209
  React.createElement(ActiveCustomerEscalation, { caseNumber: caseNumber, caseSeverity: severity, caseStatus: status, ref: createEscalationRef }))),
210
- isExternal &&
211
- (isESSCustomer ? (React.createElement(ErrorBoundary, { errorMsgInfo: { message: t('There was an error loading requesting remote session') } },
212
- React.createElement(ESSRemoteSession, { screenSessionRequested: screenSessionRequested, caseNumber: caseNumber, caseSeverity: severity, caseStatus: status, ref: createEscalationRef, readOnly: canReadCase, remoteSessionTermsAcked: remoteSessionTermsAcked }))) : (React.createElement(ErrorBoundary, { errorMsgInfo: { message: t('There was an error loading remote session agreement') } },
213
- React.createElement(RemoteSessionAgreement, { caseNumber: caseNumber, caseSeverity: severity, caseStatus: status, ref: createEscalationRef, acceptedRemoteSessionTerms: acceptedRemoteSessionTerms, readOnly: canReadCase }))))))));
210
+ isExternal && isESSCustomer && (React.createElement(ErrorBoundary, { errorMsgInfo: {
211
+ message: t('There was an error loading requesting remote session section'),
212
+ } },
213
+ React.createElement(ESSRemoteSession, { screenSessionRequested: screenSessionRequested, caseNumber: caseNumber, caseSeverity: severity, caseStatus: status, ref: createEscalationRef, readOnly: canReadCase, remoteSessionTermsAcked: remoteSessionTermsAcked }))),
214
+ isExternal && !isESSCustomer && (React.createElement(ErrorBoundary, { errorMsgInfo: { message: t('There was an error loading remote session agreement section') } },
215
+ React.createElement(RemoteSessionAgreement, { caseNumber: caseNumber, caseSeverity: severity, caseStatus: status, ref: createEscalationRef, acceptedRemoteSessionTerms: acceptedRemoteSessionTerms, readOnly: canReadCase })))))));
214
216
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ESSRemoteSession.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAOxE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,sBAAsB,EAAE,OAAO,CAAC;IAChC,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED,eAAO,MAAM,gBAAgB,+EA0G3B,CAAC"}
1
+ {"version":3,"file":"ESSRemoteSession.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAOxE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,sBAAsB,EAAE,OAAO,CAAC;IAChC,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED,eAAO,MAAM,gBAAgB,+EAmH3B,CAAC"}
@@ -13,12 +13,20 @@ export const ESSRemoteSession = forwardRef((props, ref) => {
13
13
  const { caseNumber, caseStatus, screenSessionRequested, readOnly, remoteSessionTermsAcked } = props;
14
14
  const { globalMetadataState: { loggedInUser, loggedInUserRights }, } = useContext(GlobalMetadataStateContext);
15
15
  const [openESSRemoteSessionModal, setOpenESSRemoteSessionModal] = useState(false);
16
+ const [openNewESSRemoteSessionModal, setOpenNewESSRemoteSessionModal] = useState(false);
16
17
  // To toggle ESS RS Modal
17
18
  const toggleESSRemoteSessionModal = () => {
18
19
  if (canEditCase.alert())
19
20
  return;
20
21
  setOpenESSRemoteSessionModal((openESSRemoteSessionModal) => !openESSRemoteSessionModal);
21
22
  };
23
+ // To toggle New ESS RS Modal
24
+ const toggleNewESSRemoteSessionModal = () => {
25
+ if (canEditCase.alert())
26
+ return;
27
+ setOpenNewESSRemoteSessionModal((openNewESSRemoteSessionModal) => !openNewESSRemoteSessionModal);
28
+ };
29
+ const termsAcked = remoteSessionTermsAcked && !screenSessionRequested;
22
30
  // ESS RS Aside Section Body
23
31
  const ESSRemoteSessionSectionBody = (React.createElement("div", { className: "card card-white card-support escalations", ref: ref },
24
32
  React.createElement("h3", { className: "card-heading pf-u-display-flex pf-u-justify-content-space-between" },
@@ -33,8 +41,8 @@ export const ESSRemoteSession = forwardRef((props, ref) => {
33
41
  React.createElement("li", null, t('Agreed upon by both Red Hat and you, the end user'))),
34
42
  React.createElement("p", { className: "rrs-light-grey-text" }, t('Red Hat will add a comment to your case to schedule your remote session.')),
35
43
  screenSessionRequested && (React.createElement(Tooltip, { content: t('Remote session agreement has already been accepted.'), reference: tooltipRef, "aria-live": 'polite' })),
36
- React.createElement(Button, { "aria-label": screenSessionRequested ? t('Remote session requested') : t('Request remote session'), variant: screenSessionRequested ? 'primary' : 'secondary', onClick: toggleESSRemoteSessionModal, "data-tracking-id": "accept-remote-session-agreement-trigger", isAriaDisabled: screenSessionRequested, ref: tooltipRef, isDisabled: screenSessionRequested }, screenSessionRequested ? t('Remote session requested') : t('Request remote session')))));
44
+ React.createElement(Button, { "aria-label": screenSessionRequested ? t('Remote session requested') : t('Request remote session'), variant: screenSessionRequested ? 'primary' : 'secondary', onClick: termsAcked ? toggleESSRemoteSessionModal : toggleNewESSRemoteSessionModal, "data-tracking-id": "accept-remote-session-agreement-trigger", isAriaDisabled: screenSessionRequested, ref: tooltipRef, isDisabled: screenSessionRequested }, screenSessionRequested ? t('Remote session requested') : t('Request remote session')))));
37
45
  return (React.createElement(React.Fragment, null,
38
46
  ESSRemoteSessionSectionBody,
39
- remoteSessionTermsAcked ? (React.createElement(ESSRemoteSessionModal, { caseNumber: caseNumber, caseStatus: caseStatus, screenSessionRequested: screenSessionRequested, show: openESSRemoteSessionModal, onClose: toggleESSRemoteSessionModal, loggedInUser: loggedInUser.data.ssoUsername === undefined ? '' : loggedInUser.data.ssoUsername, loggedInUserRights: loggedInUserRights, readOnly: readOnly })) : (React.createElement(NewEssRSAModal, { caseNumber: caseNumber, caseStatus: caseStatus, show: openESSRemoteSessionModal, onClose: toggleESSRemoteSessionModal, siteCode: TnC.REMOTE_RIDER_SITE_CODE, eventCode: TnC.REMOTER_RIDER_EVENT_CODE, loggedInUser: loggedInUser.data.ssoUsername === undefined ? '' : loggedInUser.data.ssoUsername, loggedInUserRights: loggedInUserRights, readOnly: readOnly }))));
47
+ remoteSessionTermsAcked && !screenSessionRequested ? (React.createElement(ESSRemoteSessionModal, { caseNumber: caseNumber, caseStatus: caseStatus, screenSessionRequested: screenSessionRequested, show: openESSRemoteSessionModal, onClose: toggleESSRemoteSessionModal, loggedInUser: loggedInUser.data.ssoUsername === undefined ? '' : loggedInUser.data.ssoUsername, loggedInUserRights: loggedInUserRights, readOnly: readOnly })) : (React.createElement(NewEssRSAModal, { caseNumber: caseNumber, caseStatus: caseStatus, show: openNewESSRemoteSessionModal, onClose: toggleNewESSRemoteSessionModal, siteCode: TnC.REMOTE_RIDER_SITE_CODE, eventCode: TnC.REMOTER_RIDER_EVENT_CODE, loggedInUser: loggedInUser.data.ssoUsername === undefined ? '' : loggedInUser.data.ssoUsername, loggedInUserRights: loggedInUserRights, readOnly: readOnly }))));
40
48
  });
@@ -1 +1 @@
1
- {"version":3,"file":"ESSRemoteSessionModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAiBxD,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,kBAAkB,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAClD,QAAQ,EAAE,OAAO,CAAC;IAClB,sBAAsB,EAAE,OAAO,CAAC;CACnC;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,eAgKlD"}
1
+ {"version":3,"file":"ESSRemoteSessionModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAiBxD,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,kBAAkB,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAClD,QAAQ,EAAE,OAAO,CAAC;IAClB,sBAAsB,EAAE,OAAO,CAAC;CACnC;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,eAoKlD"}
@@ -17,7 +17,7 @@ import { useCaseDispatch } from '../../../context/CaseContext';
17
17
  import { useCaseDetailsPageStateContext } from '../../../context/CaseDetailsPageContext';
18
18
  import { useCaseDiscussionTabDispatchContext, useCaseDiscussionTabStateContext, } from '../../../context/CaseDiscussionTabContext';
19
19
  import { updateDiscussionStateComments } from '../../../reducers/CaseDiscussionTabReducer';
20
- import { checkForCaseStatusToggleOnAttachOrComment, setCaseDetails, setRemoteRiderFlag, } from '../../../reducers/CaseReducer';
20
+ import { checkForCaseStatusToggleOnAttachOrComment, setCaseDetails, updateCaseDetails, } from '../../../reducers/CaseReducer';
21
21
  export function ESSRemoteSessionModal(props) {
22
22
  const { t } = useTranslation();
23
23
  const caseDispatch = useCaseDispatch();
@@ -36,10 +36,10 @@ export function ESSRemoteSessionModal(props) {
36
36
  const submitESSRemoteSessionRequest = () => __awaiter(this, void 0, void 0, function* () {
37
37
  const requestComment = t('Submitted a remote session request.');
38
38
  try {
39
+ updateCaseDetails(caseDispatch, props.caseNumber, { screenSessionRequested: true });
39
40
  setCaseDetails(caseDispatch, {
40
41
  screenSessionRequested: true,
41
42
  });
42
- setRemoteRiderFlag(caseDispatch, true);
43
43
  try {
44
44
  yield postCommentRequest({
45
45
  caseNumber: props.caseNumber,
@@ -65,6 +65,9 @@ export function ESSRemoteSessionModal(props) {
65
65
  else {
66
66
  ToastNotification.addDangerMessage(t('Could not submit a request for remote session'), t('Please try again.'));
67
67
  }
68
+ setCaseDetails(caseDispatch, {
69
+ screenSessionRequested: false,
70
+ });
68
71
  setAgreeLoading(false);
69
72
  props.onClose();
70
73
  }
@@ -78,11 +81,11 @@ export function ESSRemoteSessionModal(props) {
78
81
  const isAgreeLoading = agreeLoading || isPostingComment;
79
82
  // ESS RS Modal Actions
80
83
  const modalActions = [
81
- React.createElement(Button, { "aria-label": t('Request remote session'), variant: ButtonVariant.primary, onClick: onSubmit, "data-tracking-id": "ess-request-remote-session", isLoading: isAgreeLoading }, t('Request remote session')),
84
+ React.createElement(Button, { key: "submit", "aria-label": t('Request remote session'), variant: ButtonVariant.primary, onClick: onSubmit, "data-tracking-id": "ess-request-remote-session", isLoading: isAgreeLoading }, t('Request remote session')),
82
85
  React.createElement(Button, { key: "cancel", variant: "link", onClick: props.onClose }, t('Cancel')),
83
86
  ];
84
87
  const acceptedModalActions = [
85
- React.createElement(Button, { key: "cancel", variant: "link", onClick: props.onClose },
88
+ React.createElement(Button, { key: "cancel", variant: ButtonVariant.primary, onClick: props.onClose },
86
89
  React.createElement(Trans, null, "Close")),
87
90
  ];
88
91
  // Body of ESS Modal
@@ -98,7 +101,7 @@ export function ESSRemoteSessionModal(props) {
98
101
  };
99
102
  const essModalHeader = props.screenSessionRequested ? (React.createElement(React.Fragment, null,
100
103
  React.createElement(Title, { className: "pf-u-mb-xs", id: "modal-custom-header-label", headingLevel: "h1", size: TitleSizes['2xl'] },
101
- React.createElement(CheckCircleIcon, { size: "lg" }),
104
+ React.createElement(CheckCircleIcon, { color: "#3E8635", size: "lg", className: "pf-u-mr-md" }),
102
105
  t('Remote session has been requested')))) : (React.createElement(React.Fragment, null,
103
106
  React.createElement(Title, { className: "pf-u-mb-xs", id: "modal-custom-header-label", headingLevel: "h1", size: TitleSizes['2xl'] }, t('Request a remote session?'))));
104
107
  return (React.createElement(Modal, { variant: ModalVariant.small, id: "remote-session-agreement-modal", "aria-label": props.screenSessionRequested ? t('Remote session has been requested') : t('Request a remote session?'), header: essModalHeader, isOpen: props.show, onClose: onCancel, actions: props.screenSessionRequested ? acceptedModalActions : modalActions }, props.screenSessionRequested ? RequestedESSRemoteSessionModalBody() : ESSRemoteSessionModalBody()));
@@ -1 +1 @@
1
- {"version":3,"file":"NewEssRSAModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/NewEssRSAModal.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAiBxD,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,kBAAkB,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAClD,QAAQ,EAAE,OAAO,CAAC;CACrB;AAiBD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,eA+P3C"}
1
+ {"version":3,"file":"NewEssRSAModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/NewEssRSAModal.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAaxD,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,kBAAkB,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAClD,QAAQ,EAAE,OAAO,CAAC;CACrB;AAiBD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,eA8P3C"}
@@ -18,7 +18,7 @@ import { useCaseDispatch } from '../../../context/CaseContext';
18
18
  import { useCaseDetailsPageStateContext } from '../../../context/CaseDetailsPageContext';
19
19
  import { useCaseDiscussionTabDispatchContext, useCaseDiscussionTabStateContext, } from '../../../context/CaseDiscussionTabContext';
20
20
  import { updateDiscussionStateComments } from '../../../reducers/CaseDiscussionTabReducer';
21
- import { checkForCaseStatusToggleOnAttachOrComment, setRemoteRiderFlag, updateCaseDetails, } from '../../../reducers/CaseReducer';
21
+ import { checkForCaseStatusToggleOnAttachOrComment, updateCaseDetails } from '../../../reducers/CaseReducer';
22
22
  const getLocaleNameFromLocalCode = (localeCode) => {
23
23
  if ('Intl' in window && 'DisplayNames' in Intl) {
24
24
  try {
@@ -92,7 +92,6 @@ export function NewEssRSAModal(props) {
92
92
  yield updateCaseDetails(caseDispatch, props.caseNumber, { remoteSessionTermsAcked: true });
93
93
  try {
94
94
  yield updateCaseDetails(caseDispatch, props.caseNumber, { screenSessionRequested: true });
95
- setRemoteRiderFlag(caseDispatch, true);
96
95
  try {
97
96
  yield postCommentRequest({
98
97
  caseNumber: props.caseNumber,
@@ -102,7 +101,8 @@ export function NewEssRSAModal(props) {
102
101
  updateDiscussionStateComments(dispatchDiscussion, props.caseNumber, allDiscussions, sort, caseFeedbacksHydra.data, discussionFiltersListState);
103
102
  checkForCaseStatusToggleOnAttachOrComment(caseDispatch, props.loggedInUserRights.data.isInternal(), props.caseStatus);
104
103
  setAgreeLoading(false);
105
- ToastNotification.addSuccessMessage(t('Remote Access Rider agreement has been accepted'), t('This action does not initiate a remote session. Please make a case comment if you would like to submit a request.'));
104
+ props.onClose();
105
+ ToastNotification.addSuccessMessage(t('Remote session has been requested successfully'), t('Red Hat will add a comment to your case to schedule your remote session.'));
106
106
  }
107
107
  catch (e) {
108
108
  ToastNotification.addWarningMessage(t('Could not submit a comment'), t('Rest assured, we have noted you have accepted the agreement'));
@@ -149,7 +149,7 @@ export function NewEssRSAModal(props) {
149
149
  const isAgreeLoading = agreeLoading || isPostingComment;
150
150
  // ESS RSA Modal Actions
151
151
  const modalActions = [
152
- React.createElement(Button, { "aria-label": t('I agree'), variant: ButtonVariant.primary, onClick: onSubmit, "data-tracking-id": "remote-session-agreement-check", isLoading: isAgreeLoading, isDisabled: !isTermsChecked || isAgreeLoading }, t('I agree')),
152
+ React.createElement(Button, { key: "submit", "aria-label": t('I agree'), variant: ButtonVariant.primary, onClick: onSubmit, "data-tracking-id": "remote-session-agreement-check", isLoading: isAgreeLoading, isDisabled: !isTermsChecked || isAgreeLoading }, t('I agree')),
153
153
  ];
154
154
  // Body of ESS RSA Modal
155
155
  const EssRSAModalBody = () => {
@@ -1 +1 @@
1
- {"version":3,"file":"ESSRemoteSessionCheckBox.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseManagement/ESSRemoteSessionCheckBox.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,qBAAqB,mBAmD1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"ESSRemoteSessionCheckBox.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseManagement/ESSRemoteSessionCheckBox.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,qBAAqB,mBAwC1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -3,34 +3,23 @@ import isEqual from 'lodash/isEmpty';
3
3
  import React, { useState } from 'react';
4
4
  import { Trans, useTranslation } from 'react-i18next';
5
5
  import { useCaseDispatch, useCaseSelector } from '../../context/CaseContext';
6
- import { setCaseDetails, updateCaseDetails } from '../../reducers/CaseReducer';
6
+ import { setCaseDetails } from '../../reducers/CaseReducer';
7
7
  const ESSRemoteSessionCheck = () => {
8
8
  const { t } = useTranslation();
9
- const { caseNumber, isCaseUpdating } = useCaseSelector((state) => ({
9
+ const { isCaseUpdating, screenSessionRequested } = useCaseSelector((state) => ({
10
10
  caseNumber: state.caseDetails.caseNumber,
11
11
  status: state.caseDetails.status,
12
12
  isCaseUpdating: state.isCaseUpdating,
13
+ screenSessionRequested: state.caseDetails.screenSessionRequested,
13
14
  }), isEqual);
14
15
  const caseDispatch = useCaseDispatch();
15
- const [remoteSessionChecked, setRemoteSessionChecked] = useState(false);
16
- const handleEssRemoteSessionChange = (checked) => {
17
- remoteSessionChecked &&
18
- setCaseDetails(caseDispatch, {
19
- screenSessionRequested: checked,
20
- });
21
- try {
22
- updateCaseDetails(caseDispatch, caseNumber, { screenSessionRequested: checked });
23
- }
24
- catch (e) {
25
- setCaseDetails(caseDispatch, {
26
- screenSessionRequested: false,
27
- });
28
- updateCaseDetails(caseDispatch, caseNumber, { screenSessionRequested: false });
29
- }
30
- };
16
+ const [remoteSessionChecked, setRemoteSessionChecked] = useState(screenSessionRequested);
31
17
  const handleChange = (checked) => {
32
18
  setRemoteSessionChecked(checked);
33
- handleEssRemoteSessionChange(checked);
19
+ setCaseDetails(caseDispatch, {
20
+ screenSessionRequested: checked,
21
+ remoteSessionTermsAcked: checked,
22
+ });
34
23
  };
35
24
  return (React.createElement(Checkbox, { id: "case-management-remote-session", label: React.createElement(React.Fragment, null,
36
25
  React.createElement(Trans, null, "I want a"),
@@ -1 +1 @@
1
- {"version":3,"file":"Review.d.ts","sourceRoot":"","sources":["../../../../src/components/Review/Review.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAInD,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAsBlE,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AACD,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,MAAM,eA4D3C"}
1
+ {"version":3,"file":"Review.d.ts","sourceRoot":"","sources":["../../../../src/components/Review/Review.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAInD,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAuBlE,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AACD,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,MAAM,eAuE3C"}
@@ -1,5 +1,7 @@
1
1
  import { Flex, FlexItem } from '@patternfly/react-core';
2
+ import { useGlobalStateContext } from '@rh-support/react-context';
2
3
  import { AbilityContext, CaseDetailsFields, resourceActions, resources } from '@rh-support/user-permissions';
4
+ import { isSpecialSupportOfferingEnabled } from '@rh-support/utils';
3
5
  import isEmpty from 'lodash/isEmpty';
4
6
  import isEqual from 'lodash/isEqual';
5
7
  import React, { useContext } from 'react';
@@ -17,6 +19,7 @@ import Severity from '../CaseInformation/Severity';
17
19
  import SupportLevel from '../CaseInformation/SupportLevel';
18
20
  import CaseLanguageSelector from '../CaseManagement/CaseLanguageSelector';
19
21
  import { Cep } from '../CaseManagement/Cep';
22
+ import ESSRemoteSessionCheck from '../CaseManagement/ESSRemoteSessionCheckBox';
20
23
  import OpenReferenceNumber from '../CaseManagement/OpenReferenceNumber';
21
24
  import { OpenShiftClusterId } from '../CaseManagement/OpenShiftClusterId';
22
25
  import { RHAssociatesSelector } from '../CaseManagement/RHAssociatesSelector';
@@ -26,15 +29,21 @@ import KtQuestions from '../ImproveCase/KtQuestions';
26
29
  import { AllProductsSelector } from '../ProductSelector/AllProductsSelector';
27
30
  import { EARuleWidget } from '../Recommendations/EARules/EARuleWidget';
28
31
  export default function Review(props) {
32
+ var _a;
29
33
  const caseDispatch = useCaseDispatch();
30
- const { contactInfo24x7 } = useCaseSelector((state) => ({
34
+ const { contactInfo24x7, product } = useCaseSelector((state) => ({
31
35
  contactInfo24x7: state.caseDetails.contactInfo24x7,
36
+ product: state.caseDetails.product,
32
37
  }), isEqual);
33
38
  const ability = useContext(AbilityContext);
34
39
  const canSeeEmailNotifications = ability.can(resourceActions.PATCH, resources.CASE_DETAILS, CaseDetailsFields.CASE_DETAILS_SEND_NOTIFICATIONS);
40
+ const selectedProduct = product;
41
+ const { globalMetadataState: { allProducts }, } = useGlobalStateContext();
35
42
  const onSeverityChange = (payload) => {
36
43
  setCaseDetails(caseDispatch, payload);
37
44
  };
45
+ // To check if the user is ESS Customer and Product has ESS Support
46
+ const isESSCustomer = isSpecialSupportOfferingEnabled((_a = allProducts.data) === null || _a === void 0 ? void 0 : _a.productsResult, selectedProduct);
38
47
  return (React.createElement(React.Fragment, null,
39
48
  React.createElement(EARuleWidget, null),
40
49
  React.createElement("form", { className: "review-form card card-light push-bottom" },
@@ -59,5 +68,6 @@ export default function Review(props) {
59
68
  canSeeEmailNotifications && React.createElement(CaseContactSelector, null),
60
69
  React.createElement(RHAssociatesSelector, null),
61
70
  React.createElement(OpenReferenceNumber, { inlineEditable: false, hideSaveCancel: true }),
62
- React.createElement(Cep, null))));
71
+ React.createElement(Cep, null),
72
+ isESSCustomer && React.createElement(ESSRemoteSessionCheck, null))));
63
73
  }
@@ -199,6 +199,7 @@ export interface ICaseState {
199
199
  caseCreation500ErrorStatus: boolean;
200
200
  openshiftDisplayName?: string;
201
201
  isCaseOwnerUpdating: boolean;
202
+ screenSessionRequested?: boolean;
202
203
  }
203
204
  export interface ICreateCasePayloadType extends ICaseState {
204
205
  }
@@ -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,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AQ,CAAC,CAAC,CAAC;IAC/D,aAAa,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAC7C,gBAAgB,EAAE,mBAAmB,CAAC,UAAU,EAAE,CAAC,CAAC;IACpD,sBAAsB,EAAE,mBAAmB,CAAC,UAAU,EAAE,CAAC,CAAC;IAC1D,gBAAgB,EAAE,mBAAmB,CAAC,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC;IAC7E,kBAAkB,EAAE,mBAAmB,CAAC,YAAY,EAAE,CAAC,CAAC;IACxD,sBAAsB,EAAE,OAAO,CAAC;IAChC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,SAAS,CAAC;IAC5B,0BAA0B,EAAE,OAAO,CAAC;IACpC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,oCAAoC,EAAE,OAAO,CAAC;IAC9C,sCAAsC,EAAE,OAAO,CAAC;IAChD,eAAe,EAAE,mBAAmB,CAAC,gBAAgB,EAAE,CAAC,CAAC;IACzD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0BAA0B,EAAE,OAAO,CAAC;IACpC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,sBAAsB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,MAAM,WAAW,sBAAuB,SAAQ,UAAU;CAAG;AAC7D,oBAAY,eAAe,GAAG,OAAO,CAAC,oBAAoB,EAAE,sBAAsB,CAAC,CAAC;AACpF,oBAAY,uBAAuB,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC;AAEhE,eAAO,MAAM,qCAAqC,+CAA+C,CAAC;AAClG,eAAO,MAAM,yCAAyC,+CAA+C,CAAC"}
@@ -151,6 +151,7 @@ export const initialCaseState = {
151
151
  openshiftClusterVersion: '',
152
152
  phone: '',
153
153
  suppliedPhoneNumberVerified: undefined,
154
+ screenSessionRequested: false,
154
155
  },
155
156
  customerEscalation: false,
156
157
  isClosed: false,
@@ -1 +1 @@
1
- {"version":3,"file":"CaseHelpers.d.ts","sourceRoot":"","sources":["../../../src/reducers/CaseHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AACpG,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AACvG,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAkB3D,OAAO,EAUH,UAAU,EAgBb,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,sBAAsB,SAAU,mBAAmB,EAAE,wBAMjE,CAAC;AAEF,eAAO,MAAM,2BAA2B,eAAgB,WAAW,KAAG,MAOrE,CAAC;AAEF,eAAO,MAAM,uBAAuB,QAAS,mBAAmB,SAAS,MAAM,sBAyB9E,CAAC;AAIF,eAAO,MAAM,qBAAqB,UACvB,MAAM,gBACC,MAAM,uBACC,MAAM,yBACJ,MAAM,kBACb,MAAM,YACZ,MAAM,YACN,MAAM,KACjB,MAyBF,CAAC;AAIF,eAAO,MAAM,oBAAoB,UACtB,MAAM,gBACC,MAAM,uBACC,MAAM,yBACJ,MAAM,KAC9B,MAQF,CAAC;AAEF,eAAO,MAAM,uBAAuB,iBAAkB,MAAM,YAAY,MAAM,KAAG,MAQhF,CAAC;AAEF,eAAO,MAAM,uBAAuB,iBAAkB,MAAM,YAAY,MAAM,KAAG,MAQhF,CAAC;AAEF,eAAO,MAAM,sBAAsB,aAAc,MAAM,KAAG,MAKzD,CAAC;AAEF,eAAO,MAAM,gBAAgB,+CAqC5B,CAAC;AAIF,eAAO,MAAM,gBAAgB,cAAe,UAAU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AAM,yBAAyB,gBACrB,YAAY,6BACE,MAAM,mBAChB,MAAM,KACxB,QAAQ,YAAY,CAgCtB,CAAC;AACF,eAAO,MAAM,yBAAyB,gBACrB,QAAQ,YAAY,CAAC,gCACJ,QAAQ,EAAE,KACzC,eA4CF,CAAC"}
@@ -236,6 +236,9 @@ export const createCasePayload = (caseState, sessionItem, isCaseCreate = false)
236
236
  !isEmpty(case_details.hostname) && (casePayload.hostname = case_details.hostname);
237
237
  !isEmpty(case_details.caseResourceLinks) && (casePayload.caseResourceLinks = case_details.caseResourceLinks);
238
238
  !isEmpty(case_details.phone) && (casePayload.phone = case_details.phone);
239
+ case_details.screenSessionRequested && (casePayload.screenSessionRequested = !!case_details.screenSessionRequested);
240
+ case_details.remoteSessionTermsAcked &&
241
+ (casePayload.remoteSessionTermsAcked = !!case_details.remoteSessionTermsAcked);
239
242
  casePayload.suppliedPhoneNumberVerified = !isEmpty(case_details.suppliedPhoneNumberVerified)
240
243
  ? case_details.suppliedPhoneNumberVerified
241
244
  : 'False';
@@ -286,7 +289,7 @@ export const getHasInvalidEntitlements = (caseEntitlements) => {
286
289
  return filter(unionBy(caseEntitlements, 'slaProcessId'), (e) => !!e.slaProcessId).length === 0;
287
290
  };
288
291
  export const getCaseFromSessionDetails = (sessionItem, loggedInUserAccountNumber, loggedInUserSSO) => {
289
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
292
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
290
293
  const { sessionDetails, session } = sessionItem;
291
294
  return {
292
295
  product: sessionDetails.product,
@@ -316,10 +319,11 @@ export const getCaseFromSessionDetails = (sessionItem, loggedInUserAccountNumber
316
319
  suppliedPhoneNumberVerified: (_m = sessionDetails.suppliedPhoneNumberVerified) !== null && _m !== void 0 ? _m : undefined,
317
320
  userAgent: session.userAgent,
318
321
  originatingSystem: session.originatingSystem,
322
+ screenSessionRequested: (_o = sessionDetails.screenSessionRequested) !== null && _o !== void 0 ? _o : false,
319
323
  };
320
324
  };
321
325
  export const getSessionDetailsFromCase = (caseDetails, selectedNotificationContacts) => {
322
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
326
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
323
327
  const notifiedUsersInternal = [];
324
328
  const notifiedUsersExternal = [];
325
329
  forEach(selectedNotificationContacts, (contact) => {
@@ -358,5 +362,6 @@ export const getSessionDetailsFromCase = (caseDetails, selectedNotificationConta
358
362
  noClusterIdReasonExplanation: (_s = (_r = caseDetails.noClusterIdReasonExplanation) === null || _r === void 0 ? void 0 : _r.substring(0, SESSION_NO_CLUSTER_REASON_EXPLANATION_LENGTH_LIMIT)) !== null && _s !== void 0 ? _s : '',
359
363
  phone: (_u = (_t = caseDetails.phone) === null || _t === void 0 ? void 0 : _t.substring(0, SESSION_PHONE_LENGTH_LIMIT)) !== null && _u !== void 0 ? _u : '',
360
364
  suppliedPhoneNumberVerified: caseDetails.suppliedPhoneNumberVerified,
365
+ screenSessionRequested: (_v = caseDetails.screenSessionRequested) !== null && _v !== void 0 ? _v : false,
361
366
  };
362
367
  };
@@ -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,OAA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actS
495
495
  }
496
496
  });
497
497
  export const fetchCaseDetails = (dispatch, caseNumber, loggedInUserRights, refresh = false, previousState = {}) => __awaiter(void 0, void 0, void 0, function* () {
498
- var _h;
498
+ var _h, _j;
499
499
  dispatch({ type: CaseReducerConstants.requestCaseDetails, payload: { caseDetails: { caseNumber } } });
500
500
  try {
501
501
  const data = yield publicApi.kase.getCase(caseNumber);
@@ -539,6 +539,7 @@ export const fetchCaseDetails = (dispatch, caseNumber, loggedInUserRights, refre
539
539
  noClusterIdReasonExplanation: data.noClusterIdReasonExplanation || '',
540
540
  phone: data.phone || '',
541
541
  suppliedPhoneNumberVerified: data.suppliedPhoneNumberVerified || undefined,
542
+ screenSessionRequested: (_j = data.screenSessionRequested) !== null && _j !== void 0 ? _j : false,
542
543
  };
543
544
  caseDetails.chats = data === null || data === void 0 ? void 0 : data.chats;
544
545
  caseDetails.comments = data === null || data === void 0 ? void 0 : data.comments;
@@ -409,3 +409,9 @@ div#case-reopen-modal.pf-c-modal-box__body {
409
409
  pfe-accordion {
410
410
  box-shadow: inset 1px 1px 0px #d2d2d2, inset -1px -1px 0px #d2d2d2;
411
411
  }
412
+
413
+ .pf-c-wizard__main,
414
+ .pf-c-wizard__footer,
415
+ .pf-c-wizard__nav {
416
+ z-index: 1 !important;
417
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/troubleshoot",
3
- "version": "2.1.14",
3
+ "version": "2.1.16",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -26,7 +26,7 @@
26
26
  "lib/**/*"
27
27
  ],
28
28
  "peerDependencies": {
29
- "@cee-eng/hydrajs": "4.15.81",
29
+ "@cee-eng/hydrajs": "4.15.82",
30
30
  "@cee-eng/ui-toolkit": "1.1.6",
31
31
  "@patternfly/patternfly": "4.196.7",
32
32
  "@patternfly/pfe-accordion": "1.12.3",
@@ -56,7 +56,7 @@
56
56
  "react-virtualized": "^9.21.2"
57
57
  },
58
58
  "dependencies": {
59
- "@cee-eng/hydrajs": "4.15.81",
59
+ "@cee-eng/hydrajs": "4.15.82",
60
60
  "@cee-eng/ui-toolkit": "1.1.6",
61
61
  "@patternfly/patternfly": "4.196.7",
62
62
  "@patternfly/pfe-accordion": "1.12.3",
@@ -66,11 +66,11 @@
66
66
  "@patternfly/react-core": "4.264.0",
67
67
  "@progress/kendo-drawing": "^1.6.0",
68
68
  "@progress/kendo-react-pdf": "^3.12.0",
69
- "@rh-support/components": "2.0.9",
70
- "@rh-support/react-context": "2.0.9",
69
+ "@rh-support/components": "2.0.10",
70
+ "@rh-support/react-context": "2.0.10",
71
71
  "@rh-support/types": "2.0.2",
72
- "@rh-support/user-permissions": "2.0.9",
73
- "@rh-support/utils": "2.0.9",
72
+ "@rh-support/user-permissions": "2.0.10",
73
+ "@rh-support/utils": "2.0.10",
74
74
  "@types/react-redux": "^7.1.12",
75
75
  "@types/redux": "^3.6.0",
76
76
  "dompurify": "^2.4.1",
@@ -133,5 +133,5 @@
133
133
  "defaults and supports es6-module",
134
134
  "maintained node versions"
135
135
  ],
136
- "gitHead": "b58b25951bb84533b380d7868f120eaa33461f5e"
136
+ "gitHead": "3aaca2151387dacc6c83f1ba9aac23f963e45bbc"
137
137
  }