@rh-support/troubleshoot 2.2.91 → 2.2.93
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/ActiveCustomerEscalation/ActiveCustomerEscalation.js +2 -2
- package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsAside.js +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.js +2 -2
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.js +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.js +1 -1
- package/lib/esm/components/CaseEditView/ShareCase/PartnerShare.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ShareCase/PartnerShare.js +3 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.js +2 -2
- package/lib/esm/components/CaseInformation/Fts.js +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.js +31 -31
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.js +13 -2
- package/lib/esm/components/Recommendations/AsideResults.d.ts +1 -0
- package/lib/esm/components/Recommendations/AsideResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/AsideResults.js +1 -1
- package/lib/esm/components/Recommendations/InsightsResults.js +1 -1
- package/lib/esm/components/Recommendations/InsightsRuleInfo.js +1 -1
- package/lib/esm/components/Recommendations/RecommendationInfoBox.js +1 -1
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.d.ts.map +1 -1
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.js +80 -20
- package/lib/esm/components/wizardLayout/WizardAside.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardAside.js +4 -4
- package/lib/esm/css/productSelector.css +2 -3
- package/lib/esm/scss/_main.scss +5 -0
- package/lib/esm/scss/_pf-overrides.scss +14 -2
- package/package.json +8 -8
package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.js
CHANGED
|
@@ -15,7 +15,7 @@ export const ActiveCustomerEscalation = forwardRef((props, ref) => {
|
|
|
15
15
|
React.createElement("p", null,
|
|
16
16
|
React.createElement(Trans, null, "After submitting, your case will be reviewed by a support manager."))));
|
|
17
17
|
const isInternalElements = (React.createElement("div", { className: "card card-white card-support escalations", ref: ref },
|
|
18
|
-
React.createElement("h3", { className: "card-heading" },
|
|
18
|
+
React.createElement("h3", { className: "card-heading case-detail-panel-card-heading" },
|
|
19
19
|
React.createElement(Trans, null, "Active Customer Escalation (ACE)"),
|
|
20
20
|
React.createElement("a", { href: "/support/escalation", target: "_blank", "aria-label": t('Learn more about Red Hat support case escalation') },
|
|
21
21
|
React.createElement(InfoCircleIcon, null))),
|
|
@@ -36,7 +36,7 @@ export const ActiveCustomerEscalation = forwardRef((props, ref) => {
|
|
|
36
36
|
setOpenRequestEscalationModal((openRequestEscalationModal) => !openRequestEscalationModal);
|
|
37
37
|
};
|
|
38
38
|
const isNotInternalElements = (React.createElement("div", { className: "card card-white card-support escalations", ref: ref },
|
|
39
|
-
React.createElement("h3", { className: "card-heading" },
|
|
39
|
+
React.createElement("h3", { className: "card-heading case-detail-panel-card-heading" },
|
|
40
40
|
t('Request an escalation'),
|
|
41
41
|
React.createElement("div", { style: { marginLeft: 'auto' } },
|
|
42
42
|
React.createElement(Popover, { showClose: false, position: 'left', hasAutoWidth: true, bodyContent: (hide) => (React.createElement("a", { href: "/support/escalation", target: "_blank", "aria-label": t('Learn more about escalation cases.') },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseDetailsAside.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/CaseDetailsAside.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAYvE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CaseDetailsAside.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/CaseDetailsAside.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAYvE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,qBAkX7C"}
|
|
@@ -188,7 +188,7 @@ export function CaseDetailsAside(props) {
|
|
|
188
188
|
React.createElement(Icon, { size: "md" },
|
|
189
189
|
React.createElement(ListIcon, null))))),
|
|
190
190
|
!caseEscalations.isFetching && (canCreateICE || (canCreateRME && isCreateRMEVisible)) && (React.createElement(Tooltip, { content: t('Request an escalation'), position: "left" },
|
|
191
|
-
React.createElement(Button, { variant: "link", className: "sidebar-section-toggle-btn", onClick: () => setSectionToScollRef(createEscalationRef) },
|
|
191
|
+
React.createElement(Button, { variant: "link", className: "sidebar-section-toggle-btn", onClick: () => setSectionToScollRef(createEscalationRef), "aria-label": t('Request an escalation') },
|
|
192
192
|
React.createElement(Icon, { size: "md" },
|
|
193
193
|
React.createElement(TrendUpIcon, null)))))))),
|
|
194
194
|
React.createElement("pfe-collapse-panel", { className: "sidebar-content", "pfe-animation": "false", id: "case-details-aside-content", ref: caseDetailsAsidePanelRef },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseDetailsTabs.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/CaseDetailsTabs.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,mBAAmB,EAAa,MAAM,kBAAkB,CAAC;AAwBlE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,mBAAmB,CAAC;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;CACnD;AACD,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CaseDetailsTabs.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/CaseDetailsTabs.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,mBAAmB,EAAa,MAAM,kBAAkB,CAAC;AAwBlE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,mBAAmB,CAAC;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;CACnD;AACD,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,qBAqN5C"}
|
|
@@ -121,9 +121,9 @@ export function CaseDetailsTabs(props) {
|
|
|
121
121
|
React.createElement(TextContent, { className: "show-in-pdf pf-v5-u-mt-md" },
|
|
122
122
|
React.createElement(Text, { component: TextVariants.h2 },
|
|
123
123
|
React.createElement(Trans, null, tab.title))),
|
|
124
|
-
tab.component)))) : isExportingPDF ? (React.createElement(React.Fragment, null,
|
|
124
|
+
tab.component)))) : isExportingPDF && isTabVisibleInPdfExport(tab) ? (React.createElement(React.Fragment, null,
|
|
125
125
|
React.createElement("div", { className: "page-break" }),
|
|
126
|
-
React.createElement(TabContent, { eventKey: index, key: tab.key, id: `pf-tab-${index}-${tab.title.split(' ')[0]}-tabpanel`, ref: tab.ref, "aria-label": tab.title
|
|
126
|
+
React.createElement(TabContent, { eventKey: index, key: tab.key, id: `pf-tab-${index}-${tab.title.split(' ')[0]}-tabpanel`, ref: tab.ref, "aria-label": tab.title },
|
|
127
127
|
React.createElement(ErrorBoundary, { errorMsgInfo: {
|
|
128
128
|
message: t(`There was an error loading case ${tab.key}`),
|
|
129
129
|
} },
|
|
@@ -309,7 +309,7 @@ export const CaseSolutions = forwardRef((props, ref) => {
|
|
|
309
309
|
{ title: '10', value: 10 },
|
|
310
310
|
] }))))),
|
|
311
311
|
topRecommendations.length > 0 && (React.createElement("div", { className: "card card-white card-support recommendations", ref: ref },
|
|
312
|
-
React.createElement("h3", { className: "card-heading
|
|
312
|
+
React.createElement("h3", { className: "card-heading case-detail-panel-card-heading" },
|
|
313
313
|
React.createElement(Trans, null, "Knowledgebase recommendations")),
|
|
314
314
|
React.createElement("div", { className: "card-body" },
|
|
315
315
|
React.createElement(PaginatedList, { id: "case-details-top-recommendations", className: "list-icons list-icons-flush", listItems: topRecommendations
|
|
@@ -29,7 +29,7 @@ export const ESSRemoteSession = forwardRef((props, ref) => {
|
|
|
29
29
|
const termsAcked = remoteSessionTermsAcked && !screenSessionRequested;
|
|
30
30
|
// ESS RS Aside Section Body
|
|
31
31
|
const ESSRemoteSessionSectionBody = (React.createElement("div", { className: "card card-white card-support escalations", ref: ref },
|
|
32
|
-
React.createElement("h3", { className: "card-heading pf-v5-u-display-flex pf-v5-u-justify-content-space-between" },
|
|
32
|
+
React.createElement("h3", { className: "card-heading case-detail-panel-card-heading pf-v5-u-display-flex pf-v5-u-justify-content-space-between" },
|
|
33
33
|
t('Remote session'),
|
|
34
34
|
React.createElement(Popover, { "aria-label": t('Remote Session Helper Info'), bodyContent: t('A remote session allows support engineers to view or access your computer to simplify collaboration and troubleshooting.'), footerContent: React.createElement("a", { href: "/articles/3566571", target: "_blank", rel: "noopener noreferrer", "aria-label": t('Read more about remote sessions') }, t('Read more about remote sessions')) },
|
|
35
35
|
React.createElement(InfoCircleIcon, null))),
|
|
@@ -20,7 +20,7 @@ export const RemoteSessionAgreement = forwardRef((props, ref) => {
|
|
|
20
20
|
};
|
|
21
21
|
// RSA Aside Section Body
|
|
22
22
|
const RemoteSessionAgreementSectionBody = (React.createElement("div", { className: "card card-white card-support escalations", ref: ref },
|
|
23
|
-
React.createElement("h3", { className: "card-heading pf-v5-u-display-flex pf-v5-u-justify-content-space-between" },
|
|
23
|
+
React.createElement("h3", { className: "card-heading pf-v5-u-display-flex pf-v5-u-justify-content-space-between case-detail-panel-card-heading" },
|
|
24
24
|
t('Remote session agreement'),
|
|
25
25
|
React.createElement(Popover, { "aria-label": t('Remote Session Helper Info'), bodyContent: t('Before Red Hat logs into your systems to analyze your support issue during a remote session, Red Hat needs your approval and authorization for such remote access'), footerContent: React.createElement("a", { href: "/articles/3566571", target: "_blank", rel: "noopener noreferrer", "aria-label": t('Read more about remote sessions') }, t('Read more about remote sessions')) },
|
|
26
26
|
React.createElement(InfoCircleIcon, null))),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartnerShare.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/ShareCase/PartnerShare.tsx"],"names":[],"mappings":"AAYA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAKvD,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC;IAChC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PartnerShare.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/ShareCase/PartnerShare.tsx"],"names":[],"mappings":"AAYA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAKvD,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC;IAChC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,qBAyH7C"}
|
|
@@ -102,9 +102,9 @@ export function ShareWithPartner(props) {
|
|
|
102
102
|
return null;
|
|
103
103
|
}
|
|
104
104
|
return (React.createElement("div", { className: `form-group` },
|
|
105
|
-
React.createElement("label", { "html-for": "share-with-partner" },
|
|
106
|
-
React.createElement(Trans, null, "Share with partner")
|
|
107
|
-
|
|
105
|
+
React.createElement("label", { className: "react-typeahead-label-wrapper", "html-for": "share-with-partner" },
|
|
106
|
+
React.createElement(Trans, null, "Share with partner"),
|
|
107
|
+
React.createElement(Typeahead, { id: "share-with-partner", labelKey: (option) => `${option.accountName} (${option.accountNumber})`, multiple: false, filterBy: ['accountName', 'accountNumber'], options: partners.eligiblePartners, onChange: onPartnerSelect, selected: selected, disabled: partners.savedPartners.length > 0, "data-tracking-id": "share-with-partner", className: "partner-share-bootstrap-typeahead" })),
|
|
108
108
|
TnCUrl && (React.createElement("a", { href: TnCUrl, className: "btn btn-app btn-info" },
|
|
109
109
|
React.createElement(Trans, null, "Share")))));
|
|
110
110
|
}
|
package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CasePhoneNumberConfirmAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAUpD,UAAU,MAAM;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;CACnD;AAED,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CasePhoneNumberConfirmAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAUpD,UAAU,MAAM;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;CACnD;AAED,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,qBAoGxD"}
|
|
@@ -53,13 +53,13 @@ export function CaseContactPhoneNumberAlert(props) {
|
|
|
53
53
|
const NEW_OWNER_MSG = 'You are the new owner for this case. Is the new phone number correct?';
|
|
54
54
|
if (!isPhoneNeedsReview)
|
|
55
55
|
return React.createElement(React.Fragment, null);
|
|
56
|
-
return (React.createElement(React.Fragment, null, props.isReview && !isExportingPDF ? (React.createElement(Alert, { className: "pf-v5-u-mb-md", isInline: true, variant: AlertVariant.warning, title: t('Review phone number'), actionLinks: [
|
|
56
|
+
return (React.createElement(React.Fragment, null, props.isReview && !isExportingPDF ? (React.createElement(Alert, { className: "pf-v5-u-mb-md", isInline: true, variant: AlertVariant.warning, title: t('Review phone number'), component: "p", actionLinks: [
|
|
57
57
|
React.createElement(Link, { replace: true, to: {
|
|
58
58
|
pathname: `/case/${caseNumber}/management`,
|
|
59
59
|
}, onClick: () => goToPhoneField(), "data-tracking-id": "case-contact-phone-number-review" },
|
|
60
60
|
React.createElement(Trans, null, "Review phone number")),
|
|
61
61
|
] },
|
|
62
|
-
React.createElement(Trans, null, NEW_OWNER_MSG))) : props.isConfirm && !isExportingPDF ? (React.createElement(Alert, { isInline: true, className: "pf-v5-u-mb-md", variant: AlertVariant.warning, title: t('Review phone number'), actionLinks: [
|
|
62
|
+
React.createElement(Trans, null, NEW_OWNER_MSG))) : props.isConfirm && !isExportingPDF ? (React.createElement(Alert, { isInline: true, className: "pf-v5-u-mb-md", variant: AlertVariant.warning, title: t('Review phone number'), component: "p", actionLinks: [
|
|
63
63
|
React.createElement(Button, { variant: ButtonVariant.link, isInline: true, onClick: () => onCaseDetailsChange({ suppliedPhoneNumberVerified: 'True' }), "data-tracking-id": "case-contact-phone-number-confirm", isLoading: isCaseUpdating, isDisabled: isCaseUpdating },
|
|
64
64
|
React.createElement(Trans, null, "Confirm phone number")),
|
|
65
65
|
] },
|
package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CasePhoneNumberSev1ConfirmAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAUpD,UAAU,MAAM;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;CACnD;AAMD,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CasePhoneNumberSev1ConfirmAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAUpD,UAAU,MAAM;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;CACnD;AAMD,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,qBAoG5D"}
|
|
@@ -57,13 +57,13 @@ export function CasePhoneNumberSev1ConfirmAlert(props) {
|
|
|
57
57
|
const SEV1_MSG = 'This case severity is urgent. Please confirm the phone number we have on file is correct.';
|
|
58
58
|
if (!isPhoneNeedsConfirm)
|
|
59
59
|
return React.createElement(React.Fragment, null);
|
|
60
|
-
return (React.createElement(React.Fragment, null, props.isReview && !isExportingPDF ? (React.createElement(Alert, { className: "pf-v5-u-mb-md", isInline: true, variant: AlertVariant.warning, title: t('Review phone number'), actionLinks: [
|
|
60
|
+
return (React.createElement(React.Fragment, null, props.isReview && !isExportingPDF ? (React.createElement(Alert, { className: "pf-v5-u-mb-md", isInline: true, variant: AlertVariant.warning, title: t('Review phone number'), component: "p", actionLinks: [
|
|
61
61
|
React.createElement(Link, { replace: true, to: {
|
|
62
62
|
pathname: `/case/${caseNumber}/management`,
|
|
63
63
|
}, onClick: () => goToPhoneField(), "data-tracking-id": "case-contact-phone-number-review" },
|
|
64
64
|
React.createElement(Trans, null, "Review phone number")),
|
|
65
65
|
] },
|
|
66
|
-
React.createElement(Trans, null, SEV1_MSG))) : props.isConfirm && !isExportingPDF ? (React.createElement(Alert, { isInline: true, className: "pf-v5-u-mb-md", variant: AlertVariant.warning, title: t('Review phone number'), actionLinks: [
|
|
66
|
+
React.createElement(Trans, null, SEV1_MSG))) : props.isConfirm && !isExportingPDF ? (React.createElement(Alert, { isInline: true, className: "pf-v5-u-mb-md", variant: AlertVariant.warning, title: t('Review phone number'), component: "p", actionLinks: [
|
|
67
67
|
React.createElement(Button, { variant: ButtonVariant.link, isInline: true, onClick: () => onCaseDetailsChange({ suppliedPhoneNumberVerified: 'True' }), "data-tracking-id": "case-contact-phone-number-confirm", isLoading: isCaseUpdating, isDisabled: isCaseUpdating },
|
|
68
68
|
React.createElement(Trans, null, "Confirm phone number")),
|
|
69
69
|
] },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseComments.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AA8BvE,OAAO,KAA+B,MAAM,OAAO,CAAC;AAQpD,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAClF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,kBAAkB,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAChH;AAED,QAAA,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"CaseComments.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AA8BvE,OAAO,KAA+B,MAAM,OAAO,CAAC;AAQpD,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAClF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,kBAAkB,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAChH;AAED,QAAA,MAAM,YAAY,4EA4ThB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -76,7 +76,7 @@ const CaseComments = React.forwardRef((props, ref) => {
|
|
|
76
76
|
React.createElement(Tooltip, { position: TooltipPosition.top, content: t('Neutral feedback') },
|
|
77
77
|
React.createElement("button", { className: "btn btn-app btn-link", onClick: applyCommentFeedback(comment, 0), "data-tracking-id": "case-comment-feedback-neutral" }, feedback === 0 ? (React.createElement(MehIcon, { title: t('Remove neutral feedback') })) : (React.createElement(OutlinedMehIcon, { title: t('Leave neutral feedback') })))),
|
|
78
78
|
React.createElement(Tooltip, { position: TooltipPosition.top, content: t('Negative feedback') },
|
|
79
|
-
React.createElement("button", { className: "btn btn-app btn-link", onClick: applyCommentFeedback(comment, -1), "data-tracking-id": "case-comment-feedback-down" }, feedback === -1 ? (React.createElement(FrownIcon, { "aria-label": t('Remove negative feedback') })) : (React.createElement(OutlinedFrownIcon, { "aria-label": t('Leave negative feedback') }))))));
|
|
79
|
+
React.createElement("button", { className: "btn btn-app btn-link", onClick: applyCommentFeedback(comment, -1), "data-tracking-id": "case-comment-feedback-down" }, feedback === -1 ? (React.createElement(FrownIcon, { title: t('Remove negative feedback'), "aria-label": t('Remove negative feedback') })) : (React.createElement(OutlinedFrownIcon, { title: t('Leave negative feedback'), "aria-label": t('Leave negative feedback') }))))));
|
|
80
80
|
const computeDiscussionCardCalss = (comment) => {
|
|
81
81
|
if (comment.createdByType === 'Associate' && comment.createdBy === 'Automated Support Assistant') {
|
|
82
82
|
return 'comment-automated';
|
|
@@ -133,7 +133,7 @@ const CaseComments = React.forwardRef((props, ref) => {
|
|
|
133
133
|
return { __html: DOMPurify.sanitize(text) };
|
|
134
134
|
};
|
|
135
135
|
const commentMarkdown = (markdown) => {
|
|
136
|
-
const htmlString = parseCommentMarkdown(markdown, { showButtonForAttachmentLink: true }, { openLinksInNewTab: true, gfm: true, breaks: true });
|
|
136
|
+
const htmlString = parseCommentMarkdown(markdown, { showButtonForAttachmentLink: true, disableImagePreview: isExportingPDF }, { openLinksInNewTab: true, gfm: true, breaks: true });
|
|
137
137
|
return { __html: DOMPurify.sanitize(htmlString) };
|
|
138
138
|
};
|
|
139
139
|
const onCommentAreaClick = (e) => {
|
|
@@ -134,7 +134,7 @@ function Fts(props) {
|
|
|
134
134
|
// To disable save button if field is empty or is updating
|
|
135
135
|
const isSaveDisabled = contactInfo24X7State === contactInfo24x7 || isFtsContactUpdating;
|
|
136
136
|
return (React.createElement(React.Fragment, null,
|
|
137
|
-
React.createElement("div", { className: "form-group pf-v5-u-mb-
|
|
137
|
+
React.createElement("div", { className: "form-group pf-v5-u-mb-xs" },
|
|
138
138
|
React.createElement("input", { type: "checkbox", id: "get-support-fts", "data-tracking-id": "get-support-fts", disabled: disableFtsNContact, name: "get-support-fts", checked: fts, onChange: onFtsChange }),
|
|
139
139
|
React.createElement("label", { htmlFor: "get-support-fts" },
|
|
140
140
|
React.createElement(Trans, null, "24x7 Support")),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseContactSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseManagement/SendNotifications/CaseContactSelector.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAgBvE,MAAM,WAAW,MAAM;CAAG;AAG1B,iBAAS,mBAAmB,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CaseContactSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseManagement/SendNotifications/CaseContactSelector.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAgBvE,MAAM,WAAW,MAAM;CAAG;AAG1B,iBAAS,mBAAmB,CAAC,KAAK,EAAE,MAAM,qBAmbzC;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -249,36 +249,36 @@ function CaseContactSelector(props) {
|
|
|
249
249
|
if (!canSeeEmailNotifications)
|
|
250
250
|
return React.createElement(React.Fragment, null);
|
|
251
251
|
return (React.createElement("div", { className: "form-group pf-v5-u-mb-md" },
|
|
252
|
-
React.createElement("label", { htmlFor: "get-support-notifications" },
|
|
253
|
-
React.createElement(Trans, null, "Send notifications")
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
252
|
+
React.createElement("label", { className: "react-typeahead-label-wrapper", htmlFor: "get-support-notifications" },
|
|
253
|
+
React.createElement(Trans, null, "Send notifications"),
|
|
254
|
+
loggedInUserRights.data.isOrgAdmin() ? (React.createElement(React.Fragment, null,
|
|
255
|
+
React.createElement("div", { "data-tracking-id": "send-notification-listbox" },
|
|
256
|
+
React.createElement(CaseContactsSelectorExternal, { loggedInUserRights: loggedInUserRights.data, selectedAccountNumber: accountNumber, selected: [
|
|
257
|
+
...customEmailsList.data,
|
|
258
|
+
...filter(selectedNotificationContacts, (c) => !c.isInternal),
|
|
259
|
+
], contactsToExclude: !isEmpty(selectedOwner.data) ? [selectedOwner.data] : [], onChange: onNotifiedUserChange, clearButton: true, multiple: true, placeholder: t(`Search for an email address or username of the person you want to notify`), id: "open-case-notifications", name: "open-case-notifications", className: "react-select-custom", renderToken: renderToken, isUpdating: isAssociatesUpdating || customEmailsList.isFetching || isUpdatingCustomEmails, isExportingPDF: isExportingPDF, allowNew: onAddNew, newSelectionPrefix: t('Add to your account: '), customEmails: accountCustomEmails.data || [] })),
|
|
260
|
+
!showGroupPermissionError && !showAccountPermissionError && (React.createElement("p", { className: "form-instructions" },
|
|
261
|
+
React.createElement(Trans, null, "Include someone from your account to inform about the status of this case."))),
|
|
262
|
+
showGroupPermissionError && !isExportingPDF && (React.createElement("p", { className: "form-instructions form-invalid" }, loggedInUserRights.data.isOrgAdmin() && (React.createElement(Trans, null,
|
|
263
|
+
"Please",
|
|
264
|
+
' ',
|
|
265
|
+
React.createElement(Button, { variant: "link", isInline: true, component: "span", onClick: onAddContactToGroupBtnClick }, "add this person to the selected group"),
|
|
266
|
+
' ',
|
|
267
|
+
"if you want to send notifications about this case.")))),
|
|
268
|
+
showAccountPermissionError && !isExportingPDF && (React.createElement("p", { className: "form-instructions form-invalid" }, loggedInUserRights.data.isOrgAdmin() && (React.createElement(Trans, null,
|
|
269
|
+
emailToAdd,
|
|
270
|
+
" is not listed under your account. You can always",
|
|
271
|
+
' ',
|
|
272
|
+
React.createElement(Button, { variant: "link", isInline: true, component: "span", onClick: onAddEmailToAccountBtnClick }, "add them at the account level"))))),
|
|
273
|
+
caseNumber && showAddWatchButton() && !isExportingPDF && (React.createElement(Button, { variant: "secondary", onClick: addCurrentUser, type: "button", "data-tracking-id": "case-add-me-watcher" },
|
|
274
|
+
React.createElement(Trans, null, "Add me as a watcher"))),
|
|
275
|
+
caseNumber && showRemoveWatchButton() && !isExportingPDF && (React.createElement("div", { ref: toolTipRef, className: "remove-me-as-watcher pf-v5-u-display-inline-block" }, isCurrentUserCaseContact ? (React.createElement(React.Fragment, null,
|
|
276
|
+
React.createElement(Tooltip, { trigger: 'mouseenter focus', triggerRef: toolTipRef, position: TooltipPosition.top, content: React.createElement(Trans, null, "You are case contact and therefore you cannot be removed as watcher") }),
|
|
277
|
+
React.createElement(Button, { variant: "tertiary", onClick: removeCurrentUser, type: "button", isDisabled: true, "data-tracking-id": "case-remove-me-watcher" },
|
|
278
|
+
React.createElement(Trans, null, "Remove me as a watcher")))) : (React.createElement(Button, { variant: "secondary", onClick: removeCurrentUser, type: "button", "data-tracking-id": "case-remove-me-watcher" },
|
|
279
|
+
React.createElement(Trans, null, "Remove me as a watcher"))))))) : (React.createElement(NonOrgCaseNotifyeesSelector, { id: "open-case-notifications", placeholder: "Enter an email address or username for the person you want to notify", isDisabled: isAssociatesUpdating || customEmailsList.isFetching || isUpdatingCustomEmails, selectedItems: [
|
|
280
|
+
...customEmailsList.data,
|
|
281
|
+
...filter(selectedNotificationContacts, (c) => !c.isInternal),
|
|
282
|
+
], dataTrackingId: "non-org-admin-contact-selector", onChange: onNotifiedUserChange, isChipDisabled: !isCurrentUserCaseCreator && !!caseNumber, accountNumber: accountNumber, groupNumber: groupNumber, typeaheadRef: nonOrgTypeaheadRef, contactSsoUsername: contactSsoUsername })))));
|
|
283
283
|
}
|
|
284
284
|
export default CaseContactSelector;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewProductDropdownSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/ProductSelector/NewProductDropdownSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAMpE,OAAO,KAA0C,MAAM,OAAO,CAAC;AAK/D,UAAU,MAAM;IACZ,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;IAChC,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,GAAG,CAAC;IAC1C,qCAAqC,EAAE,OAAO,CAAC;IAC/C,YAAY,EAAE,OAAO,CAAC;CACzB;
|
|
1
|
+
{"version":3,"file":"NewProductDropdownSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/ProductSelector/NewProductDropdownSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAMpE,OAAO,KAA0C,MAAM,OAAO,CAAC;AAK/D,UAAU,MAAM;IACZ,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;IAChC,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,GAAG,CAAC;IAC1C,qCAAqC,EAAE,OAAO,CAAC;IAC/C,YAAY,EAAE,OAAO,CAAC;CACzB;AAOD,eAAO,MAAM,0BAA0B,UAAW,MAAM,sBAqHvD,CAAC"}
|
|
@@ -4,12 +4,17 @@ import { GlobalMetadataStateContext } from '@rh-support/react-context';
|
|
|
4
4
|
import isEmpty from 'lodash/isEmpty';
|
|
5
5
|
import isEqual from 'lodash/isEqual';
|
|
6
6
|
import React, { useContext, useEffect, useState } from 'react';
|
|
7
|
-
import { useTranslation } from 'react-i18next';
|
|
7
|
+
import { Trans, useTranslation } from 'react-i18next';
|
|
8
8
|
import { useCaseSelector } from '../../context/CaseContext';
|
|
9
|
+
const isProductSupportedForCustomer = (productName, productResults) => {
|
|
10
|
+
const foundItem = productResults.filter((item) => item.name === productName)[0];
|
|
11
|
+
return foundItem ? foundItem.supportedForCustomer : false;
|
|
12
|
+
};
|
|
9
13
|
export const NewProductDropdownSelector = (props) => {
|
|
10
14
|
const { t } = useTranslation();
|
|
11
15
|
const [isOpen, setIsOpen] = useState(false);
|
|
12
16
|
const [showValidationLocal, setShowValidationLocal] = useState(props.isNextBtnClickedToShowValidationError);
|
|
17
|
+
const [isSelectedProductSupportedForCustomer, setIsSelectedProductSupportedForCustomer] = useState(true);
|
|
13
18
|
const { product } = useCaseSelector((state) => ({
|
|
14
19
|
product: state.caseDetails.product,
|
|
15
20
|
}), isEqual);
|
|
@@ -59,9 +64,15 @@ export const NewProductDropdownSelector = (props) => {
|
|
|
59
64
|
setIsOpen(false);
|
|
60
65
|
return;
|
|
61
66
|
}
|
|
67
|
+
selection &&
|
|
68
|
+
setIsSelectedProductSupportedForCustomer(isProductSupportedForCustomer(selection, allProducts.data.productsResult));
|
|
62
69
|
props.onProductChange(selection);
|
|
63
70
|
setIsOpen(false);
|
|
64
71
|
};
|
|
65
72
|
return (React.createElement("div", null,
|
|
66
|
-
React.createElement(Select, { variant: SelectVariant.typeahead, typeAheadAriaLabel: t('Search for or select a product'), onToggle: (_event, isOpen) => onToggle(isOpen), onSelect: onSelect, isOpen: isOpen, placeholderText: t('Search for or select a product'), "aria-labelledby": t('Product-selector'), onFilter: onFilter, selections: product, validated: isEmpty(product) && showValidationLocal ? 'error' : 'default', "data-tracking-id": "get-support-product-dropdown-selector" }, getOptions())
|
|
73
|
+
React.createElement(Select, { variant: SelectVariant.typeahead, typeAheadAriaLabel: t('Search for or select a product'), onToggle: (_event, isOpen) => onToggle(isOpen), onSelect: onSelect, isOpen: isOpen, placeholderText: t('Search for or select a product'), "aria-labelledby": t('Product-selector'), onFilter: onFilter, selections: product, validated: isEmpty(product) && showValidationLocal ? 'error' : 'default', "data-tracking-id": "get-support-product-dropdown-selector" }, getOptions()),
|
|
74
|
+
!isSelectedProductSupportedForCustomer && (React.createElement("div", { className: "pf-v5-u-ml-xs pf-v5-u-mt-sm" },
|
|
75
|
+
React.createElement(Trans, null, "Red Hat must confirm your subscription status before providing support."),
|
|
76
|
+
React.createElement("br", null),
|
|
77
|
+
React.createElement(Trans, null, "We'll contact you if we have question.")))));
|
|
67
78
|
};
|
|
@@ -3,6 +3,7 @@ import { RouteComponentProps } from 'react-router-dom';
|
|
|
3
3
|
import { IRouteUrlParams } from '../../reducers/RouteConstNTypes';
|
|
4
4
|
interface IProps {
|
|
5
5
|
routeProps: RouteComponentProps<IRouteUrlParams>;
|
|
6
|
+
className?: string;
|
|
6
7
|
}
|
|
7
8
|
export declare function AsideResults(props: IProps): React.JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AsideResults.d.ts","sourceRoot":"","sources":["../../../../src/components/Recommendations/AsideResults.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AASvD,OAAO,EAAE,eAAe,EAAsC,MAAM,iCAAiC,CAAC;AAUtG,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"AsideResults.d.ts","sourceRoot":"","sources":["../../../../src/components/Recommendations/AsideResults.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AASvD,OAAO,EAAE,eAAe,EAAsC,MAAM,iCAAiC,CAAC;AAUtG,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,qBA0MzC"}
|
|
@@ -130,7 +130,7 @@ export function AsideResults(props) {
|
|
|
130
130
|
const isIdea = caseType === PreviousCaseTypes.FEATURE_ENHANCEMENT;
|
|
131
131
|
if (!canShowSideRecommendations())
|
|
132
132
|
return React.createElement(React.Fragment, null);
|
|
133
|
-
return (React.createElement("div", { className:
|
|
133
|
+
return (React.createElement("div", { className: `card card-white card-support top-recommendations ${props.className ? props.className : ''}` },
|
|
134
134
|
React.createElement("h3", { className: "card-heading popular-solutions green-card-heading" }, isIdea ? (React.createElement(Trans, null, "Search recommendations")) : (React.createElement(Trans, null, "Live troubleshooting powered by OpenShift AI"))),
|
|
135
135
|
React.createElement("div", { className: "card-body" },
|
|
136
136
|
React.createElement("ul", { className: "list-flat" }, recommendationState.sideRecommendation.map((doc, index) => {
|
|
@@ -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, variant: "custom", 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.")), className: "
|
|
243
|
+
React.createElement(Trans, null, "Troubleshooting specific for your uploaded files.")), className: "pf-v5-u-mb-md" })),
|
|
244
244
|
React.createElement(InsightResultModal, { EARule: validEARules, onModalToggle: insightsModalToggle, isOpen: isRuleModalVisible, insightResults: allResults })));
|
|
245
245
|
}
|
|
246
246
|
InsightsResults.defaultProps = defaultProps;
|
|
@@ -27,7 +27,7 @@ export function InsightsRuleInfo({ doc, showNewTag, duplicateKeys }) {
|
|
|
27
27
|
if (!isEmpty(selectedLocalFiles)) {
|
|
28
28
|
const { analysisMetadata, name } = selectedLocalFiles.find((file) => file.attachmentId === doc.attachmentId);
|
|
29
29
|
const { kcsIdRuleMap = {}, rules = {} } = analysisMetadata === null || analysisMetadata === void 0 ? void 0 : analysisMetadata.analysisResults;
|
|
30
|
-
if (!kcsIdRuleMap[doc.id]) {
|
|
30
|
+
if (!doc.id || !kcsIdRuleMap[doc.id]) {
|
|
31
31
|
return;
|
|
32
32
|
}
|
|
33
33
|
const { report, ruleId, isNew } = kcsIdRuleMap[doc.id];
|
|
@@ -4,7 +4,7 @@ import { Trans } from 'react-i18next';
|
|
|
4
4
|
export const RecommendationInfoBox = () => {
|
|
5
5
|
const [isExpanded, setIsExpanded] = useState(true);
|
|
6
6
|
return (React.createElement(React.Fragment, null,
|
|
7
|
-
React.createElement(Accordion, { isBordered: true, asDefinitionList: false, className: "
|
|
7
|
+
React.createElement(Accordion, { isBordered: true, asDefinitionList: false, className: "pf-v5-u-mb-md" },
|
|
8
8
|
React.createElement(AccordionItem, null,
|
|
9
9
|
React.createElement(AccordionToggle, { id: "recommendation-tips", isExpanded: isExpanded, onClick: () => setIsExpanded(!isExpanded) },
|
|
10
10
|
React.createElement(Trans, null, "Tips for problem description field")),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateSeverityModal.d.ts","sourceRoot":"","sources":["../../../../src/components/UpdateSeverityModal/UpdateSeverityModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UpdateSeverityModal.d.ts","sourceRoot":"","sources":["../../../../src/components/UpdateSeverityModal/UpdateSeverityModal.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAoB3E,UAAU,MAAM;IACZ,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,MAAM,qBAifxD"}
|
|
@@ -11,7 +11,8 @@ import { publicApi } from '@cee-eng/hydrajs';
|
|
|
11
11
|
import { Button, Modal, TextArea } from '@patternfly/react-core';
|
|
12
12
|
import { Dropdown, ToastNotification, useFetch } from '@rh-support/components';
|
|
13
13
|
import { GlobalMetadataStateContext, useCanEditCase } from '@rh-support/react-context';
|
|
14
|
-
import { autoEnableFtsOnCaseViewEditPage, severitySort, showFtsOnCreateCasePage, toOption, toOptions, } from '@rh-support/utils';
|
|
14
|
+
import { autoEnableFtsOnCaseViewEditPage, isFtsEditableOnEditPage, isSev1, severitySort, showFtsOnCreateCasePage, toOption, toOptions, } from '@rh-support/utils';
|
|
15
|
+
import { isUndefined } from 'lodash';
|
|
15
16
|
import find from 'lodash/find';
|
|
16
17
|
import includes from 'lodash/includes';
|
|
17
18
|
import isEmpty from 'lodash/isEmpty';
|
|
@@ -35,7 +36,7 @@ export default function UpdateSeverityModal(props) {
|
|
|
35
36
|
const [caseOverviewState, caseOverviewDispatch] = useReducer(caseOverviewReducer, initialCaseViewState);
|
|
36
37
|
const caseDispatch = useCaseDispatch();
|
|
37
38
|
const canEditCase = useCanEditCase();
|
|
38
|
-
const [
|
|
39
|
+
const [updatedCaseDetails, setUpdatedCaseDetails] = useState({});
|
|
39
40
|
const [isSeverityInValid, setIsSeverityInValid] = useState(false);
|
|
40
41
|
const [seviritiesOptions, setSeveritiesOptions] = useState([]);
|
|
41
42
|
const [doNotShowIRT, setDoNotShowIRT] = useState(false);
|
|
@@ -54,13 +55,19 @@ export default function UpdateSeverityModal(props) {
|
|
|
54
55
|
product: state.caseDetails.product,
|
|
55
56
|
version: state.caseDetails.version,
|
|
56
57
|
entitlementSla: state.caseDetails.entitlementSla,
|
|
58
|
+
fts: state.caseDetails.fts,
|
|
59
|
+
contactInfo24x7: state.caseDetails.contactInfo24x7,
|
|
57
60
|
},
|
|
58
61
|
isCaseUpdating: state.isCaseUpdating,
|
|
59
62
|
versionsDetails: state.versionsDetails,
|
|
60
63
|
ownersEntitlements: state.ownersEntitlements,
|
|
61
64
|
}), isEqual);
|
|
62
65
|
const { caseDetails, isCaseUpdating, ownersEntitlements, versionsDetails } = caseState;
|
|
66
|
+
const { entitlementSla, fts, contactInfo24x7 } = caseDetails;
|
|
63
67
|
const [currentSeverity, setCurrentSeverity] = useState(caseDetails.caseSeverity);
|
|
68
|
+
const [localFtsContact, setLocalFtsContact] = useState(contactInfo24x7 || '');
|
|
69
|
+
const [localFts, setLocalFts] = useState(isUndefined(fts) ? true : fts);
|
|
70
|
+
const isFtsEditable = isFtsEditableOnEditPage(entitlementSla, currentSeverity);
|
|
64
71
|
const getAdditionalInfo = (sla, severity) => {
|
|
65
72
|
if (doNotShowIRT)
|
|
66
73
|
return React.createElement(React.Fragment, null);
|
|
@@ -89,6 +96,8 @@ export default function UpdateSeverityModal(props) {
|
|
|
89
96
|
};
|
|
90
97
|
return sevItem;
|
|
91
98
|
});
|
|
99
|
+
const onlyFtsInfoChanged = isEqual(caseDetails.caseSeverity, currentSeverity) &&
|
|
100
|
+
(!isEqual(caseDetails.fts, localFts) || !isEqual(caseDetails.contactInfo24x7, localFtsContact));
|
|
92
101
|
// To set the current selected severity
|
|
93
102
|
let selectedSeverity = {
|
|
94
103
|
name: currentSeverity,
|
|
@@ -139,21 +148,40 @@ export default function UpdateSeverityModal(props) {
|
|
|
139
148
|
const handleTextAreaChange = (value) => {
|
|
140
149
|
setDescriptionValue(value);
|
|
141
150
|
};
|
|
151
|
+
const updateCaseFtsInfo = () => __awaiter(this, void 0, void 0, function* () {
|
|
152
|
+
try {
|
|
153
|
+
yield updateCaseDetails(caseDispatch, caseDetails.caseNumber, {
|
|
154
|
+
fts: localFts,
|
|
155
|
+
contactInfo24x7: localFtsContact,
|
|
156
|
+
});
|
|
157
|
+
ToastNotification.addSuccessMessage(t(`Case has been successfully updated`));
|
|
158
|
+
}
|
|
159
|
+
catch (err) {
|
|
160
|
+
caseUpdateError.showError(err, t(`Failed to update the case`));
|
|
161
|
+
}
|
|
162
|
+
finally {
|
|
163
|
+
onClose();
|
|
164
|
+
}
|
|
165
|
+
});
|
|
142
166
|
const onSubmit = () => __awaiter(this, void 0, void 0, function* () {
|
|
167
|
+
if (onlyFtsInfoChanged) {
|
|
168
|
+
updateCaseFtsInfo();
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
143
171
|
// Severity update successful comment body
|
|
144
172
|
const severityUpdateComment = t('#### Severity update \n Severity changed from {{oldSeverity}} to {{newSeverity}}\n\n #### Description \n{{description}}', {
|
|
145
173
|
oldSeverity: caseDetails.caseSeverity,
|
|
146
|
-
newSeverity:
|
|
174
|
+
newSeverity: updatedCaseDetails['severity'],
|
|
147
175
|
description: descriptionValue === null || descriptionValue === void 0 ? void 0 : descriptionValue.trim(),
|
|
148
176
|
});
|
|
149
177
|
// Severity update failed comment body
|
|
150
178
|
const severityUpdateFailedComment = t('#### Severity update \n Failed to change severity from {{oldSeverity}} to {{newSeverity}}. Please try again\n', {
|
|
151
179
|
oldSeverity: caseDetails.caseSeverity,
|
|
152
|
-
newSeveritay:
|
|
180
|
+
newSeveritay: updatedCaseDetails['severity'],
|
|
153
181
|
});
|
|
154
182
|
try {
|
|
155
183
|
setSeverityUpdating(caseOverviewDispatch, true);
|
|
156
|
-
yield updateCaseDetails(caseDispatch, caseDetails.caseNumber,
|
|
184
|
+
yield updateCaseDetails(caseDispatch, caseDetails.caseNumber, updatedCaseDetails);
|
|
157
185
|
try {
|
|
158
186
|
yield postCommentRequest({
|
|
159
187
|
caseNumber: caseDetails.caseNumber,
|
|
@@ -162,7 +190,7 @@ export default function UpdateSeverityModal(props) {
|
|
|
162
190
|
});
|
|
163
191
|
try {
|
|
164
192
|
checkForCaseStatusToggleOnAttachOrComment(caseDispatch, loggedInUserRights.data.isInternal(), caseDetails.caseStatus);
|
|
165
|
-
setCurrentSeverity(
|
|
193
|
+
setCurrentSeverity(updatedCaseDetails['severity']);
|
|
166
194
|
onSuccessfulSubmit();
|
|
167
195
|
ToastNotification.addSuccessMessage(t('Severity has been successfully updated'));
|
|
168
196
|
}
|
|
@@ -174,10 +202,7 @@ export default function UpdateSeverityModal(props) {
|
|
|
174
202
|
});
|
|
175
203
|
onClose();
|
|
176
204
|
caseUpdateError.showError(e, t(`Failed to update case status. Please try again`));
|
|
177
|
-
yield updateCaseDetails(caseDispatch, caseDetails.caseNumber, {
|
|
178
|
-
status: 'Waiting on Customer',
|
|
179
|
-
severity: currentSeverity,
|
|
180
|
-
});
|
|
205
|
+
yield updateCaseDetails(caseDispatch, caseDetails.caseNumber, Object.assign({ status: 'Waiting on Customer' }, updateCaseDetails));
|
|
181
206
|
setCaseDetails(caseDispatch, { status: 'Waiting on Customer' });
|
|
182
207
|
}
|
|
183
208
|
}
|
|
@@ -213,30 +238,50 @@ export default function UpdateSeverityModal(props) {
|
|
|
213
238
|
else
|
|
214
239
|
return true;
|
|
215
240
|
};
|
|
216
|
-
//
|
|
217
|
-
const
|
|
218
|
-
if (
|
|
241
|
+
// Check if user has updated case information - severity or fts
|
|
242
|
+
const checkIsUpdateValid = () => {
|
|
243
|
+
if (isEmpty(updatedCaseDetails)) {
|
|
219
244
|
return false;
|
|
220
245
|
}
|
|
221
|
-
else if (
|
|
246
|
+
else if (isEqual(caseDetails.caseSeverity, currentSeverity) &&
|
|
247
|
+
isEqual(caseDetails.fts, localFts) &&
|
|
248
|
+
isEqual(caseDetails.contactInfo24x7, localFtsContact)) {
|
|
222
249
|
return false;
|
|
223
250
|
}
|
|
224
251
|
else {
|
|
225
252
|
return true;
|
|
226
253
|
}
|
|
227
254
|
};
|
|
255
|
+
const onFtsChange = (e) => {
|
|
256
|
+
if (canEditCase.alert())
|
|
257
|
+
return;
|
|
258
|
+
setLocalFts(e.target.checked);
|
|
259
|
+
setUpdatedCaseDetails((pre) => (Object.assign(Object.assign({}, pre), { fts: e.target.checked })));
|
|
260
|
+
};
|
|
261
|
+
const onFtsContactChange = (e) => {
|
|
262
|
+
if (canEditCase.alert())
|
|
263
|
+
return;
|
|
264
|
+
setLocalFtsContact(e.target.value);
|
|
265
|
+
setUpdatedCaseDetails((pre) => (Object.assign(Object.assign({}, pre), { contactInfo24x7: e.target.value.trim() })));
|
|
266
|
+
};
|
|
228
267
|
// To disable submit button wrt above conditions
|
|
229
|
-
const isSubmitButtonDisabled =
|
|
268
|
+
const isSubmitButtonDisabled = checkIsUpdateValid() && (onlyFtsInfoChanged || isTextAreaValid()) ? false : true;
|
|
230
269
|
// Update severity modal buttons
|
|
231
270
|
const modalActions = [
|
|
232
|
-
React.createElement(Button, { key: "submit", variant: "primary", onClick: onSubmit, isLoading: isCaseUpdating || isPostingComment, "data-tracking-id": "update-severity-submit", isDisabled: isSubmitButtonDisabled || isCaseUpdating || isPostingComment }, t('
|
|
271
|
+
React.createElement(Button, { key: "submit", variant: "primary", onClick: onSubmit, isLoading: isCaseUpdating || isPostingComment, "data-tracking-id": "update-severity-submit", isDisabled: isSubmitButtonDisabled || isCaseUpdating || isPostingComment }, t('Update')),
|
|
233
272
|
React.createElement(Button, { key: "back", variant: "link", onClick: onCancel, "data-tracking-id": "update-severity-cancel", isDisabled: isCaseUpdating || isPostingComment }, t('Cancel')),
|
|
234
273
|
];
|
|
235
274
|
// To handle the severity change
|
|
236
275
|
const onSeverityChange = (option) => {
|
|
237
276
|
if (canEditCase.alert())
|
|
238
277
|
return;
|
|
239
|
-
|
|
278
|
+
if (isSev1(option.value.name) && isFtsEditableOnEditPage(entitlementSla, option.value.name)) {
|
|
279
|
+
setLocalFts(true);
|
|
280
|
+
setUpdatedCaseDetails((pre) => (Object.assign(Object.assign({}, pre), { severity: option.value.name, fts: true })));
|
|
281
|
+
}
|
|
282
|
+
else {
|
|
283
|
+
setUpdatedCaseDetails({ severity: option.value.name });
|
|
284
|
+
}
|
|
240
285
|
setCurrentSeverity(option.value.name);
|
|
241
286
|
updateState(option.value.name);
|
|
242
287
|
setIsSeverityInValidLocal(option);
|
|
@@ -282,6 +327,10 @@ export default function UpdateSeverityModal(props) {
|
|
|
282
327
|
seviritiesOptions,
|
|
283
328
|
caseDetails.caseSeverity,
|
|
284
329
|
]);
|
|
330
|
+
useEffect(() => {
|
|
331
|
+
setLocalFts(fts);
|
|
332
|
+
setLocalFtsContact(contactInfo24x7);
|
|
333
|
+
}, [fts, contactInfo24x7]);
|
|
285
334
|
// Returns the modal body with its contents
|
|
286
335
|
const modalBody = () => {
|
|
287
336
|
return (React.createElement(React.Fragment, null,
|
|
@@ -307,10 +356,21 @@ export default function UpdateSeverityModal(props) {
|
|
|
307
356
|
React.createElement("label", { htmlFor: "date-input", className: "pf-v5-u-mt-md" },
|
|
308
357
|
React.createElement(Trans, null, "Describe update"),
|
|
309
358
|
React.createElement("span", { className: "form-required", "aria-hidden": "true" }, "*")),
|
|
310
|
-
React.createElement(TextArea, { placeholder:
|
|
359
|
+
React.createElement(TextArea, { placeholder: t('How has the business impact changed? If you have increased severity, please explain why.'), isDisabled: (caseOverviewState.caseSeverityUpdating && isCaseUpdating) || isPostingComment, value: descriptionValue, onChange: (_event, value) => handleTextAreaChange(value), resizeOrientation: "vertical", "aria-label": "summary", isRequired: true }),
|
|
311
360
|
React.createElement("div", { className: "pf-v5-u-mt-xs" },
|
|
312
|
-
React.createElement(Trans, null, "
|
|
361
|
+
React.createElement(Trans, null, "To view your comment, go to the Discussion tab."))),
|
|
362
|
+
isFtsEditable && (React.createElement("div", { className: "pf-v5-u-mt-md pf-v5-u-mb-sm" },
|
|
363
|
+
React.createElement("div", null,
|
|
364
|
+
React.createElement("input", { type: "checkbox", id: "update-severity-fts", "data-tracking-id": "update-severity-fts", name: "update-severity-fts", checked: localFts, onChange: onFtsChange }),
|
|
365
|
+
React.createElement("label", { htmlFor: "update-severity-fts" },
|
|
366
|
+
React.createElement(Trans, null, "24x7 Support"))),
|
|
367
|
+
localFts && (React.createElement("div", null,
|
|
368
|
+
React.createElement("label", { htmlFor: "update-severity-24-7-contact", className: "pf-v5-u-mt-xs" },
|
|
369
|
+
React.createElement(Trans, null, "Contact for 24x7 support")),
|
|
370
|
+
React.createElement(TextArea, { isDisabled: !localFts, value: localFtsContact, onChange: onFtsContactChange, resizeOrientation: "vertical", "aria-label": "update-severity-24-7-contact", id: "update-severity-24-7-contact", rows: 1 }),
|
|
371
|
+
React.createElement("p", { className: "pf-v5-u-mt-xs" },
|
|
372
|
+
React.createElement(Trans, null, "Please provide contact information where we can reach you at any time"))))))))));
|
|
313
373
|
};
|
|
314
374
|
// Main modal and its headings
|
|
315
|
-
return (React.createElement(Modal, { title: t('Update severity'), description: t('Describing your update helps us better assist you.'), isOpen: show, onClose: onCancel, actions: modalActions, style: { overflow: 'visible' } }, modalBody()));
|
|
375
|
+
return (React.createElement(Modal, { title: t('Update severity'), description: t('Describing your update helps us better assist you.'), isOpen: show, onClose: onCancel, actions: modalActions, style: { overflow: 'visible' }, tabIndex: 0 }, modalBody()));
|
|
316
376
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardAside.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardAside.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAInD,OAAO,EAGH,eAAe,EAKlB,MAAM,iCAAiC,CAAC;AASzC,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACjD,2BAA2B,EAAE,OAAO,CAAC;CACxC;AAGD,iBAAS,WAAW,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"WizardAside.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/WizardAside.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAInD,OAAO,EAGH,eAAe,EAKlB,MAAM,iCAAiC,CAAC;AASzC,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACjD,2BAA2B,EAAE,OAAO,CAAC;CACxC;AAGD,iBAAS,WAAW,CAAC,KAAK,EAAE,MAAM,qBAkDjC;kBAlDQ,WAAW;;;AAoDpB,eAAe,WAAW,CAAC"}
|
|
@@ -33,13 +33,13 @@ function WizardAside(props) {
|
|
|
33
33
|
const canShowRecommendationTips = showRecommendationTipsSections.includes(activeSection);
|
|
34
34
|
return (React.createElement("aside", null,
|
|
35
35
|
React.createElement("section", { className: "grid-aside-content" },
|
|
36
|
-
canShowFileUploadWidget() && React.createElement(FileDiag, { className: "pf-v5-u-mt-md" }),
|
|
37
|
-
canshowEARuleWidget && React.createElement(EARuleWidget, null),
|
|
38
36
|
React.createElement(InsightsResults, null),
|
|
39
37
|
" ",
|
|
40
|
-
|
|
38
|
+
canShowFileUploadWidget() && React.createElement(FileDiag, { className: "pf-v5-u-mb-md" }),
|
|
39
|
+
canshowEARuleWidget && React.createElement(EARuleWidget, null),
|
|
40
|
+
!(isIdea && activeSection === 'submit-case') && (React.createElement(AsideResults, { routeProps: props.routeProps, className: "pf-v5-u-mb-md pf-v5-u-mt-0" })),
|
|
41
41
|
canShowFileRecommendationSectionsWidget && React.createElement(InsightsResults, { isDisplayOnMain: true }),
|
|
42
|
-
React.createElement(ClusterRecommendations, { showClusterRecommendationsList: canShowClusterIdReportWidget }),
|
|
42
|
+
React.createElement(ClusterRecommendations, { showClusterRecommendationsList: canShowClusterIdReportWidget, className: "pf-v5-u-mb-md pf-v5-u-mt-0" }),
|
|
43
43
|
canUseSessionManagement && !isCreatingCase && activeSection !== AppRouteSections.SUBMIT_CASE && (React.createElement(SessionRestore, { routeProps: props.routeProps })),
|
|
44
44
|
canShowRecommendationTips && React.createElement(RecommendationInfoBox, null))));
|
|
45
45
|
}
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
.all-product-selector-dropdown {
|
|
66
66
|
-ms-flex-direction: row;
|
|
67
67
|
flex-direction: row;
|
|
68
|
-
-ms-flex-align:
|
|
69
|
-
align-items:
|
|
68
|
+
-ms-flex-align: flex-start;
|
|
69
|
+
align-items: flex-start;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.all-product-selector-dropdown > * {
|
|
@@ -87,7 +87,6 @@
|
|
|
87
87
|
-ms-flex: 0 0 31%;
|
|
88
88
|
flex: 0 0 31%;
|
|
89
89
|
-ms-flex-item-align: center;
|
|
90
|
-
align-self: center;
|
|
91
90
|
margin-left: auto;
|
|
92
91
|
}
|
|
93
92
|
}
|
package/lib/esm/scss/_main.scss
CHANGED
|
@@ -951,3 +951,8 @@ svg.pf-v5-u-ml-xs.icon-size {
|
|
|
951
951
|
justify-content: space-between;
|
|
952
952
|
padding: 0.2rem;
|
|
953
953
|
}
|
|
954
|
+
|
|
955
|
+
#rh-support #rh-support-main .card.card-support .card-heading.case-detail-panel-card-heading {
|
|
956
|
+
background-color: var(--pf-v5-global--palette--black-600);
|
|
957
|
+
border: 1px solid var(--pf-v5-global--palette--black-600);
|
|
958
|
+
}
|
|
@@ -587,7 +587,6 @@ span.pf-v5-c-input-group__text {
|
|
|
587
587
|
.pf-v5-c-alert__icon {
|
|
588
588
|
margin-top: 5px;
|
|
589
589
|
}
|
|
590
|
-
margin-bottom: 20px;
|
|
591
590
|
}
|
|
592
591
|
|
|
593
592
|
.critical-solutions-file-upload-alert {
|
|
@@ -683,7 +682,20 @@ button.pf-m-plain.manage-bookmark-info-icon-button {
|
|
|
683
682
|
}
|
|
684
683
|
}
|
|
685
684
|
|
|
686
|
-
#rh-support #rh-support-main .card.card-support .card-heading.
|
|
685
|
+
#rh-support #rh-support-main .card.card-support .card-heading.case-detail-panel-card-heading {
|
|
687
686
|
background-color: var(--pf-v5-global--palette--black-600);
|
|
688
687
|
border: 1px solid var(--pf-v5-global--palette--black-600);
|
|
689
688
|
}
|
|
689
|
+
|
|
690
|
+
label.react-typeahead-label-wrapper {
|
|
691
|
+
width: 100%;
|
|
692
|
+
.react-select-custom,
|
|
693
|
+
.partner-share-bootstrap-typeahead,
|
|
694
|
+
.rbt-input-multi .rbt-input-wrapper,
|
|
695
|
+
p.form-instructions {
|
|
696
|
+
font-weight: var(--pf-v5-global--FontWeight--normal);
|
|
697
|
+
}
|
|
698
|
+
.rbt-token.rbt-token-removeable {
|
|
699
|
+
color: var(--pf-v5-global--palette--blue-400);
|
|
700
|
+
}
|
|
701
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.93",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@cee-eng/hydrajs": "4.17.7",
|
|
30
|
-
"@cee-eng/ui-toolkit": "1.1.
|
|
30
|
+
"@cee-eng/ui-toolkit": "1.1.8",
|
|
31
31
|
"@patternfly/patternfly": "5.1.0",
|
|
32
32
|
"@patternfly/react-core": "5.1.1",
|
|
33
33
|
"dompurify": "^2.2.6",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@cee-eng/hydrajs": "4.17.7",
|
|
56
|
-
"@cee-eng/ui-toolkit": "1.1.
|
|
56
|
+
"@cee-eng/ui-toolkit": "1.1.8",
|
|
57
57
|
"@patternfly/patternfly": "5.1.0",
|
|
58
58
|
"@patternfly/react-core": "5.1.1",
|
|
59
59
|
"@patternfly/react-table": "^5.1.1",
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
"@progress/kendo-licensing": "1.3.5",
|
|
62
62
|
"@progress/kendo-react-pdf": "^5.16.0",
|
|
63
63
|
"@redux-devtools/extension": "^3.3.0",
|
|
64
|
-
"@rh-support/components": "2.1.
|
|
65
|
-
"@rh-support/react-context": "2.1.
|
|
64
|
+
"@rh-support/components": "2.1.49",
|
|
65
|
+
"@rh-support/react-context": "2.1.55",
|
|
66
66
|
"@rh-support/types": "2.0.3",
|
|
67
|
-
"@rh-support/user-permissions": "2.1.
|
|
68
|
-
"@rh-support/utils": "2.1.
|
|
67
|
+
"@rh-support/user-permissions": "2.1.36",
|
|
68
|
+
"@rh-support/utils": "2.1.26",
|
|
69
69
|
"@types/react-redux": "^7.1.33",
|
|
70
70
|
"@types/redux": "^3.6.0",
|
|
71
71
|
"dompurify": "^2.2.6",
|
|
@@ -132,5 +132,5 @@
|
|
|
132
132
|
"defaults and supports es6-module",
|
|
133
133
|
"maintained node versions"
|
|
134
134
|
],
|
|
135
|
-
"gitHead": "
|
|
135
|
+
"gitHead": "860400c585c5440fafa0bdeeeed2bfbbf6e0fbd6"
|
|
136
136
|
}
|