@rh-support/troubleshoot 2.2.169 → 2.2.170
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/CaseDetails/CaseInformation.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.js +7 -6
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.js +4 -5
- package/lib/esm/i18n/template-ko.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseInformation.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseInformation.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"CaseInformation.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseInformation.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAI5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,UAAU,MAAO,SAAQ,gBAAgB;CAAG;AAE5C,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,qBAwD5C"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { encodeAngularBrackets, linkifyBZIDs, linkifyWithCaseIDs } from '@cee-eng/ui-toolkit';
|
|
2
2
|
import { MoreOrLess } from '@rh-support/components';
|
|
3
3
|
import { useGlobalStateContext } from '@rh-support/react-context';
|
|
4
|
-
import { ability, CaseDetailsFields, resourceActions, resources } from '@rh-support/user-permissions';
|
|
5
4
|
import { PreviousCaseTypes } from '@rh-support/utils';
|
|
6
5
|
import DOMPurify from 'dompurify';
|
|
7
6
|
import isEqual from 'lodash/isEqual';
|
|
@@ -9,7 +8,6 @@ import React from 'react';
|
|
|
9
8
|
import { Trans } from 'react-i18next';
|
|
10
9
|
import { useCaseSelector } from '../../../../context/CaseContext';
|
|
11
10
|
import { KtQuestionConstant } from '../../../../reducers/CaseConstNTypes';
|
|
12
|
-
import EditDescription from '../../../EditDescription/EditDescription';
|
|
13
11
|
import { CaseHostname } from './CaseHostname';
|
|
14
12
|
import { CaseOpenshiftClusterId } from './CaseOpenshiftClusterId/CaseOpenshiftClusterId';
|
|
15
13
|
import ProductVersion from './ProductVersion';
|
|
@@ -33,17 +31,20 @@ export function CaseInformation(props) {
|
|
|
33
31
|
text = linkifyBZIDs(text);
|
|
34
32
|
return { __html: DOMPurify.sanitize(text) };
|
|
35
33
|
};
|
|
36
|
-
|
|
34
|
+
/**
|
|
35
|
+
* JIRA: https://issues.redhat.com/browse/PCM-13457
|
|
36
|
+
* As per our current requirements, the description field should not be editable by users.
|
|
37
|
+
* Therefore, we are removing the edit functionality for this field.
|
|
38
|
+
*/
|
|
37
39
|
return (React.createElement("section", { className: "card card-sm card-white" },
|
|
38
40
|
React.createElement("form", null,
|
|
39
41
|
React.createElement(ProductVersion, null),
|
|
40
42
|
React.createElement(CaseOpenshiftClusterId, null),
|
|
41
43
|
React.createElement(CaseHostname, { inlineEditable: true }),
|
|
42
|
-
React.createElement("div", { className: "form-group" },
|
|
44
|
+
React.createElement("div", { className: "form-group" },
|
|
43
45
|
React.createElement("label", { htmlFor: "case-description" },
|
|
44
46
|
React.createElement(Trans, null, "Description")),
|
|
45
47
|
React.createElement(MoreOrLess, { maxHeight: 600, appStickyHeaderRef: navBarRef },
|
|
46
48
|
React.createElement("pre", { id: "case-description" },
|
|
47
|
-
React.createElement("div", { dangerouslySetInnerHTML: linkifiedDescription(replaceDescriptionHeading(description)) })))))
|
|
48
|
-
React.createElement(EditDescription, { inlineEditable: true })))))));
|
|
49
|
+
React.createElement("div", { dangerouslySetInnerHTML: linkifiedDescription(replaceDescriptionHeading(description)) })))))));
|
|
49
50
|
}
|
|
@@ -37,15 +37,14 @@ function TroubleshootSection(props) {
|
|
|
37
37
|
React.createElement("section", null,
|
|
38
38
|
React.createElement("header", null,
|
|
39
39
|
React.createElement("p", { className: "pf-v5-u-pt-md" },
|
|
40
|
-
React.createElement("span", { className: "pf-v5-u-font-family-heading pf-v5-u-pr-xs" },
|
|
40
|
+
React.createElement("span", { className: "pf-v5-u-font-family-heading pf-v5-u-pr-xs" }, t('Product')),
|
|
41
41
|
" ",
|
|
42
42
|
product,
|
|
43
|
-
React.createElement("span", { className: "pf-v5-u-font-family-heading pf-v5-u-ml-xl pf-v5-u-pr-xs" },
|
|
44
|
-
' ',
|
|
43
|
+
React.createElement("span", { className: "pf-v5-u-font-family-heading pf-v5-u-ml-xl pf-v5-u-pr-xs" }, t('Version')),
|
|
45
44
|
version),
|
|
46
|
-
React.createElement("div", { className: "pf-v5-u-font-family-heading" },
|
|
45
|
+
React.createElement("div", { className: "pf-v5-u-font-family-heading" }, t('Title')),
|
|
47
46
|
React.createElement("p", null, summary),
|
|
48
|
-
React.createElement("div", { className: "pf-v5-u-font-family-heading" },
|
|
47
|
+
React.createElement("div", { className: "pf-v5-u-font-family-heading" }, t('Problem description')),
|
|
49
48
|
React.createElement("p", { className: "pf-v5-u-mb-xl" },
|
|
50
49
|
React.createElement(MoreOrLess, { maxHeight: 93 }, issue))),
|
|
51
50
|
!isCreatingCase && (React.createElement(OpenShiftClusterId, { className: "push-bottom", "data-tracking-id": "troubleshoot-section-openshift-cluster-id" })),
|
|
@@ -435,7 +435,7 @@ export default {
|
|
|
435
435
|
'The customer thinks the case is not moving appropriately': '고객이 케이스가 적절하게 처리되지 않는다고 생각하는 경우',
|
|
436
436
|
'The customer wants a new resource': '고객이 새로운 리소스를 원하는 경우',
|
|
437
437
|
'The issue is more severe than originally thought': '예상했던 것보다 문제가 심각한 경우',
|
|
438
|
-
Title: '
|
|
438
|
+
Title: '제목',
|
|
439
439
|
Email: '이메일',
|
|
440
440
|
Phone: '전화',
|
|
441
441
|
IRC: 'IRC',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.170",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -131,5 +131,5 @@
|
|
|
131
131
|
"defaults and supports es6-module",
|
|
132
132
|
"maintained node versions"
|
|
133
133
|
],
|
|
134
|
-
"gitHead": "
|
|
134
|
+
"gitHead": "61feb21e1e465d66ed43efc7f9dab1ee1e85aeb4"
|
|
135
135
|
}
|