@rh-support/troubleshoot 0.2.139 → 0.3.0
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.
|
@@ -90,9 +90,9 @@ function CaseHostname(props) {
|
|
|
90
90
|
console.log(error);
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
const shareHostnameLabel = 'Share hostnames
|
|
93
|
+
const shareHostnameLabel = 'Share hostnames';
|
|
94
94
|
const hostNameVisibilityContent = (React.createElement("div", null,
|
|
95
|
-
React.createElement("p", null, "
|
|
95
|
+
React.createElement("p", null, "You can share this information at any time to improve your support experience."),
|
|
96
96
|
React.createElement(Switch, { label: shareHostnameLabel, isChecked: isShareHostNamesChecked, onChange: onShareHostnameCheck })));
|
|
97
97
|
if (!canUseHostName) {
|
|
98
98
|
return React.createElement(React.Fragment, null);
|
|
@@ -103,7 +103,7 @@ function CaseHostname(props) {
|
|
|
103
103
|
return (React.createElement(React.Fragment, null,
|
|
104
104
|
React.createElement(InlineEdit, { labelProps: { htmlFor: 'case-details-hostname' }, formClassName: props.className || '', labelContent: React.createElement(React.Fragment, null,
|
|
105
105
|
React.createElement(Trans, null, "Hostname"),
|
|
106
|
-
React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, isLocalChange: localHostnameChange, value: hostname, getTooltipContent: getChangedValueTooltip(() => CaseValuesToWatch.hostname) })), helperContent: React.createElement(Popover, { "aria-label": "Hostname Info", position: PopoverPosition.auto, bodyContent: hostNameVisibilityContent, closeBtnAriaLabel: "Close", headerContent: '
|
|
106
|
+
React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, isLocalChange: localHostnameChange, value: hostname, getTooltipContent: getChangedValueTooltip(() => CaseValuesToWatch.hostname) })), helperContent: React.createElement(Popover, { "aria-label": "Hostname Info", position: PopoverPosition.auto, bodyContent: hostNameVisibilityContent, closeBtnAriaLabel: "Close", headerContent: 'Share hostname?', onShow: () => userOriginalHostnameValue() },
|
|
107
107
|
React.createElement("i", { "aria-label": "Hostname Info", className: "m-l-1 fa fa-question-circle" })), allowInlineEdit: props.inlineEditable, content: hostname, saveDisabled: isHostNameEmpty || hostnameState === hostname || isHostnameUpdating || lengthError, onSave: onSave, onCancel: onCancel, initialIsEditing: false, loadingIndicator: isHostnameUpdating ? React.createElement(LoadingIndicator, { show: isHostnameUpdating, isInline: true }) : null },
|
|
108
108
|
React.createElement("input", { type: "text", id: "case-details-hostname", className: `form-control${lengthError ? ' form-invalid' : ''}`, name: "case-details-hostname", value: hostnameState, onChange: onHostnameChange, disabled: isHostnameUpdating, "data-tracking-id": "case-details-hostname", "aria-invalid": lengthError })),
|
|
109
109
|
lengthError && (React.createElement("div", { className: "pull-top" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@progress/kendo-react-pdf": "^3.12.0",
|
|
76
76
|
"@rh-support/api": "0.3.25",
|
|
77
77
|
"@rh-support/components": "1.1.80",
|
|
78
|
-
"@rh-support/react-context": "0.
|
|
78
|
+
"@rh-support/react-context": "0.3.0",
|
|
79
79
|
"@rh-support/types": "0.2.0",
|
|
80
80
|
"@rh-support/user-permissions": "0.2.64",
|
|
81
81
|
"@rh-support/utils": "0.2.47",
|
|
@@ -143,5 +143,5 @@
|
|
|
143
143
|
"not ie <= 11",
|
|
144
144
|
"not op_mini all"
|
|
145
145
|
],
|
|
146
|
-
"gitHead": "
|
|
146
|
+
"gitHead": "df9aba7f875d84c08c533f9ae63c4c7b325fe646"
|
|
147
147
|
}
|