@rh-support/troubleshoot 2.6.88 → 2.6.90
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/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.js +5 -5
- package/lib/esm/scss/_pf-overrides.scss +2 -1
- package/lib/esm/utils/visitedResourcesUtils.js +1 -1
- package/package.json +4 -4
package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NonOrgCaseNotifyeesSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAwB,oBAAoB,EAAY,MAAM,wBAAwB,CAAC;AAE9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,UAAU,MAAO,SAAQ,gBAAgB;IACrC,aAAa,EAAE,oBAAoB,EAAE,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,CAAC,aAAa,EAAE,oBAAoB,EAAE,KAAK,IAAI,CAAC;IAC1D,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAC1C,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AA+BD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"NonOrgCaseNotifyeesSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAwB,oBAAoB,EAAY,MAAM,wBAAwB,CAAC;AAE9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,UAAU,MAAO,SAAQ,gBAAgB;IACrC,aAAa,EAAE,oBAAoB,EAAE,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,CAAC,aAAa,EAAE,oBAAoB,EAAE,KAAK,IAAI,CAAC;IAC1D,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IAC1C,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AA+BD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,qBA8NxD"}
|
|
@@ -82,7 +82,10 @@ export function NonOrgCaseNotifyeesSelector(props) {
|
|
|
82
82
|
const { ssoName } = c, rest = __rest(c, ["ssoName"]);
|
|
83
83
|
return Object.assign({ ssoUsername: ssoName }, rest);
|
|
84
84
|
});
|
|
85
|
-
|
|
85
|
+
const isUsernameAlreadySelected = mappedContacts.some((contact) => props.selectedItems.some((item) => isContact(item) && item.ssoUsername === contact.ssoUsername));
|
|
86
|
+
if (!isUsernameAlreadySelected) {
|
|
87
|
+
(_b = props.onChange) === null || _b === void 0 ? void 0 : _b.call(props, [...mappedContacts]);
|
|
88
|
+
}
|
|
86
89
|
setInputVal('');
|
|
87
90
|
setNotifyeesList([...mappedContacts, { emailAddress: notificationAddress.email }]);
|
|
88
91
|
}
|
|
@@ -94,10 +97,7 @@ export function NonOrgCaseNotifyeesSelector(props) {
|
|
|
94
97
|
((_a = item.emailAddress) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === ((_b = notificationAddress.email) === null || _b === void 0 ? void 0 : _b.toLowerCase());
|
|
95
98
|
});
|
|
96
99
|
if (!isEmailAlreadySelected) {
|
|
97
|
-
const updatedSelection = [
|
|
98
|
-
...props.selectedItems,
|
|
99
|
-
{ emailAddress: notificationAddress.email, caseNumber: '' },
|
|
100
|
-
];
|
|
100
|
+
const updatedSelection = [{ emailAddress: notificationAddress.email, caseNumber: '' }];
|
|
101
101
|
(_c = props.onChange) === null || _c === void 0 ? void 0 : _c.call(props, updatedSelection);
|
|
102
102
|
}
|
|
103
103
|
setInputVal('');
|
|
@@ -631,11 +631,12 @@ pfe-accordion {
|
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
.pf-v6-c-wizard__main,
|
|
634
|
+
.pf-v6-c-wizard__footer,
|
|
634
635
|
.pf-v6-c-wizard__nav {
|
|
635
636
|
z-index: 1 !important;
|
|
636
637
|
}
|
|
637
638
|
|
|
638
|
-
.pf-v6-c-wizard__footer {
|
|
639
|
+
#request-mgmt-escalation-modal .pf-v6-c-wizard__footer {
|
|
639
640
|
z-index: 0 !important;
|
|
640
641
|
}
|
|
641
642
|
|
|
@@ -54,7 +54,7 @@ export const formatClickedResourcesSequenceForComment = (clickedResourcesSequenc
|
|
|
54
54
|
if (clickedResourcesSequence.length === 0) {
|
|
55
55
|
return '';
|
|
56
56
|
}
|
|
57
|
-
let commentBody = '**
|
|
57
|
+
let commentBody = '**Note: This information about the content clicked/read by customers is for internal use only. You should only share the information in the context of providing support and expediting resolution of an issue. See the guidelines on using this feature in the [knowledge base article](https://access.redhat.com/articles/7132983).**\n\nBefore creating this case, the customer viewed the following content in PCM, in the order listed below:\n\n';
|
|
58
58
|
clickedResourcesSequence.forEach((source, index) => {
|
|
59
59
|
if (source.clickedResources.length === 1) {
|
|
60
60
|
// Single link: 1. [source] - [title](url)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.90",
|
|
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.61",
|
|
63
|
+
"@rh-support/react-context": "2.5.77",
|
|
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": "df1b075de11079845d372084d0bdbd780adf00a9"
|
|
137
137
|
}
|