@rh-support/troubleshoot 2.6.84 → 2.6.85
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/CaseHistory/Timeline.css +7 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.js +24 -8
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummary.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummary.js +15 -6
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.js +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.js +3 -3
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardNavigation.js +1 -2
- package/lib/esm/css/app.css +8 -0
- package/package.json +4 -4
|
@@ -319,6 +319,13 @@ ul#case-history-paginated-timeline {
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
+
.timeline-highlight {
|
|
323
|
+
background-color: #fff3cd;
|
|
324
|
+
padding: 0;
|
|
325
|
+
margin: 0;
|
|
326
|
+
border-radius: 2px;
|
|
327
|
+
}
|
|
328
|
+
|
|
322
329
|
@media screen and (max-width: 768px) {
|
|
323
330
|
.timeline::after {
|
|
324
331
|
left: 20px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseHistory/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAwBxB,OAAO,KAAsC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseHistory/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAwBxB,OAAO,KAAsC,MAAM,OAAO,CAAC;AA8W3D,QAAA,MAAM,QAAQ;;uBAyUb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -18,13 +18,27 @@ import debounce from 'lodash/debounce';
|
|
|
18
18
|
import isEmpty from 'lodash/isEmpty';
|
|
19
19
|
import React, { useEffect, useRef, useState } from 'react';
|
|
20
20
|
import { Trans, useTranslation } from 'react-i18next';
|
|
21
|
-
const
|
|
21
|
+
const CustomHighlighter = ({ search, children, highlightDate, }) => {
|
|
22
|
+
const createHighlight = (text) => React.createElement("mark", { className: "timeline-highlight" }, text);
|
|
23
|
+
if (highlightDate) {
|
|
24
|
+
return createHighlight(children);
|
|
25
|
+
}
|
|
26
|
+
if (search) {
|
|
27
|
+
const escapedSearch = search.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
28
|
+
const regex = new RegExp(`(${escapedSearch})`, 'gi');
|
|
29
|
+
const parts = children.split(regex);
|
|
30
|
+
return React.createElement(React.Fragment, null, parts.map((part, index) => (regex.test(part) ? createHighlight(part) : part)));
|
|
31
|
+
}
|
|
32
|
+
return React.createElement(React.Fragment, null, children);
|
|
33
|
+
};
|
|
34
|
+
const TimelineEvent = ({ date, text, side, user, useAvatar, searchValue, highlightDate, }) => {
|
|
22
35
|
if (side === 'left') {
|
|
23
36
|
if (useAvatar) {
|
|
24
37
|
// we render the main date if the user changes or if the date changes
|
|
25
38
|
return (React.createElement("div", { className: `${side}-node ${user}`, role: "complementary", "aria-label": `${user}'s timeline Event Time` },
|
|
26
39
|
React.createElement("div", { className: `contentTimeline content-${side}-history content-${side}-${user}` },
|
|
27
|
-
React.createElement("h2", { className: `content-date-${side}-history` },
|
|
40
|
+
React.createElement("h2", { className: `content-date-${side}-history` },
|
|
41
|
+
React.createElement(CustomHighlighter, { highlightDate: highlightDate }, date)),
|
|
28
42
|
React.createElement("p", { className: `content-time-${side}-history` }, text))));
|
|
29
43
|
}
|
|
30
44
|
return (React.createElement("div", { className: `${side}-node ${user}`, role: "complementary", "aria-label": `${user}'s timeline Event Time` },
|
|
@@ -33,14 +47,16 @@ const TimelineEvent = ({ date, text, side, user, useAvatar }) => {
|
|
|
33
47
|
}
|
|
34
48
|
return (React.createElement("div", { className: `${side}-node ${user}`, role: "complementary", "aria-label": `${user}'s timeline event content` },
|
|
35
49
|
React.createElement("div", { className: `contentTimeline content-${side}-history content-${side}-${user}` },
|
|
36
|
-
React.createElement("h2", { className: `content-date-${side}-history` },
|
|
37
|
-
|
|
50
|
+
React.createElement("h2", { className: `content-date-${side}-history` },
|
|
51
|
+
React.createElement(CustomHighlighter, { search: searchValue || '' }, date)),
|
|
52
|
+
text && (React.createElement("p", { className: `content-time-${side}-history` },
|
|
53
|
+
React.createElement(CustomHighlighter, { search: searchValue || '' }, text))))));
|
|
38
54
|
};
|
|
39
|
-
const TimelineNode = React.forwardRef(({ leftEvent, rightEvent, user, useAvatar }, ref) => {
|
|
55
|
+
const TimelineNode = React.forwardRef(({ leftEvent, rightEvent, user, useAvatar, searchValue, highlightDate }, ref) => {
|
|
40
56
|
return (React.createElement("div", { className: "timeline-node", role: "region", "aria-label": "Timeline node" },
|
|
41
|
-
leftEvent && React.createElement(TimelineEvent, Object.assign({}, leftEvent, { side: "left", useAvatar: useAvatar })),
|
|
57
|
+
leftEvent && (React.createElement(TimelineEvent, Object.assign({}, leftEvent, { side: "left", useAvatar: useAvatar, searchValue: searchValue, highlightDate: highlightDate }))),
|
|
42
58
|
React.createElement("div", { ref: ref, "aria-label": `${useAvatar ? 'User profile picture' : 'Timeline marker'}`, tabIndex: -1 }, useAvatar ? (React.createElement(Avatar, { src: 'https://www.patternfly.org/images/668560cd.svg', className: `timeline-avatar timeline-avatar-${user}`, alt: `${user}'s avatar` })) : (React.createElement("div", { className: `timeline-marker timeline-${user}` }))),
|
|
43
|
-
rightEvent && React.createElement(TimelineEvent, Object.assign({}, rightEvent, { side: "right" }))));
|
|
59
|
+
rightEvent && React.createElement(TimelineEvent, Object.assign({}, rightEvent, { side: "right", searchValue: searchValue }))));
|
|
44
60
|
});
|
|
45
61
|
/**
|
|
46
62
|
*
|
|
@@ -436,7 +452,7 @@ const Timeline = ({ caseNumber }) => {
|
|
|
436
452
|
React.createElement(Trans, null, "Try modifying your search query or changing the date range and try again."))));
|
|
437
453
|
}
|
|
438
454
|
const paginatedEvents = filteredEvents.slice((page - 1) * perPage, page * perPage);
|
|
439
|
-
return (React.createElement(React.Fragment, null, paginatedEvents.map((node, index) => (React.createElement(TimelineNode, { key: index, leftEvent: node.left, rightEvent: node.right, user: node.right.user, useAvatar: node.right.useAvatar, ref: index === paginatedEvents.length - 1 ? lastNodeRef : null })))));
|
|
455
|
+
return (React.createElement(React.Fragment, null, paginatedEvents.map((node, index) => (React.createElement(TimelineNode, { key: index, leftEvent: node.left, rightEvent: node.right, user: node.right.user, useAvatar: node.right.useAvatar, searchValue: searchValue, highlightDate: !!dateValue, ref: index === paginatedEvents.length - 1 ? lastNodeRef : null })))));
|
|
440
456
|
};
|
|
441
457
|
return (React.createElement(React.Fragment, null,
|
|
442
458
|
React.createElement("div", { className: "timelineMenu" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseSummary.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseSummary/CaseSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"CaseSummary.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseSummary/CaseSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAuB3B,OAAO,KAA0C,MAAM,OAAO,CAAC;AAO/D,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,UAAW,MAAM,sBAwLxC,CAAC"}
|
|
@@ -13,17 +13,18 @@ import { parseCommentMarkdown } from '@cee-eng/ui-toolkit';
|
|
|
13
13
|
import { Alert, AlertActionLink, AlertVariant, Content, EmptyState, EmptyStateBody, EmptyStateVariant, Spinner, } from '@patternfly/react-core';
|
|
14
14
|
import CubesIcon from '@patternfly/react-icons/dist/js/icons/cubes-icon';
|
|
15
15
|
import { SupportFeedbackModal } from '@rh-support/components';
|
|
16
|
+
import { GlobalMetadataStateContext } from '@rh-support/react-context';
|
|
16
17
|
import { getApiResourceObject } from '@rh-support/utils';
|
|
17
18
|
import { formatDate } from '@rh-support/utils/lib/esm/dateUtils';
|
|
18
19
|
import DOMPurify from 'dompurify';
|
|
19
20
|
import isEqual from 'lodash/isEqual';
|
|
20
|
-
import React, { useEffect, useState } from 'react';
|
|
21
|
+
import React, { useContext, useEffect, useState } from 'react';
|
|
21
22
|
import { Trans } from 'react-i18next';
|
|
22
23
|
import { CaseSummaryStates } from '../../../../constants/caseDetailsConstants';
|
|
23
24
|
import { useCaseSelector } from '../../../../context/CaseContext';
|
|
24
25
|
import { CaseSummaryErrorMessage } from './CaseSummaryErrorMessage';
|
|
25
26
|
export const CaseSummary = (props) => {
|
|
26
|
-
var _a, _b, _c, _d;
|
|
27
|
+
var _a, _b, _c, _d, _e, _f;
|
|
27
28
|
const [isFeedbackModalOpen, setIsFeedbackModalOpen] = useState(false);
|
|
28
29
|
const [caseSummaryData, setCaseSummaryData] = useState(getApiResourceObject(null, true));
|
|
29
30
|
const [caseSummaryState, setCaseSummaryState] = useState();
|
|
@@ -32,6 +33,8 @@ export const CaseSummary = (props) => {
|
|
|
32
33
|
caseLanguage: state.caseDetails.caseLanguage,
|
|
33
34
|
caseComments: state.caseDetails.comments,
|
|
34
35
|
}), isEqual);
|
|
36
|
+
const { globalMetadataState: { loggedInUserRights }, } = useContext(GlobalMetadataStateContext);
|
|
37
|
+
const isInternal = (_b = (_a = loggedInUserRights === null || loggedInUserRights === void 0 ? void 0 : loggedInUserRights.data) === null || _a === void 0 ? void 0 : _a.isInternal) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
35
38
|
const onCloseFeedbackModal = () => {
|
|
36
39
|
setIsFeedbackModalOpen(false);
|
|
37
40
|
};
|
|
@@ -49,6 +52,12 @@ export const CaseSummary = (props) => {
|
|
|
49
52
|
setErrorMessage('Due to its recent creation and lack of comments, a case summary cannot be generated for this case.');
|
|
50
53
|
return;
|
|
51
54
|
}
|
|
55
|
+
const publicComments = (caseComments === null || caseComments === void 0 ? void 0 : caseComments.filter((comment) => comment.isPublic)) || [];
|
|
56
|
+
if (!publicComments.length && isInternal) {
|
|
57
|
+
setCaseSummaryState(CaseSummaryStates.NEW_CASE);
|
|
58
|
+
setErrorMessage('Due to its recent creation and lack of comments, a case summary cannot be generated for this case.');
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
52
61
|
else {
|
|
53
62
|
const fetchCaseSummary = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
54
63
|
try {
|
|
@@ -91,10 +100,10 @@ export const CaseSummary = (props) => {
|
|
|
91
100
|
React.createElement("p", { className: "push-top-narrow" },
|
|
92
101
|
React.createElement(Trans, null, errorMessage))))) : caseSummaryState === CaseSummaryStates.FAILED ||
|
|
93
102
|
caseSummaryState === CaseSummaryStates.CASE_LANGUAGE_NOT_SUPPORTED ||
|
|
94
|
-
caseSummaryState === CaseSummaryStates.INPUT_COMMENTS_TOO_LARGE ? (React.createElement(CaseSummaryErrorMessage, { caseSummaryState: caseSummaryState, caseNumber: props.caseNumber, caseSummaryId: (
|
|
103
|
+
caseSummaryState === CaseSummaryStates.INPUT_COMMENTS_TOO_LARGE ? (React.createElement(CaseSummaryErrorMessage, { caseSummaryState: caseSummaryState, caseNumber: props.caseNumber, caseSummaryId: (_c = caseSummaryData.data) === null || _c === void 0 ? void 0 : _c.id, errorMessage: errorMessage, setErrorMessage: setErrorMessage })) : caseSummaryState === CaseSummaryStates.SUCCESS ? (React.createElement(React.Fragment, null,
|
|
95
104
|
React.createElement("div", { className: "ai-case-summary-container" },
|
|
96
105
|
React.createElement("h2", { className: "ai-summary-title" }, "AI Case summary"),
|
|
97
|
-
React.createElement("p", { className: "ai-summary-date" }, formatDate((
|
|
106
|
+
React.createElement("p", { className: "ai-summary-date" }, formatDate((_d = caseSummaryData.data) === null || _d === void 0 ? void 0 : _d.created_date, 'en-US', {
|
|
98
107
|
month: 'short',
|
|
99
108
|
day: 'numeric',
|
|
100
109
|
year: 'numeric',
|
|
@@ -103,9 +112,9 @@ export const CaseSummary = (props) => {
|
|
|
103
112
|
second: '2-digit',
|
|
104
113
|
hour12: true,
|
|
105
114
|
})),
|
|
106
|
-
React.createElement("div", { className: "case-summary-content" }, formatSummary((
|
|
115
|
+
React.createElement("div", { className: "case-summary-content" }, formatSummary((_e = caseSummaryData.data) === null || _e === void 0 ? void 0 : _e.generated_summary))))) : (React.createElement(EmptyState, { headingLevel: "h2", icon: Spinner, titleText: React.createElement(Trans, null, "Generating case summary using AI"), variant: EmptyStateVariant.lg },
|
|
107
116
|
React.createElement(EmptyStateBody, null,
|
|
108
117
|
React.createElement("p", { className: "push-top-narrow" },
|
|
109
118
|
React.createElement(Trans, null, "Almost there! case summary will be ready in approximately 30 seconds."))))),
|
|
110
|
-
React.createElement(SupportFeedbackModal, { isModalOpen: isFeedbackModalOpen, onClose: onCloseFeedbackModal, caseSummaryId: ((
|
|
119
|
+
React.createElement(SupportFeedbackModal, { isModalOpen: isFeedbackModalOpen, onClose: onCloseFeedbackModal, caseSummaryId: ((_f = caseSummaryData.data) === null || _f === void 0 ? void 0 : _f.id) || null, errorMessage: errorMessage, isCaseSummary: true })));
|
|
111
120
|
};
|
|
@@ -203,7 +203,7 @@ function CaseContactSelector(props) {
|
|
|
203
203
|
if (canEditCase.alert())
|
|
204
204
|
return;
|
|
205
205
|
const allSelectedContacts = [...selectedContacts];
|
|
206
|
-
const selectedCustomEmails = remove(allSelectedContacts, (item) => item.customOption || item.
|
|
206
|
+
const selectedCustomEmails = remove(allSelectedContacts, (item) => item.customOption || item.emailAddress).map((item) => item.label || item.emailAddress || item.ssoUsername);
|
|
207
207
|
yield processCustomEmails(selectedCustomEmails);
|
|
208
208
|
yield processCaseContacts(allSelectedContacts);
|
|
209
209
|
if (throwTrackEvent) {
|
|
@@ -82,13 +82,13 @@ export function NonOrgCaseNotifyeesSelector(props) {
|
|
|
82
82
|
const { ssoName } = c, rest = __rest(c, ["ssoName"]);
|
|
83
83
|
return Object.assign({ ssoUsername: ssoName }, rest);
|
|
84
84
|
});
|
|
85
|
-
(_b = props.onChange) === null || _b === void 0 ? void 0 : _b.call(props, [...
|
|
85
|
+
(_b = props.onChange) === null || _b === void 0 ? void 0 : _b.call(props, [...mappedContacts]);
|
|
86
86
|
setInputVal('');
|
|
87
87
|
setNotifyeesList([...mappedContacts, { emailAddress: notificationAddress.email }]);
|
|
88
88
|
}
|
|
89
89
|
else {
|
|
90
90
|
if (notificationAddress === null || notificationAddress === void 0 ? void 0 : notificationAddress.email) {
|
|
91
|
-
(_c = props.onChange) === null || _c === void 0 ? void 0 : _c.call(props, [
|
|
91
|
+
(_c = props.onChange) === null || _c === void 0 ? void 0 : _c.call(props, [{ emailAddress: notificationAddress.email, caseNumber: '' }]);
|
|
92
92
|
setInputVal('');
|
|
93
93
|
}
|
|
94
94
|
else if (contacts === null || contacts === void 0 ? void 0 : contacts.length) {
|
|
@@ -98,7 +98,7 @@ export function NonOrgCaseNotifyeesSelector(props) {
|
|
|
98
98
|
const { ssoName } = c, rest = __rest(c, ["ssoName"]);
|
|
99
99
|
return Object.assign({ ssoUsername: ssoName }, rest);
|
|
100
100
|
});
|
|
101
|
-
(_d = props.onChange) === null || _d === void 0 ? void 0 : _d.call(props, [...
|
|
101
|
+
(_d = props.onChange) === null || _d === void 0 ? void 0 : _d.call(props, [...mappedContacts]);
|
|
102
102
|
setInputVal('');
|
|
103
103
|
}
|
|
104
104
|
else {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardNavig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O,CAAC,KAAK,IAAI,CAAC;IACjF,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,oBAAoB,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IACrE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;IACpC,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAGD,iBAAS,gBAAgB,CAAC,KAAK,EAAE,MAAM,qBAyXtC;kBAzXQ,gBAAgB;;;AA2XzB,eAAe,gBAAgB,CAAC"}
|
|
@@ -88,8 +88,7 @@ function WizardNavigation(props) {
|
|
|
88
88
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
89
89
|
}, [activeSection]);
|
|
90
90
|
useEffect(() => {
|
|
91
|
-
if (props.activeStep.id !== (isCaseCreate ? AppRouteSections.SUMMARIZE : AppRouteSections.TROUBLESHOOT)
|
|
92
|
-
recommendationState.numFound <= 2) {
|
|
91
|
+
if (props.activeStep.id !== (isCaseCreate ? AppRouteSections.SUMMARIZE : AppRouteSections.TROUBLESHOOT)) {
|
|
93
92
|
return;
|
|
94
93
|
}
|
|
95
94
|
const observer = new IntersectionObserver(([entry]) => {
|
package/lib/esm/css/app.css
CHANGED
|
@@ -446,6 +446,14 @@ input[type='checkbox'] {
|
|
|
446
446
|
line-height: 2px;
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
+
.comment-plaintext.reset-pre-text {
|
|
450
|
+
font-family: 'Red Hat Display', 'RedHatDisplay', 'Helvetica Neue', 'Arial', 'sans-serif';
|
|
451
|
+
text-rendering: auto;
|
|
452
|
+
font-weight: 500;
|
|
453
|
+
font-size: 1.12rem;
|
|
454
|
+
line-height: 1.5em;
|
|
455
|
+
}
|
|
456
|
+
|
|
449
457
|
#additional-information-section textarea {
|
|
450
458
|
resize: none !important;
|
|
451
459
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.85",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"@progress/kendo-licensing": "1.3.5",
|
|
60
60
|
"@progress/kendo-react-pdf": "^5.16.0",
|
|
61
61
|
"@redux-devtools/extension": "^3.3.0",
|
|
62
|
-
"@rh-support/components": "2.5.
|
|
63
|
-
"@rh-support/react-context": "2.5.
|
|
62
|
+
"@rh-support/components": "2.5.59",
|
|
63
|
+
"@rh-support/react-context": "2.5.74",
|
|
64
64
|
"@rh-support/types": "2.0.5",
|
|
65
65
|
"@rh-support/user-permissions": "2.5.29",
|
|
66
66
|
"@rh-support/utils": "2.5.26",
|
|
@@ -133,5 +133,5 @@
|
|
|
133
133
|
"defaults and supports es6-module",
|
|
134
134
|
"maintained node versions"
|
|
135
135
|
],
|
|
136
|
-
"gitHead": "
|
|
136
|
+
"gitHead": "b81e0a7e6b9eee98294710206413297e15668c42"
|
|
137
137
|
}
|