@rh-support/troubleshoot 1.0.47-beta.57 → 1.0.47-beta.58
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/CaseInformation/ContactPhoneNumberAlert.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumberAlert.js +1 -1
- package/lib/esm/components/shared/fileUpload/FileLister.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/FileLister.js +8 -13
- package/lib/esm/components/shared/fileUpload/useFileUploader.d.ts +1 -1
- package/lib/esm/components/shared/fileUpload/useFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/useFileUploader.js +24 -5
- package/lib/esm/reducers/SessionRestoreReducer.d.ts +1 -1
- package/lib/esm/reducers/SessionRestoreReducer.d.ts.map +1 -1
- package/lib/esm/reducers/SessionRestoreReducer.js +1 -0
- package/lib/esm/scss/_main.scss +0 -1
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactPhoneNumberAlert.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/ContactPhoneNumberAlert.tsx"],"names":[],"mappings":"AAWA,wBAAgB,uBAAuB,
|
|
1
|
+
{"version":3,"file":"ContactPhoneNumberAlert.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/ContactPhoneNumberAlert.tsx"],"names":[],"mappings":"AAWA,wBAAgB,uBAAuB,gBAwDtC"}
|
|
@@ -29,5 +29,5 @@ export function ContactPhoneNumberAlert() {
|
|
|
29
29
|
React.createElement(Button, { variant: ButtonVariant.link, isInline: true, onClick: () => onCaseDetailsChange({ suppliedPhoneNumberVerified: 'Deferred' }), "data-tracking-id": "case-contact-phone-number-dont-know" },
|
|
30
30
|
React.createElement(Trans, null, "I don't know")),
|
|
31
31
|
] },
|
|
32
|
-
React.createElement(Trans, null, "You are opening an urgent
|
|
32
|
+
React.createElement(Trans, null, "You are opening an urgent severity case, please confirm the phone number we have on file is correct.")));
|
|
33
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileLister.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/fileUpload/FileLister.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FileLister.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/fileUpload/FileLister.tsx"],"names":[],"mappings":"AA4BA,OAAO,EAAiB,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAGxE,eAAO,MAAM,qBAAqB,2FAAyC,CAAC;AAiB5E,UAAU,MAAM;IACZ,kBAAkB,EAAE,UAAU,EAAE,CAAC;IACjC,UAAU,EAAE,CAAC,eAAe,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;IACtG,YAAY,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACtE,OAAO,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,eAAe,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,MAAM,eAsR/C"}
|
|
@@ -4,11 +4,10 @@ import { CircularProgressbar } from '@rh-support/components';
|
|
|
4
4
|
import { humanizeSize } from '@rh-support/utils';
|
|
5
5
|
import capitalize from 'lodash/capitalize';
|
|
6
6
|
import isEmpty from 'lodash/isEmpty';
|
|
7
|
-
import isEqual from 'lodash/isEqual';
|
|
8
7
|
import map from 'lodash/map';
|
|
9
8
|
import React from 'react';
|
|
10
9
|
import { Trans, useTranslation } from 'react-i18next';
|
|
11
|
-
import {
|
|
10
|
+
import { ATTACHMENT_DESCRIPTION_LENGTH_LIMIT } from '../../../reducers/CaseConstNTypes';
|
|
12
11
|
import { isAnalysingFile, isAnalysisFailed, isFileDeleted, isUploadAborted, isUploadedAndAnalysisFailed, isUploadedAndAnalysisSkipped, isUploadedAndAnalyzed, isUploadFailed, isUploading, isUploadingAttachment, isUploadingOnCase, isUploadingOnSession, isUploadOnTrack, isVerifyingUpload, shouldHideDescription, } from './reducer/AttachmentHelper';
|
|
13
12
|
import { FileStatusHelper } from './reducer/FileStatusHelper';
|
|
14
13
|
export const CaseDiagnosticsStatus = pcm.preCase.diag.CaseDiagnosticsStatus;
|
|
@@ -35,21 +34,11 @@ export default function FileLister(props) {
|
|
|
35
34
|
props.onFileEdit &&
|
|
36
35
|
props.onFileEdit(editedLocalFile, indexToEdit, { description: editedLocalFile.description.trim() });
|
|
37
36
|
};
|
|
38
|
-
const { summary } = useCaseSelector((state) => ({
|
|
39
|
-
summary: state.caseDetails.summary,
|
|
40
|
-
}), isEqual);
|
|
41
37
|
// To retry file upload
|
|
42
38
|
const onRetry = (index) => () => {
|
|
43
39
|
props.onRetry && props.onRetry(index);
|
|
44
40
|
};
|
|
45
|
-
const sosReportErrorText = (errorText) =>
|
|
46
|
-
const isSummaryEmpty = isEmpty(summary === null || summary === void 0 ? void 0 : summary.trim());
|
|
47
|
-
if (isSummaryEmpty) {
|
|
48
|
-
return t('please detail your issue summary first');
|
|
49
|
-
}
|
|
50
|
-
else
|
|
51
|
-
return errorText;
|
|
52
|
-
};
|
|
41
|
+
const sosReportErrorText = (errorText) => errorText.length > 500 ? t('There was an error uploading file') : errorText;
|
|
53
42
|
const onRetryAnalysis = (index) => () => {
|
|
54
43
|
props.onRetryAnalysis && props.onRetryAnalysis(index);
|
|
55
44
|
};
|
|
@@ -96,6 +85,10 @@ export default function FileLister(props) {
|
|
|
96
85
|
return !(isUploading(fileUploadStatus) || (!props.isSessionId && isUploadedAndAnalyzed(localFile)));
|
|
97
86
|
};
|
|
98
87
|
const canShowAbortBtn = (status) => isUploadingOnSession(status) || isUploadingOnCase(status);
|
|
88
|
+
// Attachment description length message
|
|
89
|
+
const maxCaseAttachmentDescription = t('You have reached the {{limit}} characters limit. The attachment description cannot be more than {{limit}} characters.', {
|
|
90
|
+
limit: ATTACHMENT_DESCRIPTION_LENGTH_LIMIT,
|
|
91
|
+
});
|
|
99
92
|
return (React.createElement(React.Fragment, null,
|
|
100
93
|
React.createElement("div", { className: "file-diag-selected" },
|
|
101
94
|
React.createElement("span", { className: "sr-only" }, "Selected files"),
|
|
@@ -132,6 +125,8 @@ export default function FileLister(props) {
|
|
|
132
125
|
? ''
|
|
133
126
|
: t('Enter a description')}`), hidden: shouldHideDescription(localFile, props.isSessionId) }),
|
|
134
127
|
isUploadedAndAnalysisSkipped(localFile) && (React.createElement("span", { className: "text-muted" }, localFile.analysisMetadata.analysisErrorMesssage)),
|
|
128
|
+
localFile.description.length === ATTACHMENT_DESCRIPTION_LENGTH_LIMIT ? (React.createElement("p", { className: "form-instructions" },
|
|
129
|
+
React.createElement(Trans, null, maxCaseAttachmentDescription))) : null,
|
|
135
130
|
isUploadedAndAnalysisFailed(localFile) && (React.createElement("span", { className: "text-danger" },
|
|
136
131
|
React.createElement(Trans, null, "Something went wrong during file analysis."),
|
|
137
132
|
React.createElement(Button, { onClick: onRetryAnalysis(index), isInline: true, variant: ButtonVariant.link },
|
|
@@ -5,7 +5,7 @@ export declare function useFileUploader(props: IFileUploaderCommonProps): {
|
|
|
5
5
|
retryUpload: (indexToRetry: number) => void;
|
|
6
6
|
editFile: (editedLocalFile: IFileLocal, fileIndexToEdit: number, changes: IFileLocal) => Promise<void>;
|
|
7
7
|
removeFile: (fileIndexToRemove: number, file: IFileLocal) => Promise<void>;
|
|
8
|
-
uploadAll: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void
|
|
8
|
+
uploadAll: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent>) => Promise<void>;
|
|
9
9
|
uploadFile: (fileIndex: number) => void;
|
|
10
10
|
retryAnalysis: (indexToRetry: number) => void;
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFileUploader.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/fileUpload/useFileUploader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFileUploader.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/fileUpload/useFileUploader.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA8D,MAAM,OAAO,CAAC;AAenF,OAAO,EAAE,UAAU,EAAmD,MAAM,6BAA6B,CAAC;AAE1G,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAEnD,wBAAgB,eAAe,CAAC,KAAK,EAAE,wBAAwB;gCA8DvB,MAAM;gCAYM,UAAU,mBAAmB,MAAM,WAAW,UAAU;oCAOpD,MAAM,QAAQ,UAAU;wBAczC,gBAAgB,CAAC,iBAAiB,EAAE,UAAU,CAAC;4BA2BjD,MAAM;kCAvDA,MAAM;EA6EhD"}
|
|
@@ -10,9 +10,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
import { caseAttachments, sessionAttachments } from '@cee-eng/hydrajs';
|
|
11
11
|
import { useFetch, usePrevious } from '@rh-support/components';
|
|
12
12
|
import { GlobalMetadataStateContext } from '@rh-support/react-context';
|
|
13
|
-
import { getConfigField, PCM_CONFIG_FIELD_TYPE } from '@rh-support/utils';
|
|
13
|
+
import { getConfigField, getUserAgentForCaseMode, PCM_CONFIG_FIELD_TYPE } from '@rh-support/utils';
|
|
14
14
|
import debounce from 'lodash/debounce';
|
|
15
15
|
import { useCallback, useContext, useEffect, useMemo, useRef } from 'react';
|
|
16
|
+
import { SessionRestoreDispatchContext, SessionRestoreStateContext } from '../../../context/SessionRestoreContext';
|
|
17
|
+
import { SESSION_REFERRER_URL_LIMIT } from '../../../reducers/CaseConstNTypes';
|
|
18
|
+
import { getSessionDetailsFromCase } from '../../../reducers/CaseHelpers';
|
|
19
|
+
import { createSession } from '../../../reducers/SessionRestoreReducer';
|
|
16
20
|
import { doSosReportAnalysisForFile, isAnalysingAnyAttachment, isUploadedSuccessfully, isUploadingAttachment, updateUploadMetadata, uploadAllFiles, uploadFile, } from './reducer/AttachmentHelper';
|
|
17
21
|
import { onFileEdit, onFileRemove, UploadStatusConstants } from './reducer/AttachmentReducer';
|
|
18
22
|
import { AttachmentDispatchContext, AttachmentStateContext } from './reducer/AttachmentReducerContext';
|
|
@@ -22,7 +26,9 @@ export function useFileUploader(props) {
|
|
|
22
26
|
const { request: deleteSessionAttachment } = useFetch(sessionAttachments.deleteSesionAttachment);
|
|
23
27
|
const { request: deleteCaseAttachment } = useFetch(caseAttachments.deleteAttachment);
|
|
24
28
|
const { idToUploadTo, needsAnalyzing, isSecureSupport, isSessionId, autoUploadOnSelect, onUploadClick } = props;
|
|
25
|
-
const { globalMetadataState: { pcmConfig }, } = useContext(GlobalMetadataStateContext);
|
|
29
|
+
const { globalMetadataState: { pcmConfig, referrerUrl }, } = useContext(GlobalMetadataStateContext);
|
|
30
|
+
const { sessionRestore } = useContext(SessionRestoreStateContext);
|
|
31
|
+
const sessionRestoreDispatch = useContext(SessionRestoreDispatchContext);
|
|
26
32
|
const checkForS3SlowUploads = getConfigField(pcmConfig.data, 'checkForS3SlowUploads', PCM_CONFIG_FIELD_TYPE.FEATURE_FLAG);
|
|
27
33
|
const useBrowserAPIForDetection = getConfigField(pcmConfig.data, 'useBrowserAPIForSpeedDetection', PCM_CONFIG_FIELD_TYPE.FEATURE_FLAG);
|
|
28
34
|
const slowUploadConfig = {
|
|
@@ -83,18 +89,31 @@ export function useFileUploader(props) {
|
|
|
83
89
|
!isSessionId &&
|
|
84
90
|
deleteCaseAttachment(idToUploadTo, file.attachmentId, isSecureSupport);
|
|
85
91
|
});
|
|
86
|
-
const onUploadAll = (event) => {
|
|
92
|
+
const onUploadAll = (event) => __awaiter(this, void 0, void 0, function* () {
|
|
87
93
|
onUploadClick && onUploadClick();
|
|
94
|
+
// on truobleshoot flow, user can upload a file while no data has added therefore no sessionId is available
|
|
95
|
+
let sessionId = '';
|
|
96
|
+
if (!idToUploadTo) {
|
|
97
|
+
const userAgent = getUserAgentForCaseMode(true);
|
|
98
|
+
let session = {
|
|
99
|
+
userAgent,
|
|
100
|
+
originatingSystem: userAgent,
|
|
101
|
+
referrerUrl: referrerUrl.substring(0, SESSION_REFERRER_URL_LIMIT),
|
|
102
|
+
};
|
|
103
|
+
if (!sessionRestore.sessionCreationStatus.isCreating && !sessionRestore.sessionCreationStatus.isError) {
|
|
104
|
+
sessionId = yield createSession(sessionRestoreDispatch, getSessionDetailsFromCase({}, []), session);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
88
107
|
uploadAllFiles({
|
|
89
108
|
dispatch,
|
|
90
|
-
idToUploadTo,
|
|
109
|
+
idToUploadTo: idToUploadTo || sessionId,
|
|
91
110
|
caseFiles,
|
|
92
111
|
isSecureSupport,
|
|
93
112
|
needsAnalyzing,
|
|
94
113
|
isSessionId,
|
|
95
114
|
slowUploadConfig,
|
|
96
115
|
});
|
|
97
|
-
};
|
|
116
|
+
});
|
|
98
117
|
const onUploadFile = (fileIndex) => {
|
|
99
118
|
uploadFile({
|
|
100
119
|
dispatch,
|
|
@@ -55,7 +55,7 @@ export declare const initialSessionRestoreState: ISessionRestoreState;
|
|
|
55
55
|
export declare type SessionRestoreDispatchType = (value: IActionType) => void;
|
|
56
56
|
export declare const sessionRestoreReducer: (state: ISessionRestoreState, action: IActionType) => ISessionRestoreState;
|
|
57
57
|
export declare const loadPreviousSessions: (dispatch: SessionReducerDispatchType, caseDispatch: CaseReducerDispatchType) => Promise<void>;
|
|
58
|
-
export declare const createSession: (dispatch: SessionReducerDispatchType, sessionDetails: ISessionDetails, session: ISession) => Promise<
|
|
58
|
+
export declare const createSession: (dispatch: SessionReducerDispatchType, sessionDetails: ISessionDetails, session: ISession) => Promise<string>;
|
|
59
59
|
export declare const updateSession: (dispatch: SessionReducerDispatchType, sessionId: string, sessionDetails?: ISessionDetails, session?: ISession) => Promise<void>;
|
|
60
60
|
export declare const updateActiveSessionId: (dispatch: SessionReducerDispatchType, activeSessionId: string) => void;
|
|
61
61
|
export declare function getRelevantSessionFromSessions(dispatch: SessionReducerDispatchType, currentRelevantSessionId: string, previousSessions: IPrevSessions, caseDetails: Partial<ICasePayload>): string;
|
|
@@ -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,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AACzG,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAkB1G,OAAO,EAAwB,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAWlF,MAAM,WAAW,aAAa;IAC1B,CAAC,SAAS,EAAE,MAAM,GAAG,YAAY,CAAC;CACrC;AAED,MAAM,WAAW,iBAAiB;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,gBAAgB,EAAE,CAAC;IACrC,kBAAkB,EAAE,gBAAgB,EAAE,CAAC;CAC1C;AACD,MAAM,WAAW,yBAAyB;IACtC,CAAC,MAAM,EAAE,MA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H,wBAAgB,kBAAkB,CAC9B,IAAI,EAAE,mBAAmB,EAAE,EAC3B,gBAAgB,EAAE,0BAA0B,GAC7C,gBAAgB,EAAE,CAIpB;AAGD,eAAO,MAAM,iBAAiB,QACrB,mBAAmB,oBACN,0BAA0B,SACrC,MAAM,KACd,gBAMD,CAAC;AAEH,eAAO,MAAM,mBAAmB,QACvB,MAAM,oBACO,0BAA0B,iCAErC,MAAM,KACd,gBAMD,CAAC;AAEH,eAAO,MAAM,cAAc,gFAa1B,CAAC;AAEF,eAAO,MAAM,qBAAqB,gFAajC,CAAC;AAGF,eAAO,MAAM,gBAAgB,QACpB,MAAM,oBACO,0BAA0B,6BAE7C,gBAKD,CAAC;AAGH,eAAO,MAAM,mCAAmC,QACvC,MAAM,oBACO,0BAA0B,6BAE7C,gBAKD,CAAC;AAEH,wBAAgB,oCAAoC,CAChD,IAAI,KAAA,EACJ,gBAAgB,EAAE,0BAA0B,GAC7C,gBAAgB,EAAE,CAIpB;AAID,eAAO,MAAM,YAAY,eACT,mBAAmB,mBACd,mBAAmB,EAAE,YAC7B,mBAAmB,EAAE,uBAWjC,CAAC"}
|
|
@@ -170,6 +170,7 @@ export const createSession = (dispatch, sessionDetails, session) => __awaiter(vo
|
|
|
170
170
|
const newSessionDetails = yield createNewSession(sessionDetails, session);
|
|
171
171
|
setTimeout(() => createSessionCepDetails(newSessionDetails.session.id, {}), 2000);
|
|
172
172
|
dispatch({ type: SessionRestoreConstants.createSession, payload: { sessionItem: newSessionDetails } });
|
|
173
|
+
return newSessionDetails.session.id;
|
|
173
174
|
}
|
|
174
175
|
catch (error) {
|
|
175
176
|
dispatch({
|
package/lib/esm/scss/_main.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "1.0.47-beta.
|
|
3
|
+
"version": "1.0.47-beta.58",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
"@patternfly/react-core": "4.264.0",
|
|
74
74
|
"@progress/kendo-drawing": "^1.6.0",
|
|
75
75
|
"@progress/kendo-react-pdf": "^3.12.0",
|
|
76
|
-
"@rh-support/components": "1.2.22-beta.
|
|
77
|
-
"@rh-support/react-context": "1.0.30-beta.
|
|
78
|
-
"@rh-support/types": "0.2.1-beta.
|
|
79
|
-
"@rh-support/user-permissions": "1.0.12-beta.
|
|
80
|
-
"@rh-support/utils": "1.0.10-beta.
|
|
76
|
+
"@rh-support/components": "1.2.22-beta.58",
|
|
77
|
+
"@rh-support/react-context": "1.0.30-beta.58",
|
|
78
|
+
"@rh-support/types": "0.2.1-beta.58",
|
|
79
|
+
"@rh-support/user-permissions": "1.0.12-beta.58",
|
|
80
|
+
"@rh-support/utils": "1.0.10-beta.58",
|
|
81
81
|
"@types/react-redux": "^7.1.12",
|
|
82
82
|
"@types/redux": "^3.6.0",
|
|
83
83
|
"@webcomponents/webcomponentsjs": "^2.2.10",
|
|
@@ -145,5 +145,5 @@
|
|
|
145
145
|
"not ie <= 11",
|
|
146
146
|
"not op_mini all"
|
|
147
147
|
],
|
|
148
|
-
"gitHead": "
|
|
148
|
+
"gitHead": "52af82c690605efacf567d6657ee7c5707fb3fdc"
|
|
149
149
|
}
|