@rh-support/troubleshoot 2.5.31 → 2.5.32
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/CaseSolutions/CaseSolutions.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +24 -26
- package/lib/esm/components/wizardLayout/WizardLayout.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardLayout.js +6 -3
- package/lib/esm/reducers/CaseReducer.d.ts +2 -2
- package/lib/esm/reducers/CaseReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseReducer.js +7 -6
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseSolutions.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseSolutions/CaseSolutions.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAuE3E,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,sBAAsB,EAAE,OAAO,CAAC;CACnC;AAUD,eAAO,MAAM,aAAa,+
|
|
1
|
+
{"version":3,"file":"CaseSolutions.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseSolutions/CaseSolutions.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAuE3E,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,sBAAsB,EAAE,OAAO,CAAC;CACnC;AAUD,eAAO,MAAM,aAAa,+EA8gBxB,CAAC"}
|
|
@@ -170,31 +170,25 @@ export const CaseSolutions = forwardRef((props, ref) => {
|
|
|
170
170
|
try {
|
|
171
171
|
setIsPinLoading((prevPiningMap) => (Object.assign(Object.assign({}, prevPiningMap), { [recommendationToUpdate.resourceId]: true })));
|
|
172
172
|
yield updateRecommendation(recommendationToUpdate, isLinked !== undefined ? !isLinked : !isPinned);
|
|
173
|
-
setTopRecommendations(
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
? Object.assign(Object.assign({}, rec), { isLinked: isLinked !== undefined ? !isLinked : !!rec.isLinked, isPinned: isPinned !== undefined ? !isPinned : !!rec.isPinned, isPinnedAndLinked: (isPinned !== undefined ? !isPinned : rec.isPinned) &&
|
|
193
|
-
(isLinked !== undefined ? !isLinked : rec.isLinked) }) : rec;
|
|
194
|
-
})
|
|
195
|
-
.filter((rec) => rec.isLinked || rec.isPinned),
|
|
196
|
-
]);
|
|
197
|
-
}
|
|
173
|
+
setTopRecommendations((prevTopRecs) => prevTopRecs.map((rec) => rec.resourceId === recommendationToUpdate.resourceId
|
|
174
|
+
? Object.assign(Object.assign({}, rec), { isLinked: isLinked !== undefined ? !isLinked : !!rec.isLinked, isPinned: isPinned !== undefined ? !isPinned : !!rec.isPinned }) : rec));
|
|
175
|
+
setRecommendations((prevRecs) => {
|
|
176
|
+
const toBeAdded = !prevRecs.some((r) => r.resourceId === recommendationToUpdate.resourceId);
|
|
177
|
+
if (toBeAdded) {
|
|
178
|
+
return [
|
|
179
|
+
...prevRecs,
|
|
180
|
+
Object.assign(Object.assign({}, recommendationToUpdate), { isLinked: isLinked !== undefined ? !isLinked : recommendationToUpdate.isLinked, isPinned: isPinned !== undefined ? !isPinned : recommendationToUpdate.isPinned, isPinnedAndLinked: (isPinned !== undefined ? !isPinned : recommendationToUpdate.isPinned) &&
|
|
181
|
+
(isLinked !== undefined ? !isLinked : recommendationToUpdate.isLinked) }),
|
|
182
|
+
];
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
return prevRecs
|
|
186
|
+
.map((rec) => rec.resourceId === recommendationToUpdate.resourceId
|
|
187
|
+
? Object.assign(Object.assign({}, rec), { isLinked: isLinked !== undefined ? !isLinked : !!rec.isLinked, isPinned: isPinned !== undefined ? !isPinned : !!rec.isPinned, isPinnedAndLinked: (isPinned !== undefined ? !isPinned : rec.isPinned) &&
|
|
188
|
+
(isLinked !== undefined ? !isLinked : rec.isLinked) }) : rec)
|
|
189
|
+
.filter((rec) => rec.isLinked || rec.isPinned);
|
|
190
|
+
}
|
|
191
|
+
});
|
|
198
192
|
setIsPinLoading((prevPiningMap) => (Object.assign(Object.assign({}, prevPiningMap), { [recommendationToUpdate.resourceId]: false })));
|
|
199
193
|
}
|
|
200
194
|
catch (error) {
|
|
@@ -212,7 +206,11 @@ export const CaseSolutions = forwardRef((props, ref) => {
|
|
|
212
206
|
? caseUpdateError.showError(error, t('Could not unpin the solution'))
|
|
213
207
|
: caseUpdateError.showError(error, t('Could not pin the solution'));
|
|
214
208
|
}
|
|
215
|
-
setIsPinLoading((prevPiningMap) =>
|
|
209
|
+
setIsPinLoading((prevPiningMap) => {
|
|
210
|
+
const newMap = Object.assign({}, prevPiningMap);
|
|
211
|
+
delete newMap[recommendationToUpdate.resourceId];
|
|
212
|
+
return newMap;
|
|
213
|
+
});
|
|
216
214
|
}
|
|
217
215
|
});
|
|
218
216
|
// fetch top recommendations
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardLayout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WizardLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardLayout.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,EAAuC,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAcvG,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,qBAoNzC"}
|
|
@@ -89,14 +89,17 @@ export function WizardLayout(props) {
|
|
|
89
89
|
// it will be handled by the confirmation modal itself
|
|
90
90
|
if (checkForConfirmationModalsOnReview())
|
|
91
91
|
return;
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
let sessionItem;
|
|
93
|
+
if (!isEmpty(activeSessionId) && activeSessionId in previousSessions.data) {
|
|
94
|
+
sessionItem = previousSessions.data[activeSessionId];
|
|
95
|
+
sessionItem.session.metadata = JSON.stringify(getMetadata());
|
|
96
|
+
}
|
|
94
97
|
const errorMessageCaseSubmit500 = (React.createElement(Trans, null,
|
|
95
98
|
React.createElement("p", null,
|
|
96
99
|
"Try submitting again after a minute. Please ",
|
|
97
100
|
React.createElement(SupportFeedbackForm, { isInline: true }),
|
|
98
101
|
" if you continue to see this message.")));
|
|
99
|
-
submitCase(caseDispatch, sessionRestoreDispatch, caseState,
|
|
102
|
+
submitCase(caseDispatch, sessionRestoreDispatch, caseState, isCaseCreate, errorMessageCaseSubmit500, loggedInUser.data.ssoUsername, loggedInUsersAccount === null || loggedInUsersAccount === void 0 ? void 0 : loggedInUsersAccount.data.secureSupport, isReSubmitting || false, RouteUtils.getQueryParams(props.routeProps).caseCreate === 'true', sessionItem);
|
|
100
103
|
// reset viewedModals on case submit
|
|
101
104
|
viewedConfirmationModalsList.current = [];
|
|
102
105
|
!isReSubmitting &&
|
|
@@ -12,7 +12,7 @@ export declare const caseReducer: (pState: ICaseState, action: any) => ICaseStat
|
|
|
12
12
|
export declare const setCaseDetails: (dispatch: CaseReducerDispatchType, caseState: Partial<ICasePayload>) => void;
|
|
13
13
|
export declare const setCaseState: (dispatch: CaseReducerDispatchType, caseState: Partial<ICaseState>) => void;
|
|
14
14
|
export declare const setNotifiedUser: (dispatch: CaseReducerDispatchType, selectedNotificationContacts: IContact[]) => void;
|
|
15
|
-
export declare const submitCase: (dispatch: CaseReducerDispatchType, sessionRestoreDispatch: SessionReducerDispatchType, caseDetails: ICaseState,
|
|
15
|
+
export declare const submitCase: (dispatch: CaseReducerDispatchType, sessionRestoreDispatch: SessionReducerDispatchType, caseDetails: ICaseState, isCaseCreate: boolean, errorMessage500: string | JSX.Element, loggedInUserSsoUsername: string, isSecureSupport: boolean, isResubmit: boolean, isCreatingCaseFlow: boolean, sessionItem?: ISessionItem) => Promise<void>;
|
|
16
16
|
/**
|
|
17
17
|
* Update case details if there is HTTP 500 error while submitting case
|
|
18
18
|
* @param dispatch CaseReducerDispatchType
|
|
@@ -26,7 +26,7 @@ export declare const updateCaseCreationErrorStatusOnError: (dispatch: CaseReduce
|
|
|
26
26
|
*/
|
|
27
27
|
export declare const updateCaseCreationErrorStatus: (dispatch: CaseReducerDispatchType, errorStatus: boolean) => void;
|
|
28
28
|
export declare const postRemoteSessionRequest: (dispatch: CaseReducerDispatchType, caseNumber: string) => Promise<void>;
|
|
29
|
-
export declare const postCaseCreationProcessing: (isSecureSupport: boolean, dispatch: CaseReducerDispatchType, sessionRestoreDispatch: SessionReducerDispatchType,
|
|
29
|
+
export declare const postCaseCreationProcessing: (isSecureSupport: boolean, dispatch: CaseReducerDispatchType, sessionRestoreDispatch: SessionReducerDispatchType, caseNumber: string, caseDetails: ICaseState, sessionItem?: ISessionItem) => Promise<void>;
|
|
30
30
|
export declare const resolveSession: (sessionRestoreDispatch: SessionReducerDispatchType, sessionItem: ISessionItem, caseNumber: string) => Promise<void>;
|
|
31
31
|
export declare const postCepDetails: (dispatch: CaseReducerDispatchType, caseNumber: string, cepDetails: ICepDetails) => Promise<void>;
|
|
32
32
|
export declare const setCaseRecommendations: (dispatch: CaseReducerDispatchType, docs: ISolrRecommendation[], oldRecommendations: ICaseResourceLink[]) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/CaseReducer.ts"],"names":[],"mappings":"AAGA,OAAO,EA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B,aAChB,uBAAuB,cACrB,MAAM,eACL,OAAO,CAAC,YAAY,CAAC,mBACjB,OAAO,mBAsB3B,CAAC;AAEF,eAAO,MAAM,oCAAoC,aACnC,uBAAuB,SAC1B,aAAa,EAAE,gBACR,MAAM,kBAmCvB,CAAC;AAEF,eAAO,MAAM,oCAAoC,aACnC,uBAAuB,yEAInB,MAAM,kBACJ,MAAM,kBAgFzB,CAAC;AAEF,eAAO,MAAM,yCAAyC,aACxC,uBAAuB,cACrB,OAAO,iBACJ,MAAM,SAMxB,CAAC;AAIF,eAAO,MAAM,yBAAyB,aACxB,uBAAuB,iBAClB,MAAM,eACR,MAAM,sBACC,QAAQ,kBA6B/B,CAAC;AAEF,wBAAsB,2BAA2B,CAAC,QAAQ,EAAE,uBAAuB,EAAE,UAAU,EAAE,MAAM,iBAmBtG;AAGD,wBAAgB,oBAAoB,CAChC,QAAQ,EAAE,uBAAuB,EACjC,KAAK,EAAE,MAAM,EACb,gBAAgB,EAAE,mBAAmB,CAAC,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAAC,EAC5E,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,0BAA0B,EAAE,QAO5D;AAED,wBAAsB,kBAAkB,CAAC,QAAQ,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,iBAiB1F;AAED,eAAO,MAAM,kBAAkB,aAAc,uBAAuB,QAAQ,OAAO,SAKlF,CAAC;AAEF,eAAO,MAAM,kBAAkB,aAAc,uBAAuB,mBAAmB,MAAM,SAK5F,CAAC"}
|
|
@@ -167,7 +167,7 @@ export const setNotifiedUser = (dispatch, selectedNotificationContacts) => {
|
|
|
167
167
|
payload: { selectedNotificationContacts },
|
|
168
168
|
});
|
|
169
169
|
};
|
|
170
|
-
export const submitCase = (dispatch_1, sessionRestoreDispatch_1, caseDetails_1,
|
|
170
|
+
export const submitCase = (dispatch_1, sessionRestoreDispatch_1, caseDetails_1, isCaseCreate_1, errorMessage500_1, loggedInUserSsoUsername_1, ...args_1) => __awaiter(void 0, [dispatch_1, sessionRestoreDispatch_1, caseDetails_1, isCaseCreate_1, errorMessage500_1, loggedInUserSsoUsername_1, ...args_1], void 0, function* (dispatch, sessionRestoreDispatch, caseDetails, isCaseCreate, errorMessage500, loggedInUserSsoUsername, isSecureSupport = false, isResubmit, isCreatingCaseFlow, sessionItem) {
|
|
171
171
|
var _a, _b;
|
|
172
172
|
dispatch({ type: CaseReducerConstants.isCreatingCase });
|
|
173
173
|
try {
|
|
@@ -183,7 +183,7 @@ export const submitCase = (dispatch_1, sessionRestoreDispatch_1, caseDetails_1,
|
|
|
183
183
|
});
|
|
184
184
|
}
|
|
185
185
|
// For updating the sessions and posting cep details after case creation
|
|
186
|
-
postCaseCreationProcessing(isSecureSupport, dispatch, sessionRestoreDispatch,
|
|
186
|
+
postCaseCreationProcessing(isSecureSupport, dispatch, sessionRestoreDispatch, caseNumber, caseDetails, sessionItem);
|
|
187
187
|
dtmTrackEventCaseCreationStepEncountered(isCreatingCaseFlow, 'Submit', caseNumber, (_b = caseDetails.caseDetails) === null || _b === void 0 ? void 0 : _b.caseType, caseDetails.caseDetails.summary, caseDetails.caseDetails.product, caseDetails.caseDetails.version);
|
|
188
188
|
dispatch({ type: CaseReducerConstants.caseCreated, payload: { caseNoOfCreatedCase: caseNumber } });
|
|
189
189
|
}
|
|
@@ -196,8 +196,9 @@ export const submitCase = (dispatch_1, sessionRestoreDispatch_1, caseDetails_1,
|
|
|
196
196
|
type: CaseReducerConstants.setCaseCreationError,
|
|
197
197
|
payload: { caseCreationErrorMessage: errorMessage, caseCreationErrorCode: errorCode },
|
|
198
198
|
});
|
|
199
|
-
!isResubmit &&
|
|
200
|
-
|
|
199
|
+
if (!isResubmit && !!sessionItem) {
|
|
200
|
+
yield updateSession(sessionRestoreDispatch, sessionItem.session.id, sessionItem.sessionDetails, Object.assign(Object.assign({}, sessionItem.session), { caseCreationError: true }));
|
|
201
|
+
}
|
|
201
202
|
}
|
|
202
203
|
});
|
|
203
204
|
/**
|
|
@@ -254,8 +255,8 @@ export const postRemoteSessionRequest = (dispatch, caseNumber) => __awaiter(void
|
|
|
254
255
|
}
|
|
255
256
|
});
|
|
256
257
|
// For all post case creation processing contexts
|
|
257
|
-
export const postCaseCreationProcessing = (isSecureSupport, dispatch, sessionRestoreDispatch,
|
|
258
|
-
isSecureSupport === false && resolveSession(sessionRestoreDispatch, sessionItem, caseNumber);
|
|
258
|
+
export const postCaseCreationProcessing = (isSecureSupport, dispatch, sessionRestoreDispatch, caseNumber, caseDetails, sessionItem) => __awaiter(void 0, void 0, void 0, function* () {
|
|
259
|
+
isSecureSupport === false && !!sessionItem && resolveSession(sessionRestoreDispatch, sessionItem, caseNumber);
|
|
259
260
|
caseDetails.caseDetails.cep === true && postCepDetails(dispatch, caseNumber, caseDetails.cepDetails);
|
|
260
261
|
caseDetails.caseDetails.screenSessionRequested === true && postRemoteSessionRequest(dispatch, caseNumber);
|
|
261
262
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.32",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -134,5 +134,5 @@
|
|
|
134
134
|
"defaults and supports es6-module",
|
|
135
135
|
"maintained node versions"
|
|
136
136
|
],
|
|
137
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "8d1c5dd1d61bac1cfb8cc46ab6309ffdeec916d3"
|
|
138
138
|
}
|