@rh-support/cases 0.2.28 → 0.2.32
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/CaseList.d.ts.map +1 -1
- package/lib/esm/components/case-list/CaseList.js +12 -4
- package/lib/esm/components/case-list/case-list-filters/CaseListFilters.js +2 -2
- package/lib/esm/components/case-list/case-list-filters/TypeFilter.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/TypeFilter.js +6 -2
- package/lib/esm/components/case-list/case-list-table/CaseListTable.js +1 -1
- package/lib/esm/components/case-list/case-list-table/ExportCaseListCSV.js +1 -1
- package/lib/esm/utils/caseListUtils.d.ts +1 -0
- package/lib/esm/utils/caseListUtils.d.ts.map +1 -1
- package/lib/esm/utils/caseListUtils.js +7 -18
- package/lib/esm/utils/constants.js +1 -1
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseList.d.ts","sourceRoot":"","sources":["../../../../src/components/case-list/CaseList.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAChC,OAAO,0BAA0B,CAAC;AA4BlC,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAKH,0BAA0B,EAI7B,MAAM,mBAAmB,CAAC;AAK3B,OAAO,EAAE,mBAAmB,EAAe,MAAM,cAAc,CAAC;AAEhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAK1C,OAAO,EAAgB,WAAW,EAA2B,MAAM,uBAAuB,CAAC;AA4B3F,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;CACzD;AAED,MAAM,WAAW,uBAAwB,SAAQ,cAAc;IAC3D,YAAY,EAAE,cAAc,EAAE,CAAC;CAClC;AAED,oBAAY,YAAY,GAAG,0BAA0B,CAAC,WAAW,EAAE,uBAAuB,CAAC,CAAC;AAM5F,MAAM,WAAW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K,EAAE,MAAM,eAidrC"}
|
|
@@ -37,7 +37,7 @@ import { CaseSearch } from './case-search/CaseSearch';
|
|
|
37
37
|
import { useCaseListDispatchContext, useCaseListStateContext } from './CaseListContext';
|
|
38
38
|
import { CaseListFilterDispatchContext, CaseListFilterStateContext } from './CaseListFilterContext';
|
|
39
39
|
import { isNoFilterApplied, isOnlyDefaultFilterApplied } from './CaseListFilterHelpers';
|
|
40
|
-
import { updateFilterState } from './CaseListFilterReducer';
|
|
40
|
+
import { initialFilterInfo, updateFilterState } from './CaseListFilterReducer';
|
|
41
41
|
import { setCaseList, setCurrentQuery, setFilterValuesFromFacetResponse, setIsFetching, setPivotValues, } from './CaseListReducer';
|
|
42
42
|
export function CaseList(props) {
|
|
43
43
|
var _a, _b;
|
|
@@ -81,7 +81,11 @@ export function CaseList(props) {
|
|
|
81
81
|
// recreate a new AbortController for each call
|
|
82
82
|
let controller = new AbortController();
|
|
83
83
|
abortControllerRef.current = controller;
|
|
84
|
-
const { caseListResponse, isSolrSearchDownSFDCUp, showErrorMessage } = yield getCaseList(currentFilterState, loggedInUserRights.data, loggedInUsersAccount.data, controller.signal);
|
|
84
|
+
const { caseListResponse, isSolrSearchDownSFDCUp, showErrorMessage, resetFilters } = yield getCaseList(currentFilterState, loggedInUserRights.data, loggedInUsersAccount.data, controller.signal);
|
|
85
|
+
if (resetFilters) {
|
|
86
|
+
updateFilterState(filterDispatch, Object.assign(Object.assign({}, filterState), { filterInfo: Object.assign({}, initialFilterInfo) }));
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
85
89
|
showError = showErrorMessage;
|
|
86
90
|
setSolrSearchDown(isSolrSearchDownSFDCUp);
|
|
87
91
|
setFilterValuesFromFacetResponse(CaseListDispatch, solrResponseToFacetFields(caseListResponse));
|
|
@@ -130,7 +134,11 @@ export function CaseList(props) {
|
|
|
130
134
|
};
|
|
131
135
|
const checkNewCases = () => __awaiter(this, void 0, void 0, function* () {
|
|
132
136
|
try {
|
|
133
|
-
const { caseListResponse, isSolrSearchDownSFDCUp } = yield getCaseList(filterState, loggedInUserRights.data, loggedInUsersAccount.data, null);
|
|
137
|
+
const { caseListResponse, isSolrSearchDownSFDCUp, resetFilters } = yield getCaseList(filterState, loggedInUserRights.data, loggedInUsersAccount.data, null);
|
|
138
|
+
if (resetFilters) {
|
|
139
|
+
updateFilterState(filterDispatch, Object.assign(Object.assign({}, filterState), { filterInfo: Object.assign({}, initialFilterInfo) }));
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
134
142
|
setSolrSearchDown(isSolrSearchDownSFDCUp);
|
|
135
143
|
let changed = false;
|
|
136
144
|
if (caseListResponse.response.numFound <= filterState.paginationInfo.pageSize &&
|
|
@@ -151,7 +159,7 @@ export function CaseList(props) {
|
|
|
151
159
|
}
|
|
152
160
|
});
|
|
153
161
|
}
|
|
154
|
-
if (changed) {
|
|
162
|
+
if (changed && location.pathname === '/case/list') {
|
|
155
163
|
setCaseList(CaseListDispatch, caseListResponse.response);
|
|
156
164
|
pendoTrackEvent(UpdatedCaseDataEvent);
|
|
157
165
|
ToastNotification.addSuccessMessage(t('Case data has been updated'));
|
|
@@ -29,12 +29,12 @@ export const CaseListFilters = ({ filterValues, allCaseTypes, allCaseSeverities,
|
|
|
29
29
|
return (React.createElement(React.Fragment, null,
|
|
30
30
|
React.createElement("div", { className: "filter-group" },
|
|
31
31
|
!isSolrSearchDown && canReadBookmarkAccounts && (React.createElement(AccountsFilter, { canReadBookmarkAccounts: canReadBookmarkAccounts })),
|
|
32
|
-
(canReadBookmarkAccounts || canAccessManagedAccounts) && (React.createElement(AccountsFilterWrapper, { canManageBookmarkAccounts: canManageBookmarkAccounts, canReadBookmarkAccounts: canReadBookmarkAccounts, canAccessManagedAccounts: canAccessManagedAccounts })),
|
|
32
|
+
!isSolrSearchDown && (canReadBookmarkAccounts || canAccessManagedAccounts) && (React.createElement(AccountsFilterWrapper, { canManageBookmarkAccounts: canManageBookmarkAccounts, canReadBookmarkAccounts: canReadBookmarkAccounts, canAccessManagedAccounts: canAccessManagedAccounts })),
|
|
33
33
|
canAccessGroupsFilter && React.createElement(GroupsFilter, null),
|
|
34
34
|
canAccessProductsFilter && (React.createElement(ProductsFilter, { filterValues: get(filterValues, SolrKeys.product, []), isSolrSearchDown: isSolrSearchDown, allProducts: ((_a = allProducts.data) === null || _a === void 0 ? void 0 : _a.productsResult.map((p) => p.product)) || [] })),
|
|
35
35
|
canAccessSeverityFilter && (React.createElement(SeverityFilter, { filterValues: get(filterValues, SolrKeys.severity, []), isSolrSearchDown: isSolrSearchDown, allCaseSeverities: allCaseSeverities.data })),
|
|
36
36
|
canAccessStatusFilter && (React.createElement(StatusFilter, { filterValues: get(filterValues, SolrKeys.status, []), allCaseStatuses: allCaseStatuses.data, isSolrSearchDown: isSolrSearchDown })),
|
|
37
|
-
canAccessCreatorFilter && React.createElement(CreatorSsoNameFilter, null),
|
|
37
|
+
!isSolrSearchDown && canAccessCreatorFilter && React.createElement(CreatorSsoNameFilter, null),
|
|
38
38
|
!isSolrSearchDown && canAccessTypeFilter && React.createElement(TypeFilter, { allCaseTypes: allCaseTypes.data }),
|
|
39
39
|
!isSolrSearchDown && canAccessAdditionalFilter && React.createElement(AdditionalFilters, null))));
|
|
40
40
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-filters/TypeFilter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TypeFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-filters/TypeFilter.tsx"],"names":[],"mappings":"AAWA,UAAU,MAAM;IACZ,YAAY,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,eA6CvC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { MultiSelectDropDownList } from '@rh-support/components';
|
|
2
|
+
import { FeatureAnnouncementKeys, NewFeatureLabel } from '@rh-support/react-context';
|
|
2
3
|
import { getDropdownBtnPlaceholder, toOptions } from '@rh-support/utils';
|
|
3
4
|
import React, { useContext } from 'react';
|
|
4
|
-
import { useTranslation } from 'react-i18next';
|
|
5
|
+
import { Trans, useTranslation } from 'react-i18next';
|
|
5
6
|
import { SolrKeys } from '../../../enums/filters';
|
|
6
7
|
import { filterNamesMap } from '../../../utils/constants';
|
|
7
8
|
import { CaseListFilterDispatchContext, CaseListFilterStateContext } from '../CaseListFilterContext';
|
|
@@ -14,5 +15,8 @@ export function TypeFilter(props) {
|
|
|
14
15
|
filterKey: SolrKeys.type,
|
|
15
16
|
values: selectedTypes.map((selectedType) => selectedType.label),
|
|
16
17
|
});
|
|
17
|
-
return (React.createElement(MultiSelectDropDownList, { placeholder: getDropdownBtnPlaceholder(t('Select a type'), filterInfo[SolrKeys.type], ' ', props.allCaseTypes.length, t('All selected')), "data-tracking-id": "type-filter", id: "case-list-type-filter", title: t(filterNamesMap[SolrKeys.type]), label:
|
|
18
|
+
return (React.createElement(MultiSelectDropDownList, { placeholder: getDropdownBtnPlaceholder(t('Select a case type'), filterInfo[SolrKeys.type], ' ', props.allCaseTypes.length, t('All selected')), "data-tracking-id": "type-filter", id: "case-list-type-filter", title: t(filterNamesMap[SolrKeys.type]), label: React.createElement("h3", { className: "pull-bottom-narrow" },
|
|
19
|
+
t(filterNamesMap[SolrKeys.type]),
|
|
20
|
+
React.createElement(NewFeatureLabel, { "aria-label": "send notification new feature announcement", hasAutoWidth: true, featureName: FeatureAnnouncementKeys.CASE_TYPE_FILTER, headerContent: React.createElement(Trans, null, "New filter available"), position: 'right', bodyContent: React.createElement("div", null,
|
|
21
|
+
React.createElement(Trans, null, "You can now filter by case type.")) })), onChange: onFilterChangeMultipleSelect, selectedItems: toOptions(filterInfo[SolrKeys.type]), list: toOptions(props.allCaseTypes) }));
|
|
18
22
|
}
|
|
@@ -155,7 +155,7 @@ export function CaseListTable(props) {
|
|
|
155
155
|
{
|
|
156
156
|
id: CaseListColumnIds.type,
|
|
157
157
|
cellWidth: 10,
|
|
158
|
-
title: t('
|
|
158
|
+
title: t('Case type'),
|
|
159
159
|
sortable: true,
|
|
160
160
|
accessor: (data) => data.case_type,
|
|
161
161
|
show: isColumnVisible(CaseListColumnIds.type),
|
|
@@ -52,7 +52,7 @@ const csvHeadersSFDC = [
|
|
|
52
52
|
{ label: 'Modified date', key: SFDCKeys.lastPublicUpdateDate, transform: formatDateTime },
|
|
53
53
|
{ label: 'Uri', key: SFDCKeys.uri },
|
|
54
54
|
{ label: 'Alternate case ID', key: SFDCKeys.alternateId },
|
|
55
|
-
{ label: '
|
|
55
|
+
{ label: 'Case type', key: SFDCKeys.caseType },
|
|
56
56
|
];
|
|
57
57
|
const groupHeaderSOLR = { label: 'Group', key: SolrKeys.groupName };
|
|
58
58
|
const groupHeaderSFDC = { label: 'Group', key: SFDCKeys.groupName };
|
|
@@ -12,6 +12,7 @@ interface ICaseListResponse {
|
|
|
12
12
|
caseListResponse: ISolrCaseSearchResponse;
|
|
13
13
|
isSolrSearchDownSFDCUp: boolean;
|
|
14
14
|
showErrorMessage: boolean;
|
|
15
|
+
resetFilters: boolean;
|
|
15
16
|
}
|
|
16
17
|
export declare function getCaseList(filterState: ICaseListFilterState, loggedInUser: UserAuth, loggedInUserAccount: Partial<IAccount>, abortSignal: AbortSignal, forceSfdcSearch?: boolean): Promise<ICaseListResponse>;
|
|
17
18
|
export declare function getCaseListFromSolr(solrQuery: ISearchSolrQuery, partnerSearch: boolean, abortSignal: AbortSignal, isSecureSupport?: boolean): Promise<ISolrCaseSearchResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"caseListUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/caseListUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,QAAQ,E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,eAAe,CAAC,EAAE,OAAO,GAC1B,OAAO,CAAC,iBAAiB,CAAC,CAyE5B;AAED,wBAAgB,mBAAmB,CAC/B,SAAS,EAAE,gBAAgB,EAC3B,aAAa,EAAE,OAAO,EACtB,WAAW,EAAE,WAAW,EACxB,eAAe,GAAE,OAAe,GACjC,OAAO,CAAC,uBAAuB,CAAC,CASlC"}
|
|
@@ -37,10 +37,11 @@ const throwErrorOnAbort = (message) => {
|
|
|
37
37
|
// Even though SFDC support most of the filters but another problem with SFDC is it doesnot support multiple values for a praticular filter.
|
|
38
38
|
// if user applies any filter apart from default filter we will always call solr and assume that(not safely) 10 sec scenario is not bound to happen.
|
|
39
39
|
export function getCaseList(filterState, loggedInUser, loggedInUserAccount, abortSignal, forceSfdcSearch) {
|
|
40
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
|
40
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
41
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
42
42
|
let isSolrSearchDownSFDCUp = false;
|
|
43
43
|
let showErrorMessage = false;
|
|
44
|
+
let resetFilters = false;
|
|
44
45
|
let caseListResponse;
|
|
45
46
|
const solrFilter = createSolrQueryFromFilterState(filterState, loggedInUser);
|
|
46
47
|
const partnerSearch = loggedInUser.hasManagedAccounts() && ((_b = (_a = filterState.filterInfo) === null || _a === void 0 ? void 0 : _a.case_accountNumber) !== null && _b !== void 0 ? _b : []).length > 0;
|
|
@@ -62,25 +63,12 @@ export function getCaseList(filterState, loggedInUser, loggedInUserAccount, abor
|
|
|
62
63
|
showErrorMessage = true;
|
|
63
64
|
}
|
|
64
65
|
else if (!solrFullfilled && sfdcCallNotMade) {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
if (sfdcFullfilled) {
|
|
68
|
-
isSolrSearchDownSFDCUp = true;
|
|
69
|
-
const mappedSfdcRes = mapSFDCCaseListToSolrCaseList((_g = (_f = sfdcRes === null || sfdcRes === void 0 ? void 0 : sfdcRes.v) === null || _f === void 0 ? void 0 : _f.cases) !== null && _g !== void 0 ? _g : []);
|
|
70
|
-
caseListResponse = {
|
|
71
|
-
response: {
|
|
72
|
-
docs: mappedSfdcRes,
|
|
73
|
-
numFound: sfdcRes.v.totalCount,
|
|
74
|
-
},
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
showErrorMessage = true;
|
|
79
|
-
}
|
|
66
|
+
// SFDC call didn't make because we had filters that SFDC doesn't support
|
|
67
|
+
resetFilters = true;
|
|
80
68
|
}
|
|
81
69
|
else if (solrFullfilled && sfdcFullfilled) {
|
|
82
70
|
caseListResponse = Object.assign(Object.assign({}, solrResponse.v), { response: {
|
|
83
|
-
docs: mapSFDCCaseListToSolrCaseList((
|
|
71
|
+
docs: mapSFDCCaseListToSolrCaseList((_f = (_e = sfdcResponse === null || sfdcResponse === void 0 ? void 0 : sfdcResponse.v) === null || _e === void 0 ? void 0 : _e.cases) !== null && _f !== void 0 ? _f : []),
|
|
84
72
|
numFound: sfdcResponse.v.totalCount,
|
|
85
73
|
} });
|
|
86
74
|
}
|
|
@@ -88,7 +76,7 @@ export function getCaseList(filterState, loggedInUser, loggedInUserAccount, abor
|
|
|
88
76
|
isSolrSearchDownSFDCUp = true;
|
|
89
77
|
caseListResponse = {
|
|
90
78
|
response: {
|
|
91
|
-
docs: mapSFDCCaseListToSolrCaseList((
|
|
79
|
+
docs: mapSFDCCaseListToSolrCaseList((_h = (_g = sfdcResponse === null || sfdcResponse === void 0 ? void 0 : sfdcResponse.v) === null || _g === void 0 ? void 0 : _g.cases) !== null && _h !== void 0 ? _h : []),
|
|
92
80
|
numFound: sfdcResponse.v.totalCount,
|
|
93
81
|
},
|
|
94
82
|
};
|
|
@@ -100,6 +88,7 @@ export function getCaseList(filterState, loggedInUser, loggedInUserAccount, abor
|
|
|
100
88
|
caseListResponse,
|
|
101
89
|
isSolrSearchDownSFDCUp,
|
|
102
90
|
showErrorMessage,
|
|
91
|
+
resetFilters,
|
|
103
92
|
};
|
|
104
93
|
});
|
|
105
94
|
}
|
|
@@ -17,7 +17,7 @@ export const filterNamesMap = {
|
|
|
17
17
|
[SolrKeys.caseNumber]: 'Case number',
|
|
18
18
|
[SolrKeys.createdBySsoUsername]: 'Created by me',
|
|
19
19
|
[SolrKeys.caseContactSSO]: 'Owned by me',
|
|
20
|
-
[SolrKeys.type]: '
|
|
20
|
+
[SolrKeys.type]: 'Case type',
|
|
21
21
|
usernameFilterTitle: 'Username',
|
|
22
22
|
};
|
|
23
23
|
export const UpdatedCaseDataEvent = 'PCM-Next > case-list-data-background-refresh';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/cases",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.32",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"@patternfly/react-core": "4.128.2",
|
|
54
54
|
"@patternfly/react-table": "4.26.7",
|
|
55
55
|
"@rh-support/api": "0.3.9",
|
|
56
|
-
"@rh-support/components": "1.1.
|
|
57
|
-
"@rh-support/react-context": "0.2.
|
|
56
|
+
"@rh-support/components": "1.1.23",
|
|
57
|
+
"@rh-support/react-context": "0.2.26",
|
|
58
58
|
"@rh-support/types": "0.2.0",
|
|
59
|
-
"@rh-support/user-permissions": "0.2.
|
|
60
|
-
"@rh-support/utils": "0.2.
|
|
59
|
+
"@rh-support/user-permissions": "0.2.17",
|
|
60
|
+
"@rh-support/utils": "0.2.15",
|
|
61
61
|
"i18next": "^19.0.1",
|
|
62
62
|
"localforage": "^1.7.3",
|
|
63
63
|
"lodash": "^4.17.15",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"not ie <= 11",
|
|
102
102
|
"not op_mini all"
|
|
103
103
|
],
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "89ef7aa11c6152e04055c8869184e1e146ebea99"
|
|
105
105
|
}
|