@rh-support/cases 2.1.60 → 2.1.61-beta.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.
- package/lib/esm/components/case-list/case-list-table/CaseListTable.js +2 -2
- package/lib/esm/components/case-list/case-list-table/DownloadCSVFileModal.js +3 -3
- package/lib/esm/css/caseList.css +2 -2
- package/lib/esm/enums/case.js +1 -1
- package/lib/esm/utils/constants.js +1 -1
- package/package.json +6 -6
|
@@ -68,7 +68,7 @@ export function CaseListTable(props) {
|
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
id: CaseListColumnIds.summary,
|
|
71
|
-
title: t('
|
|
71
|
+
title: t('Problem statement'),
|
|
72
72
|
sortable: true,
|
|
73
73
|
},
|
|
74
74
|
{
|
|
@@ -374,7 +374,7 @@ export function CaseListTable(props) {
|
|
|
374
374
|
React.createElement("span", { className: "case-number" }, row.case_number)),
|
|
375
375
|
row.case_customer_escalation ? (React.createElement("div", { className: "escalation-label" },
|
|
376
376
|
React.createElement(Trans, null, "Escalated"))) : (''))),
|
|
377
|
-
React.createElement(Td, { dataLabel: "
|
|
377
|
+
React.createElement(Td, { dataLabel: "Problem statement" }, row.case_summary),
|
|
378
378
|
React.createElement(Td, { className: !isColumnVisible('contactName') ? Visibility.hidden : '', dataLabel: "Owner" }, row.case_contactName),
|
|
379
379
|
React.createElement(Td, { className: !isColumnVisible('lastModifiedDate') ? Visibility.hidden : '', dataLabel: "Modified by" },
|
|
380
380
|
React.createElement("span", { className: "modified-name" }, row.case_lastModifiedByName),
|
|
@@ -26,7 +26,7 @@ const csvHeadersSolr = [
|
|
|
26
26
|
label: 'Case link',
|
|
27
27
|
key: 'case_link',
|
|
28
28
|
},
|
|
29
|
-
{ label: '
|
|
29
|
+
{ label: 'Problem statement', key: SolrKeys.caseSummary },
|
|
30
30
|
];
|
|
31
31
|
const csvHeadersSFDC = [
|
|
32
32
|
{ label: 'Case number', key: SFDCKeys.caseNumber },
|
|
@@ -34,7 +34,7 @@ const csvHeadersSFDC = [
|
|
|
34
34
|
label: 'Case link',
|
|
35
35
|
key: 'case_link',
|
|
36
36
|
},
|
|
37
|
-
{ label: '
|
|
37
|
+
{ label: 'Problem statement', key: SFDCKeys.caseSummary },
|
|
38
38
|
];
|
|
39
39
|
export default function DownloadCSVFileModal(props) {
|
|
40
40
|
const { onClose, onModalshow, isDisabled, loggedInUserRights, loggedInUsersAccount, filterState, selectedCases, filteredCaseCount, } = props;
|
|
@@ -269,7 +269,7 @@ export default function DownloadCSVFileModal(props) {
|
|
|
269
269
|
React.createElement(Checkbox, { className: "nested", label: t('Case ID'), defaultChecked: true, isDisabled: true, id: "controlled-check-2", name: "check2" }),
|
|
270
270
|
generateCheckboxes(csvHeadersOne)),
|
|
271
271
|
React.createElement(GridItem, { span: 6 },
|
|
272
|
-
React.createElement(Checkbox, { className: "nested", label: t('
|
|
272
|
+
React.createElement(Checkbox, { className: "nested", label: t('Problem statement'), defaultChecked: true, isDisabled: true, id: "controlled-check-3", name: "check3" }),
|
|
273
273
|
generateCheckboxes(csvHeadersTwo))))));
|
|
274
274
|
};
|
|
275
275
|
const downloadCSVModalDescription = (numberOfCases) => {
|
package/lib/esm/css/caseList.css
CHANGED
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
border-right: var(--pf-v5-c-table--border-width--base) solid var(--pf-v5-c-table--BorderColor);
|
|
503
503
|
}
|
|
504
504
|
|
|
505
|
-
/*
|
|
505
|
+
/* Problem statement Header */
|
|
506
506
|
th#summary.pf-v5-c-table__th,
|
|
507
507
|
.case-list-table tbody > tr > :nth-child(3) {
|
|
508
508
|
min-width: 270px !important;
|
|
@@ -545,7 +545,7 @@
|
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
@media (min-width: 1800px) {
|
|
548
|
-
/*
|
|
548
|
+
/* Problem statement */
|
|
549
549
|
th#summary.pf-v5-c-table__th,
|
|
550
550
|
.case-list-table tbody > tr > :nth-child(3) {
|
|
551
551
|
min-width: 500px !important;
|
package/lib/esm/enums/case.js
CHANGED
|
@@ -61,7 +61,7 @@ export const caseListSortColumnIdsToSFDCMap = {
|
|
|
61
61
|
};
|
|
62
62
|
export const caseTableColumSortNamesMap = {
|
|
63
63
|
[CaseListColumnIds.caseId]: 'Case ID',
|
|
64
|
-
[CaseListColumnIds.summary]: '
|
|
64
|
+
[CaseListColumnIds.summary]: 'Problem statement',
|
|
65
65
|
[CaseListColumnIds.severity]: 'Severity',
|
|
66
66
|
[CaseListColumnIds.owner]: 'Owner',
|
|
67
67
|
[CaseListColumnIds.created]: 'Created date',
|
|
@@ -5,7 +5,7 @@ export const filterNamesMap = {
|
|
|
5
5
|
[SolrKeys.severity]: 'Severity',
|
|
6
6
|
[SolrKeys.group]: 'Groups',
|
|
7
7
|
[SolrKeys.accountNumber]: 'Bookmarks',
|
|
8
|
-
[SolrKeys.caseSummary]: '
|
|
8
|
+
[SolrKeys.caseSummary]: 'Problem statement',
|
|
9
9
|
[SolrKeys.escalation]: 'Escalated',
|
|
10
10
|
[SolrKeys.contactName]: 'Owner',
|
|
11
11
|
[SolrKeys.product]: 'Products',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/cases",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.61-beta.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"@patternfly/patternfly": "5.1.0",
|
|
44
44
|
"@patternfly/react-core": "5.1.1",
|
|
45
45
|
"@patternfly/react-table": "5.1.1",
|
|
46
|
-
"@rh-support/components": "2.1.
|
|
47
|
-
"@rh-support/react-context": "2.1.
|
|
46
|
+
"@rh-support/components": "2.1.47-beta.0",
|
|
47
|
+
"@rh-support/react-context": "2.1.52-beta.0",
|
|
48
48
|
"@rh-support/types": "2.0.3",
|
|
49
|
-
"@rh-support/user-permissions": "2.1.
|
|
50
|
-
"@rh-support/utils": "2.1.
|
|
49
|
+
"@rh-support/user-permissions": "2.1.34-beta.0",
|
|
50
|
+
"@rh-support/utils": "2.1.24-beta.0",
|
|
51
51
|
"localforage": "^1.10.0",
|
|
52
52
|
"lodash": "^4.17.21",
|
|
53
53
|
"pegjs": "^0.10.0",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"defaults and supports es6-module",
|
|
97
97
|
"maintained node versions"
|
|
98
98
|
],
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "c174cc274ad92d9554361abee8fa784d4ebbd245"
|
|
100
100
|
}
|