@rh-support/troubleshoot 2.2.44 → 2.2.46
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/ConfirmationModals/ReopenCaseModal.js +4 -4
- package/lib/esm/components/CaseInformation/Severity.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Severity.js +2 -1
- package/lib/esm/components/CaseManagement/OpenShiftV3Inputbox.js +1 -1
- package/lib/esm/components/Recommendations/InsightsResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/InsightsResults.js +1 -1
- package/lib/esm/components/SessionRestore/SessionRestoreCard.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/SessionRestoreCard.js +5 -12
- package/lib/esm/components/Suggestions/Suggestions.js +1 -1
- package/lib/esm/components/Suggestions/TopContent.d.ts.map +1 -1
- package/lib/esm/components/Suggestions/TopContent.js +39 -20
- package/lib/esm/scss/_pf-overrides.scss +58 -4
- package/package.json +4 -4
|
@@ -87,10 +87,10 @@ export function ReopenCaseModal(props) {
|
|
|
87
87
|
React.createElement(Trans, null, option)))))) : (React.createElement(Select, { "aria-label": t('Select an option that best fits'), id: "case-resolution", selections: selectedReason, onSelect: onReasonChange, isOpen: showDropdown, isDisabled: props.isUpdating, menuAppendTo: document.body, validated: showValidationError && !selectedReason ? 'error' : 'default', placeholderText: t('Select an option that best fits'), onToggle: (_event, toggle) => onDropdownToggle(toggle) }, reasonsList.map((option, index) => (React.createElement(SelectOption, { key: index, value: option },
|
|
88
88
|
React.createElement(Trans, null, option)))))))),
|
|
89
89
|
showTextArea && (React.createElement(FormGroup, { label: t('Please describe your reason'), type: "text", isRequired: true, fieldId: "reopen-case-description" },
|
|
90
|
-
React.createElement(FormHelperText, null,
|
|
91
|
-
React.createElement(HelperText, null,
|
|
92
|
-
React.createElement(HelperTextItem, { hasIcon: true }, t(`Your comment will be visible${props.isInternal ? ' to the customers' : ''} under discussions after reopening.`)))),
|
|
93
90
|
React.createElement(TextArea, { placeholder: t(props.isInternal
|
|
94
91
|
? 'Describe the reason for reopening with the selected status'
|
|
95
|
-
: 'The better the description, the easier it will be for our support team to address your case.'), validated: showValidationError && isDescriptionEmpty && !reopenDescription ? 'error' : 'default', isRequired: true, id: "reopen-case-description", name: "reopen-case-description", "aria-describedby": "reopen-case-description", value: reopenDescription, onChange: (_event, text) => onDescriptionChange(text), isDisabled: props.isUpdating, resizeOrientation: "vertical" })
|
|
92
|
+
: 'The better the description, the easier it will be for our support team to address your case.'), validated: showValidationError && isDescriptionEmpty && !reopenDescription ? 'error' : 'default', isRequired: true, id: "reopen-case-description", name: "reopen-case-description", "aria-describedby": "reopen-case-description", value: reopenDescription, onChange: (_event, text) => onDescriptionChange(text), isDisabled: props.isUpdating, resizeOrientation: "vertical" }),
|
|
93
|
+
React.createElement(FormHelperText, null,
|
|
94
|
+
React.createElement(HelperText, null,
|
|
95
|
+
React.createElement(HelperTextItem, null, t(`Your comment will be visible${props.isInternal ? ' to the customers' : ''} under discussions after reopening.`)))))))));
|
|
96
96
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Severity.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/Severity.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"Severity.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/Severity.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAMvE,OAAO,EAAE,gBAAgB,EAAW,MAAM,0BAA0B,CAAC;AAyBrE,UAAU,MAAO,SAAQ,gBAAgB;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,CAAC,WAAW,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,IAAI,CAAC;IAChE,oBAAoB,EAAE,OAAO,CAAC;CACjC;AASD,MAAM,WAAW,gBAAgB;IAC7B,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;CACxD;AAED,iBAAS,QAAQ,CAAC,KAAK,EAAE,MAAM,eA4R9B;kBA5RQ,QAAQ;;;AA8RjB,eAAe,QAAQ,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Icon, Popover, PopoverPosition, Tooltip, TooltipPosition } from '@patternfly/react-core';
|
|
2
|
+
import QuestionCircleIcon from '@patternfly/react-icons/dist/js/icons/question-circle-icon';
|
|
2
3
|
import WarningTriangleIcon from '@patternfly/react-icons/dist/js/icons/warning-triangle-icon';
|
|
3
4
|
import { Dropdown, ValueChangedIcon } from '@rh-support/components';
|
|
4
5
|
import { GlobalMetadataStateContext } from '@rh-support/react-context';
|
|
@@ -161,7 +162,7 @@ function Severity(props) {
|
|
|
161
162
|
' ',
|
|
162
163
|
React.createElement("a", { href: "/support/policy/severity", target: "_blank" },
|
|
163
164
|
React.createElement(Trans, null, "Red Hat Support Severity Level Definitions"))), closeBtnAriaLabel: "Close" },
|
|
164
|
-
React.createElement(
|
|
165
|
+
React.createElement(QuestionCircleIcon, { className: "pf-v5-u-ml-xs icon-size", "aria-label": t(`Support Severity Level info`) }))),
|
|
165
166
|
"\u00A0",
|
|
166
167
|
filteredSeverities.filter((s) => s.disabled).length !== 0 && (React.createElement(Tooltip, { position: TooltipPosition.top, content: React.createElement(Trans, null, "Only the enabled severity levels are supported for selected product and version.") },
|
|
167
168
|
React.createElement(Icon, { size: "sm" },
|
|
@@ -12,7 +12,7 @@ function OpenShiftV3Inputbox(props) {
|
|
|
12
12
|
React.createElement(Trans, null, "OpenShift Cluster Name"),
|
|
13
13
|
React.createElement("span", { className: "form-required", "aria-hidden": true }, "*"),
|
|
14
14
|
React.createElement(CaseOpenShiftV3Popover, null)),
|
|
15
|
-
React.createElement(TextInput, { id: "case-details-v3-cluster-name", value: props.v3ClusterName, type: "text", onChange: (e, value) => props.onReasonInputBoxChanged(value), "aria-label": t('Enter your Cluster Name'), placeholder: t('Enter your Cluster Name'), required: true, className:
|
|
15
|
+
React.createElement(TextInput, { id: "case-details-v3-cluster-name", value: props.v3ClusterName, type: "text", onChange: (e, value) => props.onReasonInputBoxChanged(value), "aria-label": t('Enter your Cluster Name'), placeholder: t('Enter your Cluster Name'), required: true, className: `${props.isInValid ? 'form-invalid' : ''}`, "data-tracking-id": "openshift-v3-cluster-name" }),
|
|
16
16
|
React.createElement("p", { id: "validated-helper", className: `form-instructions ${props.isInValid ? 'form-invalid' : ''}` },
|
|
17
17
|
"If you do not have your Cluster Name available, briefly explain why.",
|
|
18
18
|
' ',
|
|
@@ -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,eA0PrC;kBA1PQ,eAAe;;;AA6PxB,eAAe,eAAe,CAAC"}
|
|
@@ -240,7 +240,7 @@ function InsightsResults(props) {
|
|
|
240
240
|
}
|
|
241
241
|
return (React.createElement(React.Fragment, null,
|
|
242
242
|
!rulesState.triggerRuleNotification && caseType !== PreviousCaseTypes.FEATURE_ENHANCEMENT && (React.createElement(Alert, { isInline: true, title: t('File recommendations are ready to view'), "data-tracking-id": "inline-view-critical-solution-alert", children: React.createElement("p", null,
|
|
243
|
-
React.createElement(Trans, null, "Troubleshooting specific for your uploaded files.")) })),
|
|
243
|
+
React.createElement(Trans, null, "Troubleshooting specific for your uploaded files.")), className: "file-recommendations-file-upload-alert" })),
|
|
244
244
|
React.createElement(InsightResultModal, { EARule: validEARules, onModalToggle: insightsModalToggle, isOpen: isRuleModalVisible, insightResults: allResults })));
|
|
245
245
|
}
|
|
246
246
|
InsightsResults.defaultProps = defaultProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionRestoreCard.d.ts","sourceRoot":"","sources":["../../../../src/components/SessionRestore/SessionRestoreCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"SessionRestoreCard.d.ts","sourceRoot":"","sources":["../../../../src/components/SessionRestore/SessionRestoreCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AASnF,UAAU,MAAM;IACZ,SAAS,EAAE,CAAC,WAAW,EAAE,YAAY,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,gBAAgB,EAAE,YAAY,EAAE,CAAC;IACjC,aAAa,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,eA4B/C"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import TimesIcon from '@patternfly/react-icons/dist/js/icons/times-icon';
|
|
1
|
+
import { Alert, AlertActionCloseButton } from '@patternfly/react-core';
|
|
3
2
|
import isEmpty from 'lodash/isEmpty';
|
|
4
3
|
import map from 'lodash/map';
|
|
5
4
|
import React, { useState } from 'react';
|
|
6
|
-
import {
|
|
5
|
+
import { useTranslation } from 'react-i18next';
|
|
7
6
|
import { SessionItem } from './SessionItem';
|
|
8
7
|
export function SessionRestoreCard(props) {
|
|
8
|
+
const { t } = useTranslation();
|
|
9
9
|
const [dismissed, setDismissed] = useState(false);
|
|
10
10
|
const onCardDismiss = () => {
|
|
11
11
|
setDismissed(true);
|
|
@@ -13,15 +13,8 @@ export function SessionRestoreCard(props) {
|
|
|
13
13
|
};
|
|
14
14
|
if (dismissed || isEmpty(props.previousSessions))
|
|
15
15
|
return React.createElement(React.Fragment, null);
|
|
16
|
-
return (React.createElement("
|
|
17
|
-
React.createElement("div", { className: "pf-v5-c-alert__icon" },
|
|
18
|
-
React.createElement(BellIcon, { "aria-hidden": "true" })),
|
|
19
|
-
React.createElement("h3", { className: "pf-v5-c-alert__title" },
|
|
20
|
-
React.createElement(Trans, null, "Restore a previous session")),
|
|
16
|
+
return (React.createElement(Alert, { variant: "custom", isInline: true, title: t('Restore a previous session'), actionClose: React.createElement(AlertActionCloseButton, { onClose: onCardDismiss }), component: "h3", className: "restore-session-alert" },
|
|
21
17
|
React.createElement("div", { className: "pf-v5-c-alert__description" },
|
|
22
18
|
React.createElement("ul", { className: "restore-session-list" }, map(props.previousSessions, (sessionItem) => (React.createElement("li", { key: sessionItem.session.id },
|
|
23
|
-
React.createElement(SessionItem, { onRestore: props.onRestore, sessionItem: sessionItem }))))))
|
|
24
|
-
React.createElement("div", { className: "pf-v5-c-alert__action" },
|
|
25
|
-
React.createElement("button", { className: "pf-v5-c-button pf-m-plain", type: "button", "aria-label": "Close", onClick: onCardDismiss, "data-tracking-id": "session-restore-card-dismiss" },
|
|
26
|
-
React.createElement(TimesIcon, { "aria-hidden": "true" })))));
|
|
19
|
+
React.createElement(SessionItem, { onRestore: props.onRestore, sessionItem: sessionItem }))))))));
|
|
27
20
|
}
|
|
@@ -42,7 +42,7 @@ export default function Suggestions(props) {
|
|
|
42
42
|
(_b = accordionRef.current) === null || _b === void 0 ? void 0 : _b.collapseAll();
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
|
-
return (React.createElement("div",
|
|
45
|
+
return (React.createElement("div", { className: "top-content-suggestion-accordion" },
|
|
46
46
|
showTitleDescription && (React.createElement("div", { className: "card card-support" },
|
|
47
47
|
!isTCSearchEnabled && (React.createElement(Trans, null,
|
|
48
48
|
React.createElement("h3", { className: "card-heading popular-solutions green-card-heading" }, props.title ? props.title : t('i18nKeyPopularSolutions', 'Popular solutions and docs')))),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Suggestions/TopContent.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AAGnC,OAAO,EAAE,WAAW,EAAE,MAAM,2DAA2D,CAAC;AAaxF,UAAU,MAAM;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TopContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Suggestions/TopContent.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AAGnC,OAAO,EAAE,WAAW,EAAE,MAAM,2DAA2D,CAAC;AAaxF,UAAU,MAAM;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,MAAM,eA8I/C"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@patternfly/pfe-accordion';
|
|
2
2
|
import { pcm } from '@cee-eng/hydrajs';
|
|
3
|
-
import { Tooltip } from '@patternfly/react-core';
|
|
3
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionToggle, Tooltip } from '@patternfly/react-core';
|
|
4
4
|
import isEqual from 'lodash/isEqual';
|
|
5
5
|
import map from 'lodash/map';
|
|
6
|
-
import React from 'react';
|
|
6
|
+
import React, { useState } from 'react';
|
|
7
7
|
import { useCaseSelector } from '../../context/CaseContext';
|
|
8
8
|
import { SessionRestoreDispatchContext, SessionRestoreStateContext } from '../../context/SessionRestoreContext';
|
|
9
9
|
import { getDescriptionWOQues } from '../../reducers/CaseHelpers';
|
|
@@ -13,6 +13,7 @@ const { SessionResourceVisibility, SessionResourceSource } = pcm.preCase.session
|
|
|
13
13
|
export default function TopContent(props) {
|
|
14
14
|
const sessionRestoreDispatch = React.useContext(SessionRestoreDispatchContext);
|
|
15
15
|
const { sessionRestore: { activeSessionId, sessionResourceTracking }, } = React.useContext(SessionRestoreStateContext);
|
|
16
|
+
const [expanded, setExpanded] = useState('');
|
|
16
17
|
const { product, version, summary, issue, environment, periodicityOfIssue, timeFramesAndUrgency } = useCaseSelector((state) => ({
|
|
17
18
|
product: state.caseDetails.product,
|
|
18
19
|
version: state.caseDetails.version,
|
|
@@ -25,24 +26,42 @@ export default function TopContent(props) {
|
|
|
25
26
|
const onLinkClick = (item) => (event) => {
|
|
26
27
|
props.onResourceClick && props.onResourceClick(item);
|
|
27
28
|
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
description: getDescriptionWOQues(issue, environment, periodicityOfIssue, timeFramesAndUrgency),
|
|
36
|
-
}));
|
|
29
|
+
const onToggle = (id) => {
|
|
30
|
+
if (id === expanded) {
|
|
31
|
+
setExpanded('');
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
setExpanded(id);
|
|
35
|
+
onTopContentTabClicked(props.items);
|
|
37
36
|
}
|
|
38
37
|
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
38
|
+
// when user opens a top content tab, presented resouces are sent to session api
|
|
39
|
+
const onTopContentTabClicked = (docs) => {
|
|
40
|
+
createOrUpdateSessionResources(sessionRestoreDispatch, activeSessionId, sessionResourceTracking, SessionResourceSource.TOP_CONTENT, docs.map((doc, index) => getSessResTC(doc, SessionResourceVisibility.PRESENTED, doc.id, index)), JSON.stringify({
|
|
41
|
+
product,
|
|
42
|
+
version,
|
|
43
|
+
summary,
|
|
44
|
+
description: getDescriptionWOQues(issue, environment, periodicityOfIssue, timeFramesAndUrgency),
|
|
45
|
+
}));
|
|
46
|
+
};
|
|
47
|
+
return (React.createElement(React.Fragment, null, props.helperText ? (React.createElement(Tooltip, { content: React.createElement("div", null, props.helperText) },
|
|
48
|
+
React.createElement(Accordion, { isBordered: true },
|
|
49
|
+
React.createElement(AccordionItem, null,
|
|
50
|
+
React.createElement(AccordionToggle, { onClick: () => {
|
|
51
|
+
onToggle(`${props.topContentIndex}`);
|
|
52
|
+
}, isExpanded: expanded === `${props.topContentIndex}`, "data-tracking-id": `top-content-accordion-header-${props.topContentIndex}`, id: `${props.topContentIndex}` },
|
|
53
|
+
React.createElement("h3", null, props.name)),
|
|
54
|
+
React.createElement(AccordionContent, { id: `${props.topContentIndex}`, isHidden: expanded !== `${props.topContentIndex}` },
|
|
55
|
+
React.createElement("ul", { className: "list-flushleft", style: { listStyleType: 'disc' } }, map(props.items, (item, i) => (React.createElement("li", { key: i + item.contentTitle },
|
|
56
|
+
React.createElement("p", null,
|
|
57
|
+
React.createElement("a", { className: "se-recommended ts-top-problems", "data-tracking-id": "se-recommended-top-content", onClick: onLinkClick(item), href: `${item.contentUrl}?${RouteUtils.getSEResourceQueryParams(props.seSessionId, props.seResourceOriginID, SessionResourceSource.TOP_CONTENT)}`, target: "_blank", rel: "noopener noreferrer" }, item.contentTitle))))))))))) : (React.createElement(Accordion, { isBordered: true },
|
|
58
|
+
React.createElement(AccordionItem, null,
|
|
59
|
+
React.createElement(AccordionToggle, { onClick: () => {
|
|
60
|
+
onToggle(`${props.topContentIndex}`);
|
|
61
|
+
}, isExpanded: expanded === `${props.topContentIndex}`, "data-tracking-id": `top-content-accordion-header-${props.topContentIndex}`, id: `${props.topContentIndex}` },
|
|
62
|
+
React.createElement("h3", null, props.name)),
|
|
63
|
+
React.createElement(AccordionContent, { id: `${props.topContentIndex}`, isHidden: expanded !== `${props.topContentIndex}` },
|
|
64
|
+
React.createElement("ul", { className: "list-flushleft", style: { listStyleType: 'disc' } }, map(props.items, (item, i) => (React.createElement("li", { key: i + item.contentTitle },
|
|
65
|
+
React.createElement("p", null,
|
|
66
|
+
React.createElement("a", { className: "se-recommended ts-top-problems", "data-tracking-id": "se-recommended-top-content", onClick: onLinkClick(item), href: `${item.contentUrl}?${RouteUtils.getSEResourceQueryParams(props.seSessionId, props.seResourceOriginID, SessionResourceSource.TOP_CONTENT)}`, target: "_blank", rel: "noopener noreferrer" }, item.contentTitle))))))))))));
|
|
48
67
|
}
|
|
@@ -424,13 +424,13 @@ div#request-mgmt-escalation-modal.request-escalation-modal {
|
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
// To override font weight on reopen case modal - PCM-11644
|
|
427
|
-
|
|
427
|
+
#case-reopen-modal {
|
|
428
428
|
form.pf-v5-c-form.case-reopen-modal-form {
|
|
429
429
|
div.pf-v5-c-form__group {
|
|
430
430
|
div.pf-v5-c-form__group-label {
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
font-weight:
|
|
431
|
+
.pf-v5-c-form__label {
|
|
432
|
+
.pf-v5-c-form__label-text {
|
|
433
|
+
font-weight: 500 !important;
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
}
|
|
@@ -546,3 +546,57 @@ span.pf-v5-c-input-group__text {
|
|
|
546
546
|
font-weight: 700;
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
+
|
|
550
|
+
.pf-v5-c-accordion__expandable-content {
|
|
551
|
+
margin: 0;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.top-content-suggestion-accordion {
|
|
555
|
+
dl dt {
|
|
556
|
+
margin: 0px;
|
|
557
|
+
}
|
|
558
|
+
.pf-v5-c-accordion.pf-m-bordered {
|
|
559
|
+
margin: 0px;
|
|
560
|
+
padding: 0px;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
border: 1px solid #d2d2d2;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.pf-v5-c-alert__title {
|
|
567
|
+
margin-bottom: 0px;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.restore-session-alert {
|
|
571
|
+
.pf-v5-c-alert__icon {
|
|
572
|
+
font-size: 18px;
|
|
573
|
+
}
|
|
574
|
+
.pf-v5-c-alert__description {
|
|
575
|
+
margin-top: 0px;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
#cep-details-modal {
|
|
580
|
+
.pf-v5-c-form__label-text {
|
|
581
|
+
font-weight: 500;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.file-recommendations-file-upload-alert {
|
|
586
|
+
.pf-v5-c-alert__icon {
|
|
587
|
+
margin-top: 15px;
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.close-case-modal-form {
|
|
592
|
+
.pf-v5-c-form__label {
|
|
593
|
+
.pf-v5-c-form__label-text {
|
|
594
|
+
font-weight: 500 !important;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
ul.pf-v5-c-menu__list,
|
|
600
|
+
.pf-v5-c-modal-box__title {
|
|
601
|
+
margin-bottom: 0px;
|
|
602
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.46",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@patternfly/react-core": "5.1.1",
|
|
66
66
|
"@progress/kendo-drawing": "^1.6.0",
|
|
67
67
|
"@progress/kendo-react-pdf": "^3.12.0",
|
|
68
|
-
"@rh-support/components": "2.1.
|
|
69
|
-
"@rh-support/react-context": "2.1.
|
|
68
|
+
"@rh-support/components": "2.1.27",
|
|
69
|
+
"@rh-support/react-context": "2.1.30",
|
|
70
70
|
"@rh-support/types": "2.0.2",
|
|
71
71
|
"@rh-support/user-permissions": "2.1.19",
|
|
72
72
|
"@rh-support/utils": "2.1.12",
|
|
@@ -131,5 +131,5 @@
|
|
|
131
131
|
"defaults and supports es6-module",
|
|
132
132
|
"maintained node versions"
|
|
133
133
|
],
|
|
134
|
-
"gitHead": "
|
|
134
|
+
"gitHead": "c70ed8ffa9b5dbe8abdd50e1549e92b8af2a6f27"
|
|
135
135
|
}
|