@rh-support/troubleshoot 1.0.47-beta.42 → 1.0.47-beta.43
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/Recommendations/InsightsResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/InsightsResults.js +1 -2
- package/lib/esm/components/Recommendations/Recommendations.js +1 -1
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.js +1 -1
- package/lib/esm/components/shared/fileUpload/FileLister.js +46 -43
- package/lib/esm/components/wizardLayout/WizardAside.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardAside.js +7 -4
- package/lib/esm/components/wizardLayout/index.d.ts +0 -1
- package/lib/esm/components/wizardLayout/index.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/index.js +0 -1
- package/lib/esm/css/results.css +22 -27
- package/lib/esm/reducers/RouteConstNTypes.d.ts +1 -0
- package/lib/esm/reducers/RouteConstNTypes.d.ts.map +1 -1
- package/lib/esm/reducers/RouteConstNTypes.js +2 -1
- package/lib/esm/reducers/RouteReducer.js +1 -1
- package/package.json +4 -4
- package/lib/esm/css/feedbackForm.css +0 -92
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightsResults.d.ts","sourceRoot":"","sources":["../../../../src/components/Recommendations/InsightsResults.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAgC,MAAM,0CAA0C,CAAC;AAG7G,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAwB5D,UAAU,MAAO,SAAQ,gBAAgB;IACrC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AASD,MAAM,WAAW,wBAAyB,SAAQ,mBAAmB;IACjE,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,OAAO,CAAC;CAClB;AAED,iBAAS,eAAe,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"InsightsResults.d.ts","sourceRoot":"","sources":["../../../../src/components/Recommendations/InsightsResults.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAgC,MAAM,0CAA0C,CAAC;AAG7G,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAwB5D,UAAU,MAAO,SAAQ,gBAAgB;IACrC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AASD,MAAM,WAAW,wBAAyB,SAAQ,mBAAmB;IACjE,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,OAAO,CAAC;CAClB;AAED,iBAAS,eAAe,CAAC,KAAK,EAAE,MAAM,eA8PrC;kBA9PQ,eAAe;;;AAiQxB,eAAe,eAAe,CAAC"}
|
|
@@ -235,8 +235,7 @@ function InsightsResults(props) {
|
|
|
235
235
|
if (isEmpty(allResults))
|
|
236
236
|
return React.createElement(React.Fragment, null);
|
|
237
237
|
if (props.isDisplayOnMain) {
|
|
238
|
-
return (React.createElement(
|
|
239
|
-
React.createElement(InsightResultModal, { EARule: validEARules, onModalToggle: insightsModalToggle, isOpen: isRuleModalVisible, insightResults: allResults, isRenderedMain: true })));
|
|
238
|
+
return (React.createElement(InsightResultModal, { EARule: validEARules, onModalToggle: insightsModalToggle, isOpen: isRuleModalVisible, insightResults: allResults, isRenderedMain: true }));
|
|
240
239
|
}
|
|
241
240
|
return (React.createElement(React.Fragment, null,
|
|
242
241
|
!rulesState.triggerRuleNotification && (React.createElement(Alert, { isInline: true, title: t('Critical solutions have been triggered'), "data-tracking-id": "inline-view-crit-sol", actionLinks: React.createElement(Button, { isInline: true, className: "pf-c-alert__action", variant: "link", onClick: () => {
|
|
@@ -133,7 +133,7 @@ export default function Recommendations(props) {
|
|
|
133
133
|
(!props.renderOnlyRecommendations || !props.renderOnlyRecommendations) && React.createElement(Issue, null),
|
|
134
134
|
React.createElement(LoadingDots, { show: recommendationState.isLoadingRecommendations && !isEmpty(summary) }),
|
|
135
135
|
(!props.renderOnlyRecommendations || !props.renderOnlyRecommendations) && React.createElement(EARuleWidget, null),
|
|
136
|
-
React.createElement("div", { className: "recommendation-list", ref: resultRowRef },
|
|
136
|
+
React.createElement("div", { className: "recommendation-list pf-u-mt-lg", ref: resultRowRef },
|
|
137
137
|
React.createElement("ul", { className: "list-flat" }, map(recommendationState.visibleDocs, (doc, i) => {
|
|
138
138
|
var _a, _b;
|
|
139
139
|
return (React.createElement("li", { className: "result", key: doc.id },
|
|
@@ -41,7 +41,7 @@ function TroubleshootSection(props) {
|
|
|
41
41
|
React.createElement(LoadingDots, { show: topContent.isFetching }),
|
|
42
42
|
React.createElement(ErrorBoundary, { errorMsgInfo: { message: t('There was an error loading suggestions') } }, canShowTopContent && !isEmpty(version) && React.createElement(Suggestions, null)),
|
|
43
43
|
!isCreatingCase && React.createElement(ClusterRecommendations, { className: "push-top" }))),
|
|
44
|
-
React.createElement("section",
|
|
44
|
+
React.createElement("section", { className: "pf-u-mt-lg" },
|
|
45
45
|
React.createElement(InsightsResults, { isDisplayOnMain: true }),
|
|
46
46
|
React.createElement("div", { className: "push-top" },
|
|
47
47
|
React.createElement(FileDiag, null)))));
|
|
@@ -50,7 +50,7 @@ export default function FileLister(props) {
|
|
|
50
50
|
const getAnalysisStepCount = (localFile) => {
|
|
51
51
|
const diagStatus = getAnalysisStep(localFile);
|
|
52
52
|
const stepIndex = analysisSteps.indexOf(diagStatus);
|
|
53
|
-
return stepIndex > -1 ? stepIndex + 1 : analysisSteps.length + 1;
|
|
53
|
+
return stepIndex > -1 ? stepIndex + 1 : (analysisSteps === null || analysisSteps === void 0 ? void 0 : analysisSteps.length) + 1;
|
|
54
54
|
};
|
|
55
55
|
const getAnalysisStep = (localFile) => {
|
|
56
56
|
return analysisStepMap[localFile.analysisMetadata.diagnosticsStatus];
|
|
@@ -85,48 +85,51 @@ export default function FileLister(props) {
|
|
|
85
85
|
return (React.createElement(React.Fragment, null,
|
|
86
86
|
React.createElement("div", { className: "file-diag-selected" },
|
|
87
87
|
React.createElement("span", { className: "sr-only" }, "Selected files"),
|
|
88
|
-
React.createElement("ul", { className: "file-diag-list" }, map(props.selectedLocalFiles, (localFile, index) =>
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
React.createElement(
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
React.createElement(
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
React.createElement(
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
React.createElement(
|
|
121
|
-
React.createElement(
|
|
122
|
-
React.createElement(Trans, null, "
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
88
|
+
React.createElement("ul", { className: "file-diag-list" }, map(props.selectedLocalFiles, (localFile, index) => {
|
|
89
|
+
var _a;
|
|
90
|
+
return isFileDeleted(localFile.uploadProgress.uploadStatus) ? (React.createElement(React.Fragment, { key: index })) : (React.createElement("li", { key: index, className: `${localFile.uploadability.ableToUpload
|
|
91
|
+
? `file-${index + 1}`
|
|
92
|
+
: `file-${index + 1} text-error`}` },
|
|
93
|
+
React.createElement("div", { className: "file-name" },
|
|
94
|
+
React.createElement("label", { htmlFor: `file-${index + 1}-description` },
|
|
95
|
+
!isUploadOnTrack(localFile) && (React.createElement("i", { className: "icon-warning pf-u-mr-sm", title: getUploadErrorMessage(localFile, localFile.uploadability), "aria-label": getUploadErrorMessage(localFile, localFile.uploadability) })),
|
|
96
|
+
isUploadedAndAnalysisFailed(localFile) && (React.createElement("i", { className: "icon-warning text-danger pf-u-mr-sm", title: getUploadErrorMessage(localFile, localFile.uploadability), "aria-label": getUploadErrorMessage(localFile, localFile.uploadability) })),
|
|
97
|
+
isUploadedAndAnalyzed(localFile) && (React.createElement("i", { className: "icon-check-alt text-green pf-u-mr-sm", title: t('File uploaded and analyzed'), "aria-label": t('File uploaded and analyzed') })),
|
|
98
|
+
isUploading(localFile.uploadProgress.uploadStatus) && (React.createElement("div", { className: "pf-u-mr-sm pf-u-display-inline-block", style: { height: '20px', width: '20px' } },
|
|
99
|
+
React.createElement(CircularProgressbar, { title: getRadialProgressTitle(localFile), strokeWidth: 13, value: localFile.uploadProgress.percentUploaded }))),
|
|
100
|
+
React.createElement("span", null, `${localFile.name} (${humanizeSize(localFile.size)})`),
|
|
101
|
+
!localFile.uploadability.ableToUpload && (React.createElement("span", { className: "file-error" },
|
|
102
|
+
React.createElement(Trans, null, "can't be selected."))),
|
|
103
|
+
localFile.isPrivate && (React.createElement(Label, { color: "red", className: "pf-u-ml-sm" },
|
|
104
|
+
React.createElement(Trans, null, "Private")))),
|
|
105
|
+
!shouldHideDescription(localFile, props.isSessionId) &&
|
|
106
|
+
((_a = localFile === null || localFile === void 0 ? void 0 : localFile.description) === null || _a === void 0 ? void 0 : _a.length) > 1 && (React.createElement("span", { className: "character-counter text-muted" }, 255 - localFile.description.length)),
|
|
107
|
+
(isUploadFailed(localFile.uploadProgress.uploadStatus) ||
|
|
108
|
+
isUploadAborted(localFile.uploadProgress.uploadStatus)) && (React.createElement("button", { type: "button", "aria-label": "Failed to upload, Retry", title: "Failed to upload, Retry", className: "btn btn-link btn-xs", "data-tracking-id": "file-lister-retry", onClick: onRetry(index) },
|
|
109
|
+
React.createElement("i", { className: "nimbus-icon-backup" }))),
|
|
110
|
+
!isVerifyingUpload(localFile.uploadProgress.uploadStatus) &&
|
|
111
|
+
!isAnalysingFile(localFile.analysisMetadata.analysisStatus) && (React.createElement(React.Fragment, null,
|
|
112
|
+
canShowAbortBtn(localFile.uploadProgress.uploadStatus) && (React.createElement(Button, { variant: ButtonVariant.link, isDanger: true, "aria-label": t('Cancel Upload'), title: t('Cancel Upload'), className: "btn btn-link btn-app remove-file", "data-tracking-id": "file-lister-abort", onClick: onAbortClick(localFile, index), hidden: !localFile.uploadability.ableToUpload, isDisabled: !(localFile.uploadProgress.percentUploaded > 0) },
|
|
113
|
+
React.createElement(Trans, null, "Cancel"))),
|
|
114
|
+
showDeleteBtn(localFile.uploadProgress.uploadStatus, localFile) && (React.createElement(Button, { variant: ButtonVariant.link, isDanger: true, "aria-label": t('Delete file'), title: t('Delete file'), className: "btn btn-link btn-app remove-file", "data-tracking-id": "file-lister-delete", onClick: onRemoveClick(localFile, index), hidden: !localFile.uploadability.ableToUpload },
|
|
115
|
+
React.createElement(Trans, null, "Remove")))))),
|
|
116
|
+
isAnalysingFile(localFile.analysisMetadata.analysisStatus) && (React.createElement(Progress, { measureLocation: ProgressMeasureLocation.top, value: getAnalysisStepCount(localFile), min: 0, max: (analysisSteps === null || analysisSteps === void 0 ? void 0 : analysisSteps.length) + 1, label: getAnalysisProgressTitle(localFile), valueText: getAnalysisProgressTitle(localFile) })),
|
|
117
|
+
React.createElement("input", { id: `file-${index + 1}-description`, "data-tracking-id": `case-${props.isSessionId ? 'create' : 'details'}-file-${index + 1}-description`, className: "file-description form-control pf-u-my-sm", type: "text", value: localFile.description, onChange: onDescriptionChange(localFile, index), maxLength: 255, placeholder: t(`${shouldHideDescription(localFile, props.isSessionId)
|
|
118
|
+
? ''
|
|
119
|
+
: t('Enter a description')}`), hidden: shouldHideDescription(localFile, props.isSessionId) }),
|
|
120
|
+
isUploadedAndAnalysisSkipped(localFile) && (React.createElement("span", { className: "text-muted" }, localFile.analysisMetadata.analysisErrorMesssage)),
|
|
121
|
+
isUploadedAndAnalysisFailed(localFile) && (React.createElement("span", { className: "text-danger" },
|
|
122
|
+
React.createElement(Trans, null, "Something went wrong during file analysis."),
|
|
123
|
+
React.createElement(Button, { onClick: onRetryAnalysis(index), isInline: true, variant: ButtonVariant.link },
|
|
124
|
+
React.createElement(Trans, null, "Try analyzing again.")))),
|
|
125
|
+
isUploadFailed(localFile.uploadProgress.uploadStatus) && (React.createElement("span", { className: "text-danger" },
|
|
126
|
+
React.createElement(Trans, null,
|
|
127
|
+
"Upload Failed, ",
|
|
128
|
+
localFile.uploadProgress.uploadErrorMessage,
|
|
129
|
+
". "),
|
|
130
|
+
React.createElement(Button, { onClick: onRetry(index), isInline: true, variant: ButtonVariant.link },
|
|
131
|
+
React.createElement(Trans, null, "Try again"))))));
|
|
132
|
+
})),
|
|
130
133
|
props.showSlowUploadMsg && isUploadingAttachment(props.selectedLocalFiles) && (React.createElement("span", { className: "text-muted" },
|
|
131
134
|
React.createElement(Trans, null, "We detected you are on a slow internet connection. This might take a while depending on the file size."))))));
|
|
132
135
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardAside.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardAside.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAInD,OAAO,EAEH,eAAe,
|
|
1
|
+
{"version":3,"file":"WizardAside.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardAside.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAInD,OAAO,EAEH,eAAe,EAIlB,MAAM,iCAAiC,CAAC;AAWzC,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACjD,2BAA2B,EAAE,OAAO,CAAC;IACrC,qBAAqB,EAAE,CAAC,cAAc,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5D;AAGD,iBAAS,WAAW,CAAC,KAAK,EAAE,MAAM,eAqDjC;kBArDQ,WAAW;;;AAuDpB,eAAe,WAAW,CAAC"}
|
|
@@ -5,7 +5,7 @@ import isEqual from 'lodash/isEqual';
|
|
|
5
5
|
import React, { useContext } from 'react';
|
|
6
6
|
import { useCaseSelector } from '../../context/CaseContext';
|
|
7
7
|
import { RouteContext } from '../../context/RouteContext';
|
|
8
|
-
import { hideFileUploadSidebarWidgetSections, showSideBarClusterIdRuleWidgetSections, showSideBarEARuleWidgetSections, } from '../../reducers/RouteConstNTypes';
|
|
8
|
+
import { hideFileUploadSidebarWidgetSections, showSideBarClusterIdRuleWidgetSections, showSideBarEARuleWidgetSections, showSideBarFileRecommendationSections, } from '../../reducers/RouteConstNTypes';
|
|
9
9
|
import { getAppRouteConfugurations } from '../../reducers/RouteReducer';
|
|
10
10
|
import { CaseSolutions } from '../CaseEditView/CaseSolutions/CaseSolutions';
|
|
11
11
|
import { FileDiag } from '../CaseInformation/FileDiag';
|
|
@@ -34,7 +34,8 @@ function WizardAside(props) {
|
|
|
34
34
|
!props.isAttachmentUploadModalOpen &&
|
|
35
35
|
!hideFileUploadSidebarWidgetSections.includes(activeSection);
|
|
36
36
|
const canshowEARuleWidget = showSideBarEARuleWidgetSections.includes(activeSection);
|
|
37
|
-
const
|
|
37
|
+
const canShowClusterIdReportWidget = showSideBarClusterIdRuleWidgetSections.includes(activeSection);
|
|
38
|
+
const canShowFileRecommendationSectionsWidget = showSideBarFileRecommendationSections.includes(activeSection);
|
|
38
39
|
if (appRouteConfugurations[activeSection].hideAside) {
|
|
39
40
|
return null;
|
|
40
41
|
}
|
|
@@ -42,9 +43,11 @@ function WizardAside(props) {
|
|
|
42
43
|
React.createElement("section", { className: "grid-aside-content" },
|
|
43
44
|
canshowEARuleWidget && React.createElement(EARuleWidget, null),
|
|
44
45
|
React.createElement(InsightsResults, null),
|
|
45
|
-
|
|
46
|
-
canUseSessionManagement && !isCreatingCase && React.createElement(SessionRestore, { routeProps: props.routeProps }),
|
|
46
|
+
" ",
|
|
47
47
|
React.createElement(AsideResults, null),
|
|
48
|
+
canShowFileRecommendationSectionsWidget && React.createElement(InsightsResults, { isDisplayOnMain: true }),
|
|
49
|
+
React.createElement(ClusterRecommendations, { showClusterRecommendationsList: canShowClusterIdReportWidget }),
|
|
50
|
+
canUseSessionManagement && !isCreatingCase && React.createElement(SessionRestore, { routeProps: props.routeProps }),
|
|
48
51
|
canShowFileUploadWidget() && React.createElement(FileDiag, null),
|
|
49
52
|
React.createElement(AlertToastWrapper, { submitCaseAndNavigate: props.submitCaseAndNavigate }),
|
|
50
53
|
React.createElement(CaseSolutions, { caseNumber: caseNumber, isSecureSupportAccount: isSecureSupportAccount }))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,6CAA6C,CAAC;AACrD,OAAO,mBAAmB,CAAC;AAC3B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,6CAA6C,CAAC;AACrD,OAAO,mBAAmB,CAAC;AAC3B,OAAO,0BAA0B,CAAC;AAClC,OAAO,+BAA+B,CAAC;AACvC,OAAO,uBAAuB,CAAC;AAC/B,OAAO,2CAA2C,CAAC;AAKnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,EAAoB,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAIpF,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACjD,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,SAAS,EAAE,GAAG,CAAC;QACf,oBAAoB,EAAE,GAAG,CAAC;QAC1B,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,GAAG,MAAM,OAAA,KAAK,GAAG,KAAK,GAAG,CAAC;QAC9E,MAAM,EAAE,GAAG,CAAC;QACZ,KAAK,EAAE,GAAG,CAAC;QACX,eAAe,EAAE,GAAG,CAAC;QACrB,aAAa,EAAE;YACX,cAAc,EAAE,MAAM,CAAC;YACvB,OAAO,EAAE,MAAM,CAAC;SACnB,CAAC;KACL;IAED,UAAU,QAAQ;QACd,YAAY,EAAE,GAAG,CAAC;KACrB;CACJ;AAED,eAAO,MAAM,YAAY,UAAW,MAAM,gBA4BzC,CAAC"}
|
package/lib/esm/css/results.css
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
============================================ */
|
|
3
3
|
|
|
4
4
|
/* ALL RECOMMENDATIONS */
|
|
5
|
-
|
|
6
5
|
.result .result-header .se-recommended {
|
|
7
6
|
font-weight: 600;
|
|
8
7
|
word-wrap: break-word;
|
|
@@ -41,103 +40,99 @@
|
|
|
41
40
|
word-break: break-all;
|
|
42
41
|
}
|
|
43
42
|
|
|
44
|
-
|
|
43
|
+
.recommendation-list {
|
|
45
44
|
margin-top: 2rem;
|
|
46
45
|
}
|
|
47
46
|
|
|
48
|
-
|
|
47
|
+
.recommendation-list .result {
|
|
49
48
|
margin-bottom: 1.75rem;
|
|
50
49
|
}
|
|
51
50
|
|
|
52
|
-
|
|
51
|
+
.recommendation-list .result:last-child {
|
|
53
52
|
margin-bottom: 0;
|
|
54
53
|
}
|
|
55
54
|
|
|
56
|
-
|
|
55
|
+
.recommendation-list .result .result-header,
|
|
57
56
|
.card-body .result .result-header {
|
|
58
57
|
width: 100%;
|
|
59
58
|
margin-bottom: 0;
|
|
60
59
|
font-weight: 600;
|
|
61
60
|
}
|
|
62
61
|
|
|
63
|
-
|
|
62
|
+
.recommendation-list .result .result-header .se-recommended {
|
|
64
63
|
font-size: 1rem;
|
|
65
64
|
}
|
|
66
65
|
|
|
67
|
-
|
|
66
|
+
.recommendation-list .result .result-header .header-meta > * {
|
|
68
67
|
margin-right: 0.5%;
|
|
69
68
|
font-size: 14px;
|
|
70
69
|
font-weight: 600;
|
|
71
70
|
color: rgb(118, 118, 118);
|
|
72
71
|
}
|
|
73
72
|
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
.recommendation-list .result .result-header .header-meta .status-verified,
|
|
74
|
+
.recommendation-list .result .result-header .header-meta .solution-verified {
|
|
76
75
|
color: #486b00;
|
|
77
76
|
font-size: 13px;
|
|
78
77
|
text-transform: uppercase;
|
|
79
78
|
}
|
|
80
79
|
|
|
81
|
-
|
|
80
|
+
.recommendation-list .result .result-header .header-meta .highly-recommended-doc {
|
|
82
81
|
color: #486b00;
|
|
83
82
|
font-size: 13px;
|
|
84
83
|
text-transform: uppercase;
|
|
85
84
|
}
|
|
86
|
-
|
|
87
|
-
#recommendations .recommendation-list .result .issue-wrap {
|
|
85
|
+
.recommendation-list .result .issue-wrap {
|
|
88
86
|
max-height: 150px;
|
|
89
87
|
width: 100%;
|
|
90
88
|
}
|
|
91
89
|
|
|
92
|
-
|
|
93
|
-
|
|
90
|
+
.recommendation-list .result .issue-wrap *,
|
|
91
|
+
.recommendation-list .result .issue-wrap * > * {
|
|
94
92
|
margin-bottom: 0.5em;
|
|
95
93
|
}
|
|
96
94
|
|
|
97
|
-
|
|
95
|
+
.recommendation-list .result .issue-wrap pre {
|
|
98
96
|
margin: 1.1em 0;
|
|
99
97
|
}
|
|
100
98
|
|
|
101
|
-
|
|
99
|
+
.recommendation-list .result .list-flushleft {
|
|
102
100
|
padding-left: 1.4rem;
|
|
103
101
|
margin-bottom: 0;
|
|
104
102
|
}
|
|
105
103
|
|
|
106
104
|
/* MAIN RECOMMENDATIONS - file diag */
|
|
107
|
-
#recommendations .card-support {
|
|
108
|
-
margin-bottom: 2rem !important;
|
|
109
|
-
}
|
|
110
105
|
|
|
111
|
-
|
|
106
|
+
.insight-results-list {
|
|
112
107
|
margin-bottom: 0;
|
|
113
108
|
}
|
|
114
109
|
|
|
115
|
-
|
|
110
|
+
.insight-results-list .result {
|
|
116
111
|
margin-bottom: 1rem;
|
|
117
112
|
}
|
|
118
113
|
|
|
119
|
-
|
|
114
|
+
.insight-results-list .result:last-child {
|
|
120
115
|
margin-bottom: 0;
|
|
121
116
|
}
|
|
122
117
|
|
|
123
|
-
|
|
118
|
+
.card-body .result .result-header .header-meta {
|
|
124
119
|
display: none;
|
|
125
120
|
}
|
|
126
121
|
|
|
127
|
-
|
|
122
|
+
.card-body .result .result-header .se-recommended {
|
|
128
123
|
font-size: 15px;
|
|
129
124
|
}
|
|
130
125
|
|
|
131
|
-
|
|
126
|
+
.card-body .result .result-body {
|
|
132
127
|
margin-bottom: 0;
|
|
133
128
|
font-size: 14px;
|
|
134
129
|
}
|
|
135
130
|
|
|
136
|
-
|
|
131
|
+
.card-body .result:last-of-type {
|
|
137
132
|
margin-bottom: 0 !important;
|
|
138
133
|
}
|
|
139
134
|
|
|
140
|
-
|
|
135
|
+
.card-body .result .btn-incident-info {
|
|
141
136
|
font-size: 13px;
|
|
142
137
|
}
|
|
143
138
|
|
|
@@ -24,6 +24,7 @@ export declare const hideFileUploadSidebarWidgetSections: AppRouteSections[];
|
|
|
24
24
|
export declare const showSidebarRecommendationsSections: AppRouteSections[];
|
|
25
25
|
export declare const showSideBarEARuleWidgetSections: AppRouteSections[];
|
|
26
26
|
export declare const showSideBarClusterIdRuleWidgetSections: AppRouteSections[];
|
|
27
|
+
export declare const showSideBarFileRecommendationSections: AppRouteSections[];
|
|
27
28
|
export declare const hideSideBarClusterIdRuleToast: AppRouteSections[];
|
|
28
29
|
export declare const hiddengetSupportSections: AppRouteSections[];
|
|
29
30
|
//# sourceMappingURL=RouteConstNTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RouteConstNTypes.d.ts","sourceRoot":"","sources":["../../../src/reducers/RouteConstNTypes.ts"],"names":[],"mappings":"AAAA,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;IAIrB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,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,WAAW,gBAAgB;CAC9B;AAED,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"RouteConstNTypes.d.ts","sourceRoot":"","sources":["../../../src/reducers/RouteConstNTypes.ts"],"names":[],"mappings":"AAAA,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;IAIrB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,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,WAAW,gBAAgB;CAC9B;AAED,eAAO,MAAM,0BAA0B,oBAAiC,CAAC;AACzE,eAAO,MAAM,mCAAmC,oBAAgE,CAAC;AACjH,eAAO,MAAM,kCAAkC,oBAO9C,CAAC;AAEF,eAAO,MAAM,+BAA+B,oBAK3C,CAAC;AAEF,eAAO,MAAM,sCAAsC,oBAIlD,CAAC;AAEF,eAAO,MAAM,qCAAqC,oBAAgE,CAAC;AAEnH,eAAO,MAAM,6BAA6B,oBAA0D,CAAC;AAErG,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EAKtD,CAAC"}
|
|
@@ -10,7 +10,7 @@ export var AppRouteSections;
|
|
|
10
10
|
AppRouteSections["SUBMIT_CASE"] = "submit-case";
|
|
11
11
|
AppRouteSections["SUBMIT_IDEA"] = "submit-idea";
|
|
12
12
|
})(AppRouteSections || (AppRouteSections = {}));
|
|
13
|
-
export const sessionRestoreCardSections = [AppRouteSections.GET_SUPPORT
|
|
13
|
+
export const sessionRestoreCardSections = [AppRouteSections.GET_SUPPORT];
|
|
14
14
|
export const hideFileUploadSidebarWidgetSections = [AppRouteSections.GET_SUPPORT, AppRouteSections.TROUBLESHOOT];
|
|
15
15
|
export const showSidebarRecommendationsSections = [
|
|
16
16
|
AppRouteSections.TROUBLESHOOT,
|
|
@@ -31,6 +31,7 @@ export const showSideBarClusterIdRuleWidgetSections = [
|
|
|
31
31
|
AppRouteSections.REVIEW,
|
|
32
32
|
AppRouteSections.SUBMIT_CASE,
|
|
33
33
|
];
|
|
34
|
+
export const showSideBarFileRecommendationSections = [AppRouteSections.DESCRIBE_MORE, AppRouteSections.MANAGEMENT];
|
|
34
35
|
export const hideSideBarClusterIdRuleToast = [AppRouteSections.REVIEW, AppRouteSections.SUBMIT_CASE];
|
|
35
36
|
export const hiddengetSupportSections = [
|
|
36
37
|
AppRouteSections.TROUBLESHOOT,
|
|
@@ -122,7 +122,7 @@ export function getAppRouteConfugurations(isCaseCreate, isIdea, product) {
|
|
|
122
122
|
: isCaseCreate && !isIdea
|
|
123
123
|
? []
|
|
124
124
|
: [AppRouteSections.TROUBLESHOOT] }),
|
|
125
|
-
[AppRouteSections.TROUBLESHOOT]: Object.assign(Object.assign({}, defaultRouteConfiguration), { title: 'Recommendations', stepName: 'Troubleshoot', nextButtonLabel: isCaseCreate ? 'Continue' : '
|
|
125
|
+
[AppRouteSections.TROUBLESHOOT]: Object.assign(Object.assign({}, defaultRouteConfiguration), { title: 'Recommendations', stepName: 'Troubleshoot', nextButtonLabel: isCaseCreate ? 'Continue' : 'Get support', previousSection: AppRouteSections.SUMMARIZE, nextSection: isCaseCreate ? AppRouteSections.DESCRIBE_MORE : AppRouteSections.GET_SUPPORT, futureSections: isCaseCreate
|
|
126
126
|
? [AppRouteSections.DESCRIBE_MORE, AppRouteSections.MANAGEMENT, AppRouteSections.REVIEW]
|
|
127
127
|
: [] }),
|
|
128
128
|
[AppRouteSections.DESCRIBE_MORE]: Object.assign(Object.assign({}, defaultRouteConfiguration), { title: 'Case information', stepName: 'Describe more', previousSection: isCaseCreate ? AppRouteSections.TROUBLESHOOT : AppRouteSections.GET_SUPPORT, nextSection: AppRouteSections.MANAGEMENT, futureSections: [AppRouteSections.MANAGEMENT, AppRouteSections.REVIEW] }),
|
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.43",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -73,8 +73,8 @@
|
|
|
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.
|
|
76
|
+
"@rh-support/components": "1.2.22-beta.35",
|
|
77
|
+
"@rh-support/react-context": "1.0.30-beta.35",
|
|
78
78
|
"@rh-support/types": "0.2.1-beta.33",
|
|
79
79
|
"@rh-support/user-permissions": "1.0.12-beta.34",
|
|
80
80
|
"@rh-support/utils": "1.0.10-beta.34",
|
|
@@ -145,5 +145,5 @@
|
|
|
145
145
|
"not ie <= 11",
|
|
146
146
|
"not op_mini all"
|
|
147
147
|
],
|
|
148
|
-
"gitHead": "
|
|
148
|
+
"gitHead": "9e3cd2f2e8c21702827eabaeb9104cf69a9a042c"
|
|
149
149
|
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/* .pf-c-backdrop {
|
|
2
|
-
-webkit-backdrop-filter: blur(10px);
|
|
3
|
-
background-color: rgba(3, 3, 3, 0.619608);
|
|
4
|
-
box-sizing: border-box;
|
|
5
|
-
color: rgb(21, 21, 21);
|
|
6
|
-
display: block;
|
|
7
|
-
font-size: 16px;
|
|
8
|
-
font-weight: normal;
|
|
9
|
-
height: 100%;
|
|
10
|
-
left: 0px;
|
|
11
|
-
line-height: 24px;
|
|
12
|
-
margin: 0px;
|
|
13
|
-
padding: 0px;
|
|
14
|
-
position: fixed;
|
|
15
|
-
text-align: left;
|
|
16
|
-
text-rendering: optimizeLegibility;
|
|
17
|
-
top: 0px;
|
|
18
|
-
width: 100%;
|
|
19
|
-
z-index: 400;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.pf-l-bullseye {
|
|
23
|
-
align-items: center;
|
|
24
|
-
background-color: rgba(0, 0, 0, 0);
|
|
25
|
-
box-sizing: border-box;
|
|
26
|
-
color: rgb(21, 21, 21);
|
|
27
|
-
display: flex;
|
|
28
|
-
font-size: 16px;
|
|
29
|
-
font-weight: normal;
|
|
30
|
-
height: 886px;
|
|
31
|
-
justify-content: center;
|
|
32
|
-
line-height: 24px;
|
|
33
|
-
margin: 0px;
|
|
34
|
-
padding: 0px;
|
|
35
|
-
text-align: left;
|
|
36
|
-
text-rendering: optimizeLegibility;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.pf-c-modal-box {
|
|
40
|
-
background-color: rgb(255, 255, 255);
|
|
41
|
-
box-shadow: rgba(3, 3, 3, 0.13) 0px 3px 7px 3px, rgba(3, 3, 3, 0.12) 0px 11px 24px 16px;
|
|
42
|
-
color: rgb(21, 21, 21);
|
|
43
|
-
padding: 32px;
|
|
44
|
-
position: relative;
|
|
45
|
-
text-rendering: optimizelegibility;
|
|
46
|
-
z-index: 500;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@media (min-width: 992px) {
|
|
50
|
-
.pf-c-modal-box {
|
|
51
|
-
max-width: 750px;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.pf-c-modal-box > .pf-c-button {
|
|
56
|
-
position: absolute;
|
|
57
|
-
top: 27px;
|
|
58
|
-
right: 16px;
|
|
59
|
-
box-sizing: border-box;
|
|
60
|
-
color: rgb(114, 118, 123);
|
|
61
|
-
margin: 0px;
|
|
62
|
-
padding-bottom: 6px;
|
|
63
|
-
padding-left: 16px;
|
|
64
|
-
padding-right: 16px;
|
|
65
|
-
padding-top: 6px;
|
|
66
|
-
text-align: center;
|
|
67
|
-
text-rendering: optimizeLegibility;
|
|
68
|
-
text-shadow: none;
|
|
69
|
-
text-transform: none;
|
|
70
|
-
white-space: nowrap;
|
|
71
|
-
word-spacing: 0px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.pf-c-modal-box .pf-c-title {
|
|
75
|
-
margin-bottom: calc(1.5rem + 8px);
|
|
76
|
-
font-size: 20px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.pf-c-modal-box #feedbackForm legend {
|
|
80
|
-
margin-bottom: .5rem;
|
|
81
|
-
font-weight: bold;
|
|
82
|
-
color: rgb(21, 21, 21);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.pf-c-modal-box #feedbackForm .radio-inline+.radio-inline,
|
|
86
|
-
.pf-c-modal-box #feedbackForm .checkbox-inline+.checkbox-inline {
|
|
87
|
-
margin-left: 1.2rem;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.pf-c-modal-box .pf-c-modal-box__footer button:first-child {
|
|
91
|
-
margin-right: 1rem;
|
|
92
|
-
} */
|