@rh-support/cases 2.1.61-beta.2 → 2.1.61-beta.3
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/components/case-list/case-search/useAdvanceSearchParser.js +1 -1
- package/lib/esm/css/caseList.css +2 -2
- package/lib/esm/enums/case.js +1 -1
- package/lib/esm/enums/filters.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('Problem
|
|
71
|
+
title: t('Problem summary'),
|
|
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: "Problem
|
|
377
|
+
React.createElement(Td, { dataLabel: "Problem summary" }, 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: 'Problem
|
|
29
|
+
{ label: 'Problem summary', 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: 'Problem
|
|
37
|
+
{ label: 'Problem summary', 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('Problem
|
|
272
|
+
React.createElement(Checkbox, { className: "nested", label: t('Problem summary'), defaultChecked: true, isDisabled: true, id: "controlled-check-3", name: "check3" }),
|
|
273
273
|
generateCheckboxes(csvHeadersTwo))))));
|
|
274
274
|
};
|
|
275
275
|
const downloadCSVModalDescription = (numberOfCases) => {
|
|
@@ -101,7 +101,7 @@ export default function useAdvanceSearchParser({ onInit }) {
|
|
|
101
101
|
/ "createdDate" {return "${SolrKeys.createdDate}";}
|
|
102
102
|
/ "closedDate" {return "${SolrKeys.caseClosedDate}";}
|
|
103
103
|
/ "description" {return "${SolrKeys.description}";}
|
|
104
|
-
/ "
|
|
104
|
+
/ "problemSummary" {return "${SolrKeys.caseSummary}";}
|
|
105
105
|
/ "lastModifiedDate" {return "${SolrKeys.modifiedDate}";}
|
|
106
106
|
/ "lastModifiedByName" {return "${SolrKeys.modifiedBy}";}
|
|
107
107
|
/ "ownerName" {return "${SolrKeys.contactName}";}
|
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
|
-
/* Problem
|
|
505
|
+
/* Problem summary 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
|
-
/* Problem
|
|
548
|
+
/* Problem summary */
|
|
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]: 'Problem
|
|
64
|
+
[CaseListColumnIds.summary]: 'Problem summary',
|
|
65
65
|
[CaseListColumnIds.severity]: 'Severity',
|
|
66
66
|
[CaseListColumnIds.owner]: 'Owner',
|
|
67
67
|
[CaseListColumnIds.created]: 'Created date',
|
package/lib/esm/enums/filters.js
CHANGED
|
@@ -42,7 +42,7 @@ export var SolrKeys;
|
|
|
42
42
|
})(SolrKeys || (SolrKeys = {}));
|
|
43
43
|
export const advancedSearchMap = {
|
|
44
44
|
case_number: 'caseNumber',
|
|
45
|
-
case_summary: '
|
|
45
|
+
case_summary: 'problemSummary',
|
|
46
46
|
case_product: 'productName',
|
|
47
47
|
case_status: 'status',
|
|
48
48
|
case_accountNumber: 'accountNumber',
|
|
@@ -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]: 'Problem
|
|
8
|
+
[SolrKeys.caseSummary]: 'Problem summary',
|
|
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.61-beta.
|
|
3
|
+
"version": "2.1.61-beta.3",
|
|
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-beta.
|
|
47
|
-
"@rh-support/react-context": "2.1.52-beta.
|
|
46
|
+
"@rh-support/components": "2.1.47-beta.1",
|
|
47
|
+
"@rh-support/react-context": "2.1.52-beta.1",
|
|
48
48
|
"@rh-support/types": "2.0.3",
|
|
49
|
-
"@rh-support/user-permissions": "2.1.34-beta.
|
|
50
|
-
"@rh-support/utils": "2.1.24-beta.
|
|
49
|
+
"@rh-support/user-permissions": "2.1.34-beta.1",
|
|
50
|
+
"@rh-support/utils": "2.1.24-beta.1",
|
|
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": "6a9b5942ca79ed563716a8ab4fcb59ec51b69254"
|
|
100
100
|
}
|