@rh-support/manage 2.5.39 → 2.5.40
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/Configs/ConfigsTable.d.ts.map +1 -1
- package/lib/esm/components/Configs/ConfigsTable.js +2 -1
- package/lib/esm/components/Groups/ManageGroupUsers/ManageGroupUsers.js +1 -1
- package/lib/esm/components/ManagePartnerships/PartnershipsList.js +1 -1
- package/lib/esm/components/ManagePartnerships/RequestCollaborationModal.d.ts.map +1 -1
- package/lib/esm/components/ManagePartnerships/RequestCollaborationModal.js +1 -2
- package/lib/esm/components/NotificationEmails/NotificationEmailsModal.js +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetrics.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetrics.js +3 -3
- package/lib/esm/components/TopContentManagement/ContentUsage/VersionPerformanceMetrics.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/VersionPerformanceMetrics.js +4 -5
- package/lib/esm/scss/_main.scss +0 -4
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigsTable.d.ts","sourceRoot":"","sources":["../../../../src/components/Configs/ConfigsTable.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAOnD,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"ConfigsTable.d.ts","sourceRoot":"","sources":["../../../../src/components/Configs/ConfigsTable.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAOnD,eAAO,MAAM,YAAY,yBA8JxB,CAAC"}
|
|
@@ -69,9 +69,10 @@ export const ConfigsTable = () => {
|
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
// @ts-ignore
|
|
72
|
-
cell: (data) =>
|
|
72
|
+
cell: (data) => {
|
|
73
73
|
const value = data.fieldValue;
|
|
74
74
|
const name = data.fieldName;
|
|
75
|
+
console.log(data);
|
|
75
76
|
if (value === '0' || value === '1') {
|
|
76
77
|
return (React.createElement(ConfigSwitch, { id: data.id, isChecked: value === '1' ? true : false, onChange: onUpdate, isUpdating: isUpdating, fieldName: name }));
|
|
77
78
|
}
|
|
@@ -162,7 +162,7 @@ export const ManageGroupUsers = () => {
|
|
|
162
162
|
React.createElement(Trans, null, "Customers can organize and group related cases and filter on the case list page, but they cannot change permissions for case groups unless the Case Group ACL is enabled."))),
|
|
163
163
|
React.createElement("header", null,
|
|
164
164
|
React.createElement("h2", null, t('Groups')),
|
|
165
|
-
React.createElement("p", null, t('
|
|
165
|
+
React.createElement("p", null, t('To filter cases while searching, add or edit groups.'))),
|
|
166
166
|
React.createElement("div", { className: "toolbar" },
|
|
167
167
|
React.createElement(GroupSelect, { isDisabled: isFetching || disableGroupSelect, onSelect: onGroupSelect }),
|
|
168
168
|
React.createElement("span", { className: "toolbar-right" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestCollaborationModal.d.ts","sourceRoot":"","sources":["../../../../src/components/ManagePartnerships/RequestCollaborationModal.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,UAAU,MAAM;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACrC;AAID,eAAO,MAAM,yBAAyB,UAAW,MAAM,
|
|
1
|
+
{"version":3,"file":"RequestCollaborationModal.d.ts","sourceRoot":"","sources":["../../../../src/components/ManagePartnerships/RequestCollaborationModal.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,UAAU,MAAM;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACrC;AAID,eAAO,MAAM,yBAAyB,UAAW,MAAM,sBAqOtD,CAAC"}
|
|
@@ -139,9 +139,8 @@ export const RequestCollaborationModal = (props) => {
|
|
|
139
139
|
React.createElement("code", { ref: clipboardRef }, generatedUrl)),
|
|
140
140
|
React.createElement(Tooltip, { position: TooltipPosition.top, content: clipboardText, trigger: "click" },
|
|
141
141
|
React.createElement("button", { className: "nimbus-icon-clipboard clip-code-raw-btn xs-icon", "aria-hidden": "true", onClick: onClickOnCopyToClipboardButton, "data-tracking-id": "request-collaboration-link-copy-button", type: "button" }))),
|
|
142
|
-
React.createElement("p", { className:
|
|
142
|
+
React.createElement("p", { className: !isCopyClicked && isDoneClicked ? 'pf-v6-u-text-color-status-danger' : '' },
|
|
143
143
|
React.createElement(Trans, null,
|
|
144
|
-
' ',
|
|
145
144
|
"Please ",
|
|
146
145
|
React.createElement("strong", null, "copy and send"),
|
|
147
146
|
" this unique link to your customer for approval.")))) : (React.createElement(Trans, null, "Partnership request expiration date is extended."))))),
|
|
@@ -111,7 +111,7 @@ export const NotificationEmailsModal = (props) => {
|
|
|
111
111
|
React.createElement(ModalBody, null,
|
|
112
112
|
React.createElement(Form, null,
|
|
113
113
|
React.createElement(FormGroup, { label: t('Email address'), isRequired: true, fieldId: "email-notification-first-emailaddress" },
|
|
114
|
-
React.createElement(TextInput, { value: email, isRequired: true, type: "text", onChange: (_event, localemail) => onEmailChange(localemail), "aria-label": t('Email address'), placeholder: t('Email address'), maxLength: 254, validated: isValidEmail && !isEmailDuplicate ? ValidatedOptions.default : ValidatedOptions.error, isDisabled: props.isAddingNotificationEmail }),
|
|
114
|
+
React.createElement(TextInput, { value: email, isRequired: true, type: "text", onChange: (_event, localemail) => onEmailChange(localemail), "aria-label": t('Email address'), placeholder: t('Email address'), maxLength: 254, validated: isValidEmail && !isEmailDuplicate ? ValidatedOptions.default : ValidatedOptions.error, isDisabled: !props.isAddingNotificationEmail }),
|
|
115
115
|
!(isValidEmail && !isEmailDuplicate) && (React.createElement(FormHelperText, null,
|
|
116
116
|
React.createElement(HelperText, null,
|
|
117
117
|
React.createElement(HelperTextItem, { variant: ValidatedOptions.error }, !isValidEmail
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerformanceMetrics.d.ts","sourceRoot":"","sources":["../../../../../src/components/TopContentManagement/ContentUsage/PerformanceMetrics.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PerformanceMetrics.d.ts","sourceRoot":"","sources":["../../../../../src/components/TopContentManagement/ContentUsage/PerformanceMetrics.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKlC,UAAU,MAAM;IACZ,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;CAC3B;AACD,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,MAAM,CA4CzC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Button, Modal, ModalBody, ModalFooter, ModalHeader, ModalVariant
|
|
1
|
+
import { Button, Modal, ModalBody, ModalFooter, ModalHeader, ModalVariant } from '@patternfly/react-core';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Trans } from 'react-i18next';
|
|
4
4
|
import { PerformanceMetricClickCount } from './PerformanceMetricClickCount';
|
|
5
5
|
export const PerformanceMetrics = ({ isModalOpen, onHideModal, needsAttention, contentId, title, lastModifiedBy, selectedVersion, }) => {
|
|
6
6
|
return (React.createElement(Modal, { variant: ModalVariant.small, id: "top-content-performance-metric", "aria-label": "top-content-performance-metric", isOpen: isModalOpen, onClose: onHideModal },
|
|
7
7
|
React.createElement(ModalHeader, null,
|
|
8
|
-
React.createElement(
|
|
9
|
-
React.createElement(Trans, null, "
|
|
8
|
+
React.createElement("h2", { className: "pf-v6-u-mb-0" },
|
|
9
|
+
React.createElement(Trans, null, "Performance metrics"))),
|
|
10
10
|
React.createElement(ModalBody, null,
|
|
11
11
|
React.createElement("p", { className: "pf-v6-u-pb-lg pf-v6-u-pt-sm" }, "Better understand the Performance for the top content resources."),
|
|
12
12
|
React.createElement("div", { className: "pf-v6-u-pb-xs top-content-tooltip-view-metric-label" }, title),
|
package/lib/esm/components/TopContentManagement/ContentUsage/VersionPerformanceMetrics.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VersionPerformanceMetrics.d.ts","sourceRoot":"","sources":["../../../../../src/components/TopContentManagement/ContentUsage/VersionPerformanceMetrics.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VersionPerformanceMetrics.d.ts","sourceRoot":"","sources":["../../../../../src/components/TopContentManagement/ContentUsage/VersionPerformanceMetrics.tsx"],"names":[],"mappings":"AAcA,OAAc,EAAE,EAAE,EAAgC,MAAM,OAAO,CAAC;AAUhE,UAAU,MAAM;IACZ,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;CAC3B;AACD,eAAO,MAAM,yBAAyB,EAAE,EAAE,CAAC,MAAM,CAsGhD,CAAC"}
|
|
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { pcm } from '@cee-eng/hydrajs';
|
|
11
|
-
import { Button, ButtonVariant, Flex, FlexItem, Modal, ModalBody, ModalFooter, ModalHeader, ModalVariant,
|
|
11
|
+
import { Button, ButtonVariant, Flex, FlexItem, Modal, ModalBody, ModalFooter, ModalHeader, ModalVariant, } from '@patternfly/react-core';
|
|
12
12
|
import { useFetch } from '@rh-support/components';
|
|
13
13
|
import isEmpty from 'lodash/isEmpty';
|
|
14
14
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
@@ -51,11 +51,10 @@ export const VersionPerformanceMetrics = ({ isModalOpen, onHideModal, selectedVe
|
|
|
51
51
|
const versionOptions = isMajorProjectVersion ? versionDifference : [selectedVersionProp];
|
|
52
52
|
return (React.createElement(Modal, { variant: ModalVariant.large, id: "top-content-major-version-performance-metric", "aria-label": "top-content-performance-metric", isOpen: isModalOpen, onClose: onModalClose, className: "performance-metrics-modal" },
|
|
53
53
|
React.createElement(ModalHeader, { className: "sticky-header" },
|
|
54
|
-
React.createElement(
|
|
55
|
-
React.createElement(Trans, null, "
|
|
56
|
-
React.createElement("p", { className: "pf-v6-u-
|
|
54
|
+
React.createElement("h2", { className: "pf-v6-u-mb-0" },
|
|
55
|
+
React.createElement(Trans, null, "Performance metrics")),
|
|
56
|
+
React.createElement("p", { className: "pf-v6-u-p-0 pf-v6-u-mb-0" },
|
|
57
57
|
React.createElement(Trans, null, "Better understand the Performance for the top content resources.")),
|
|
58
|
-
React.createElement("br", null),
|
|
59
58
|
React.createElement(Flex, { justifyContent: { default: 'justifyContentSpaceBetween' } },
|
|
60
59
|
React.createElement(FlexItem, { className: "pf-v6-u-w-50 pf-v6-u-pr-md", style: { marginRight: 'unset' } },
|
|
61
60
|
React.createElement(PerformanceMetricsSelect, { placeholderText: t(!isEmpty(versionOptions) ? 'Select a version' : 'No versions available'), title: t(`Version using ${selectedVersionProp}`), onSelectCallback: onVersionSelect, options: versionOptions, optionValue: (option) => option, isLoading: isLoading, isDisabled: isEmpty(versionOptions) })),
|
package/lib/esm/scss/_main.scss
CHANGED
|
@@ -415,10 +415,6 @@ svg.hostnameSpinner {
|
|
|
415
415
|
line-height: var(--pf-t--global--font--line-height--body);
|
|
416
416
|
}
|
|
417
417
|
|
|
418
|
-
.pf-v6-c-date-picker__input input[aria-label='Date picker'] {
|
|
419
|
-
min-width: 10rem;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
418
|
.pf-v6-c-date-picker__input button {
|
|
423
419
|
flex: 0 0 auto;
|
|
424
420
|
height: 100%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/manage",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.40",
|
|
4
4
|
"description": "Customer Support Manage App",
|
|
5
5
|
"author": "Jordan Eudy <jeudy100@gmail.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@patternfly/react-table": "6.2.1",
|
|
82
82
|
"@rh-support/components": "2.5.33",
|
|
83
83
|
"@rh-support/configs": "2.0.21",
|
|
84
|
-
"@rh-support/react-context": "2.5.
|
|
84
|
+
"@rh-support/react-context": "2.5.36",
|
|
85
85
|
"@rh-support/types": "2.0.5",
|
|
86
86
|
"@rh-support/user-permissions": "2.5.20",
|
|
87
87
|
"@rh-support/utils": "2.5.19",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"defaults and supports es6-module",
|
|
104
104
|
"maintained node versions"
|
|
105
105
|
],
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "60ca9bb964b292380cd258edc372803a9a387f57"
|
|
107
107
|
}
|