@rh-support/troubleshoot 2.7.40 → 2.7.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.js +12 -8
- package/lib/esm/components/SubmitCase/SubmitCase.d.ts.map +1 -1
- package/lib/esm/components/SubmitCase/SubmitCase.js +16 -13
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseDetailsManagement.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"CaseDetailsManagement.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAsBvD,UAAU,MAAO,SAAQ,gBAAgB;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,mBAAmB,CAAC;IAChC,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;CAClD;AAED,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,KAAK,EAAE,MAAM,qBA+F1D"}
|
|
@@ -14,7 +14,8 @@ import Fts from '../../../CaseInformation/Fts';
|
|
|
14
14
|
// import { RHAssociatesSelector } from '../../../CaseManagement/RHAssociatesSelector';
|
|
15
15
|
// import CaseContactSelector from '../../../CaseManagement/SendNotifications/CaseContactSelector';
|
|
16
16
|
import { PartnerCaseHelper } from '../../ShareCase/PartnerCaseHelper';
|
|
17
|
-
|
|
17
|
+
// TODO: Uncomment when Share with partner is re-enabled
|
|
18
|
+
// import { ShareWithPartner } from '../../ShareCase/PartnerShare';
|
|
18
19
|
import { CaseContactPhoneNumber } from './CaseContactPhoneNumber';
|
|
19
20
|
import CaseInternalStatus from './CaseInternalStatus';
|
|
20
21
|
// TODO: Re-enable once phone number verification flow is fully supported with GraphQL
|
|
@@ -24,14 +25,18 @@ import CaseSbrGroups from './CaseSbrGroups';
|
|
|
24
25
|
import SFDCUrl from './SFDCUrl';
|
|
25
26
|
export default function CaseDetailsManagement(props) {
|
|
26
27
|
const { t } = useTranslation();
|
|
27
|
-
|
|
28
|
+
// TODO: Restore isUpdatingPartner when Share with partner is re-enabled:
|
|
29
|
+
// const [isUpdatingPartner, setIsUpdatingPartner] = useState(false);
|
|
30
|
+
const [, setIsUpdatingPartner] = useState(false);
|
|
28
31
|
const caseState = useCaseSelector((state) => ({
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
// TODO: Uncomment when Share with partner is re-enabled
|
|
33
|
+
// caseDetails: {
|
|
34
|
+
// accountNumber: state.caseDetails.accountNumberRef,
|
|
35
|
+
// },
|
|
32
36
|
showMandatoryCaseGroupValidationError: state.showMandatoryCaseGroupValidationError,
|
|
33
37
|
}), isEqual);
|
|
34
|
-
|
|
38
|
+
// TODO: Uncomment when Share with partner is re-enabled
|
|
39
|
+
// const accountNumber = caseState.caseDetails.accountNumber;
|
|
35
40
|
const showCaseGroupField = useShowCaseGroupField();
|
|
36
41
|
const ability = useContext(AbilityContext);
|
|
37
42
|
// const canSeeEmailNotifications = ability.can(
|
|
@@ -60,6 +65,5 @@ export default function CaseDetailsManagement(props) {
|
|
|
60
65
|
React.createElement(CaseLabels, null))),
|
|
61
66
|
React.createElement(CaseReferenceNumber, null),
|
|
62
67
|
React.createElement(Fts, { inlineEditable: true }),
|
|
63
|
-
React.createElement(SFDCUrl, null)
|
|
64
|
-
React.createElement(ShareWithPartner, { routeProps: props.routeProps, isUpdatingPartner: isUpdatingPartner, accountNumber: accountNumber })))));
|
|
68
|
+
React.createElement(SFDCUrl, null)))));
|
|
65
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubmitCase.d.ts","sourceRoot":"","sources":["../../../../src/components/SubmitCase/SubmitCase.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAErD,OAAO,EAAQ,mBAAmB,EAAe,MAAM,kBAAkB,CAAC;AAQ1E,OAAO,EAAqB,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAWrF,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SubmitCase.d.ts","sourceRoot":"","sources":["../../../../src/components/SubmitCase/SubmitCase.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAErD,OAAO,EAAQ,mBAAmB,EAAe,MAAM,kBAAkB,CAAC;AAQ1E,OAAO,EAAqB,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAWrF,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,MAAM,qBA+Y/C"}
|
|
@@ -17,7 +17,7 @@ import { TCStateContext } from '../../context/TopContentContext';
|
|
|
17
17
|
import { getIrtForSLAAndSeverity } from '../../reducers/CaseHelpers';
|
|
18
18
|
import { setCaseState } from '../../reducers/CaseReducer';
|
|
19
19
|
import RouteUtils from '../../utils/routeUtils';
|
|
20
|
-
import { getClickedResourcesSequence, postVisitedResourcesComment } from '../../utils/visitedResourcesUtils';
|
|
20
|
+
// import { getClickedResourcesSequence, postVisitedResourcesComment } from '../../utils/visitedResourcesUtils';
|
|
21
21
|
import { AsideResults } from '../Recommendations/AsideResults';
|
|
22
22
|
import ClusterRecommendations from '../Recommendations/ClusterRecommendations';
|
|
23
23
|
import InsightsResults from '../Recommendations/InsightsResults';
|
|
@@ -48,7 +48,7 @@ export default function SubmitCase(props) {
|
|
|
48
48
|
const { rulesState } = useContext(RulesStateContext);
|
|
49
49
|
const { clusterRecommendationsState: { clusterRecommendations }, } = useContext(ClusterRecommendationsContext);
|
|
50
50
|
const { attachmentState } = useContext(AttachmentStateContext);
|
|
51
|
-
const { globalMetadataState: { loggedInUser
|
|
51
|
+
const { globalMetadataState: { loggedInUser }, } = useContext(GlobalMetadataStateContext);
|
|
52
52
|
const getBusinessHours = useFetch(publicApi.businessHours.getBusinessHours);
|
|
53
53
|
const { t } = useTranslation();
|
|
54
54
|
const getCaseURL = () => {
|
|
@@ -140,17 +140,20 @@ export default function SubmitCase(props) {
|
|
|
140
140
|
}
|
|
141
141
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
142
142
|
}, []);
|
|
143
|
-
//
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
143
|
+
// Disabled: GraphQL CaseComment create rejects Private visibility for case creators
|
|
144
|
+
// ("Insufficient Access to Create Private Case Comments"). Legacy Hydra /privateComments
|
|
145
|
+
// was privileged; re-enable when middleware supports this flow.
|
|
146
|
+
// useEffect(() => {
|
|
147
|
+
// if (
|
|
148
|
+
// caseNoOfCreatedCase &&
|
|
149
|
+
// !isCreatingCase &&
|
|
150
|
+
// !caseCreationError &&
|
|
151
|
+
// !loggedInUsersAccount.data.secureSupport &&
|
|
152
|
+
// !loggedInUsersAccount.data.hasConfirmedStatesideSupport
|
|
153
|
+
// ) {
|
|
154
|
+
// postVisitedResourcesComment(caseNoOfCreatedCase, getClickedResourcesSequence());
|
|
155
|
+
// }
|
|
156
|
+
// }, [caseNoOfCreatedCase, isCreatingCase, caseCreationError]);
|
|
154
157
|
return (React.createElement("article", { className: "gird-main" },
|
|
155
158
|
React.createElement(AlertMessage, { className: "pf-v6-u-mt-lg", title: t('Failed to add user.'), variant: AlertType.DANGER, show: addNotifiedUserError }),
|
|
156
159
|
React.createElement(AlertMessage, { className: "pf-v6-u-mt-lg", variant: AlertType.DANGER, show: caseCreationError || (!isCreatingCase && !caseCreationError && isEmpty(caseNoOfCreatedCase)), title: t("Sorry, we're experiencing an error"), isInline: true },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.42",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"@progress/kendo-licensing": "1.3.5",
|
|
53
53
|
"@progress/kendo-react-pdf": "^5.16.0",
|
|
54
54
|
"@redux-devtools/extension": "^3.3.0",
|
|
55
|
-
"@rh-support/components": "2.6.
|
|
56
|
-
"@rh-support/react-context": "2.6.
|
|
55
|
+
"@rh-support/components": "2.6.35",
|
|
56
|
+
"@rh-support/react-context": "2.6.37",
|
|
57
57
|
"@rh-support/types": "2.0.31",
|
|
58
|
-
"@rh-support/user-permissions": "2.6.
|
|
59
|
-
"@rh-support/utils": "2.6.
|
|
58
|
+
"@rh-support/user-permissions": "2.6.32",
|
|
59
|
+
"@rh-support/utils": "2.6.31",
|
|
60
60
|
"@types/react-redux": "^7.1.33",
|
|
61
61
|
"@types/redux": "^3.6.0",
|
|
62
62
|
"date-fns": "3.6.0",
|
|
@@ -129,5 +129,5 @@
|
|
|
129
129
|
"defaults and supports es6-module",
|
|
130
130
|
"maintained node versions"
|
|
131
131
|
],
|
|
132
|
-
"gitHead": "
|
|
132
|
+
"gitHead": "8d375371c521c2b8e6df87bd8d395af7118a01b6"
|
|
133
133
|
}
|