@rh-support/cases 1.0.5 → 1.0.6

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.
@@ -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;AAO3B,OAAO,EAAE,mBAAmB,EAAe,MAAM,cAAc,CAAC;AAEhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAK1C,OAAO,EAAgB,WAAW,EAA2B,MAAM,uBAAuB,CAAC;AAmC3F,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,gBAAgB;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;CAChC;AAED,MAAM,WAAW,aAAa;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,eAkfrC"}
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;AAO3B,OAAO,EAAE,mBAAmB,EAAe,MAAM,cAAc,CAAC;AAEhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAK1C,OAAO,EAAgB,WAAW,EAA2B,MAAM,uBAAuB,CAAC;AAmC3F,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,gBAAgB;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;CAChC;AAED,MAAM,WAAW,aAAa;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,eAsfrC"}
@@ -114,11 +114,14 @@ export function CaseList(props) {
114
114
  function saveFilterQueryInUserPreferences() {
115
115
  if (isNoFilterApplied(filterState))
116
116
  return;
117
+ const type = filterState.filterQueryInfo.type;
117
118
  const recentSerach = {
118
- filterState: filterState.filterInfo,
119
+ filterState: type === CaseSearchQueryType.BASIC ? filterState.filterInfo : {},
119
120
  sortState: filterState.sortInfo,
120
- queryString: filterState.filterQueryInfo.queryString,
121
- type: filterState.filterQueryInfo.type,
121
+ queryString: type === CaseSearchQueryType.BASIC
122
+ ? filterState.filterQueryInfo.queryString
123
+ : filterState.filterQueryInfo.parsedQuery,
124
+ type,
122
125
  };
123
126
  try {
124
127
  updateUserPreferences(dispatchToGlobalMetadataReducer, loggedInUserRights.data.getSSOUsername(), [{ key: UserPreferencesKeys.mostRecentSearch, value: JSON.stringify(recentSerach) }], 'add');
@@ -1 +1 @@
1
- {"version":3,"file":"BookmarkedSearchesSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-search/BookmarkedSearchesSelector.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAWhE,UAAU,MAAM;IACZ,uBAAuB,EAAE,MAAM,CAAC;IAChC,iBAAiB,EAAE,mBAAmB,CAAC;IACvC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,MAAM,CAAC;CAClC;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,eAiRvD"}
1
+ {"version":3,"file":"BookmarkedSearchesSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-search/BookmarkedSearchesSelector.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAahE,UAAU,MAAM;IACZ,uBAAuB,EAAE,MAAM,CAAC;IAChC,iBAAiB,EAAE,mBAAmB,CAAC;IACvC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,MAAM,CAAC;CAClC;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,eAoSvD"}
@@ -20,13 +20,15 @@ import isEqual from 'lodash/isEqual';
20
20
  import React, { useContext, useEffect, useRef, useState } from 'react';
21
21
  import { Trans, useTranslation } from 'react-i18next';
22
22
  import { CaseSearchQueryType } from '../../../enums/caseSearch';
23
+ import { createFilterStateFromAdvancedQuery } from '../../../utils/caseSearchUtils';
23
24
  import { CaseListFilterDispatchContext, CaseListFilterStateContext, initialCaseFilterState, } from '../CaseListFilterContext';
24
25
  import { isNoFilterApplied, isOnlyDefaultFilterApplied } from '../CaseListFilterHelpers';
25
- import { clearFilters, updateFilterQuery, updateFilterState, updateSort } from '../CaseListFilterReducer';
26
+ import { clearFilters, updateFilterState, updateSort } from '../CaseListFilterReducer';
26
27
  import { SaveCaseSearchModal } from './SaveCaseSearchModal';
28
+ import useAdvanceSearchParser from './useAdvanceSearchParser';
27
29
  export function BookmarkedSearchesSelector(props) {
28
30
  const { t } = useTranslation();
29
- const { globalMetadataState: { hydraUserPreferences }, } = useContext(GlobalMetadataStateContext);
31
+ const { globalMetadataState, globalMetadataState: { hydraUserPreferences }, } = useContext(GlobalMetadataStateContext);
30
32
  const dispatch = useContext(CaseListFilterDispatchContext);
31
33
  const [bookmarkedSearches, setBookmarkedSearches] = useState({});
32
34
  const [mostRecentSearch, setMostRecentSearch] = useState({});
@@ -37,6 +39,7 @@ export function BookmarkedSearchesSelector(props) {
37
39
  const [isMenuOpen, toggleMenu] = useState(false);
38
40
  const isUpdatingFilters = useRef(false);
39
41
  const [isAddingBookmarkSearch, setIsAddingBookmarkSearch] = useState(false);
42
+ const { parse } = useAdvanceSearchParser({ onInit: () => { } });
40
43
  const [selectedSearchNameToEdit, setSelectedSearchNameToEdit] = useState('');
41
44
  const [userPreferredSearch, setUserPreferredSearch] = useState('');
42
45
  useEffect(() => {
@@ -119,9 +122,18 @@ export function BookmarkedSearchesSelector(props) {
119
122
  clearFilters(dispatch, true);
120
123
  setSelectedSearch(selectedItem);
121
124
  const { filterState: filterStateSaved, queryString, type, sortState } = searchQuery;
125
+ if (type === CaseSearchQueryType.ADVANCED) {
126
+ const newFilterState = createFilterStateFromAdvancedQuery(parse(queryString).replace(/ and /g, ' AND ').replace(/ or /g, ' OR '), globalMetadataState, initialCaseFilterState, queryString, type);
127
+ updateFilterState(dispatch, newFilterState);
128
+ }
129
+ else {
130
+ updateFilterState(dispatch, Object.assign(Object.assign({}, initialCaseFilterState), { filterQueryInfo: {
131
+ queryString: queryString || '',
132
+ type: type || CaseSearchQueryType.BASIC,
133
+ parsedQuery: '',
134
+ }, filterInfo: Object.assign(Object.assign({}, initialCaseFilterState.filterInfo), filterStateSaved) }));
135
+ }
122
136
  // update filters with new value
123
- updateFilterQuery(dispatch, { queryString: queryString || '', type: type || CaseSearchQueryType.BASIC });
124
- updateFilterState(dispatch, { filterInfo: Object.assign(Object.assign({}, initialCaseFilterState.filterInfo), filterStateSaved) });
125
137
  sortState && updateSort(dispatch, sortState);
126
138
  doToggle && toggleMenu(!isMenuOpen);
127
139
  isUpdatingFilters.current = false;
@@ -1 +1 @@
1
- {"version":3,"file":"CaseSearch.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-search/CaseSearch.tsx"],"names":[],"mappings":"AAsBA,UAAU,MAAM;IACZ,sBAAsB,EAAE,MAAM,CAAC;CAClC;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,eAsLvC"}
1
+ {"version":3,"file":"CaseSearch.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-search/CaseSearch.tsx"],"names":[],"mappings":"AAsBA,UAAU,MAAM;IACZ,sBAAsB,EAAE,MAAM,CAAC;CAClC;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,eAqLvC"}
@@ -33,24 +33,22 @@ export function CaseSearch(props) {
33
33
  }
34
34
  }, [filterQueryInfo, getType]);
35
35
  const onSearchValChange = (value) => {
36
- if (isEmpty(value.trim())) {
37
- setSearchVal('');
38
- // clear search but keep type and sort info
39
- updateFilterState(dispatch, Object.assign(Object.assign({}, filterState), { filterInfo: initialFilterInfo, filterQueryInfo: {
40
- queryString: '',
41
- parsedQuery: '',
42
- type: CaseSearchQueryType.ADVANCED,
43
- }, paginationInfo: initialPaginationInfo }));
44
- }
45
- else {
46
- setSearchVal(value.trim());
47
- }
36
+ setSearchVal(value === null || value === void 0 ? void 0 : value.trim());
48
37
  };
49
38
  const clearSearchVal = () => {
50
39
  setSearchVal('');
51
40
  (filterQueryInfo === null || filterQueryInfo === void 0 ? void 0 : filterQueryInfo.queryString) &&
52
41
  updateFilterQuery(dispatch, { type: getType(), queryString: '', parsedQuery: '' });
53
42
  };
43
+ const clearAdvancedSearchVal = () => {
44
+ setSearchVal('');
45
+ // clear search but keep type and sort info
46
+ updateFilterState(dispatch, Object.assign(Object.assign({}, filterState), { filterInfo: initialFilterInfo, filterQueryInfo: {
47
+ queryString: '',
48
+ parsedQuery: '',
49
+ type: CaseSearchQueryType.ADVANCED,
50
+ }, paginationInfo: initialPaginationInfo }));
51
+ };
54
52
  const onCaseSearch = (parsedQuery = '', queryString = searchVal) => {
55
53
  updateFilterQuery(dispatch, { type: getType(), queryString, parsedQuery });
56
54
  };
@@ -99,7 +97,7 @@ export function CaseSearch(props) {
99
97
  };
100
98
  const renderAdvanceSearch = () => {
101
99
  return canUseAdvancedSearch ? (React.createElement(React.Fragment, null,
102
- React.createElement(AdvanceSearch, { onSearchValChange: onSearchValChange, onSearchClear: clearSearchVal, onSearchSubmit: onCaseSearchAdvanced, onSearchTypeChange: onSearchTypeChange, onAdvancedSearchValidation: (isValid) => setIsAdvancedSearchValid(isValid) }))) : (React.createElement(React.Fragment, null));
100
+ React.createElement(AdvanceSearch, { onSearchValChange: onSearchValChange, onSearchClear: clearAdvancedSearchVal, onSearchSubmit: onCaseSearchAdvanced, onSearchTypeChange: onSearchTypeChange, onAdvancedSearchValidation: (isValid) => setIsAdvancedSearchValid(isValid) }))) : (React.createElement(React.Fragment, null));
103
101
  };
104
102
  return (React.createElement(React.Fragment, null,
105
103
  React.createElement("form", { onSubmit: handleSubmit, onKeyDown: handleSearchInputKeyDown },
@@ -19,7 +19,7 @@ export declare const fieldNameToSolrFieldMapping: {
19
19
  export declare const advanceSearchFieldNameToSolrFieldMapping: {
20
20
  case_24_7: string;
21
21
  case_is_cep: string;
22
- case_accountNumber: string;
22
+ case_account_name: string;
23
23
  case_number: string;
24
24
  case_owner_sso_username: string;
25
25
  case_lastModifiedByName: string;
@@ -35,6 +35,7 @@ export declare const advanceSearchFieldNameToSolrFieldMapping: {
35
35
  case_closedDate: string;
36
36
  case_product: string;
37
37
  case_status: string;
38
+ case_accountNumber: string;
38
39
  case_folderNumber: string;
39
40
  case_severity: string;
40
41
  case_customer_escalation: string;
@@ -1 +1 @@
1
- {"version":3,"file":"caseSearch.d.ts","sourceRoot":"","sources":["../../../src/enums/caseSearch.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAE/C,oBAAY,mBAAmB;IAC3B,KAAK,UAAU;IACf,QAAQ,aAAa;CACxB;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;CAYvC,CAAC;AAEF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;CAkBpD,CAAC"}
1
+ {"version":3,"file":"caseSearch.d.ts","sourceRoot":"","sources":["../../../src/enums/caseSearch.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAE/C,oBAAY,mBAAmB;IAC3B,KAAK,UAAU;IACf,QAAQ,aAAa;CACxB;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;CAYvC,CAAC;AAEF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;CAkBpD,CAAC"}
@@ -8,7 +8,7 @@ export var CaseSearchQueryType;
8
8
  export const fieldNameToSolrFieldMapping = {
9
9
  [SolrKeys.product]: 'productName',
10
10
  [SolrKeys.status]: 'status',
11
- [SolrKeys.accountNumber]: 'accountName',
11
+ [SolrKeys.accountNumber]: 'accountNumber',
12
12
  [SolrKeys.group]: 'group',
13
13
  [SolrKeys.severity]: 'severity',
14
14
  [SolrKeys.caseOwner]: 'owner',
@@ -18,4 +18,4 @@ export const fieldNameToSolrFieldMapping = {
18
18
  [SolrKeys.createdBySsoUsername]: 'createdBySsoUsername',
19
19
  [SolrKeys.type]: 'caseType',
20
20
  };
21
- export const advanceSearchFieldNameToSolrFieldMapping = Object.assign(Object.assign({}, fieldNameToSolrFieldMapping), { [SolrKeys.fts]: 'FTS', [SolrKeys.cep]: 'CEP', [SolrKeys.accountNumber]: 'accountNumber', [SolrKeys.caseNumber]: 'caseNumber', [SolrKeys.caseOwner]: 'ownerSSO', [SolrKeys.modifiedBy]: 'lastModifiedByName', [SolrKeys.createdBySsoUsername]: 'createdBySSO', [SolrKeys.createdBy]: 'createdByName', [SolrKeys.contactName]: 'contactName', [SolrKeys.caseContactSSO]: 'contactSSO', [SolrKeys.modifiedDate]: 'lastModifiedDate', [SolrKeys.createdDate]: 'createdDate', [SolrKeys.description]: 'description', [SolrKeys.caseSummary]: 'summary', [SolrKeys.alternateId]: 'alternateId', [SolrKeys.caseClosedDate]: 'closedDate' });
21
+ export const advanceSearchFieldNameToSolrFieldMapping = Object.assign(Object.assign({}, fieldNameToSolrFieldMapping), { [SolrKeys.fts]: 'FTS', [SolrKeys.cep]: 'CEP', [SolrKeys.accountName]: 'accountName', [SolrKeys.caseNumber]: 'caseNumber', [SolrKeys.caseOwner]: 'ownerSSO', [SolrKeys.modifiedBy]: 'lastModifiedByName', [SolrKeys.createdBySsoUsername]: 'createdBySSO', [SolrKeys.createdBy]: 'createdByName', [SolrKeys.contactName]: 'contactName', [SolrKeys.caseContactSSO]: 'contactSSO', [SolrKeys.modifiedDate]: 'lastModifiedDate', [SolrKeys.createdDate]: 'createdDate', [SolrKeys.description]: 'description', [SolrKeys.caseSummary]: 'summary', [SolrKeys.alternateId]: 'alternateId', [SolrKeys.caseClosedDate]: 'closedDate' });
@@ -33,7 +33,7 @@ export declare enum SolrKeys {
33
33
  fts = "case_24_7",
34
34
  type = "case_type",
35
35
  cep = "case_is_cep",
36
- accountName = "case_accountName",
36
+ accountName = "case_account_name",
37
37
  alternateId = "case_alternate_id",
38
38
  caseClosedDate = "case_closedDate",
39
39
  openshiftClusterId = "case_openshift_cluster_id"
@@ -65,7 +65,6 @@ export declare const advancedSearchMap: {
65
65
  case_24_7: string;
66
66
  case_type: string;
67
67
  case_is_cep: string;
68
- case_accountName: string;
69
68
  case_alternate_id: string;
70
69
  case_closedDate: string;
71
70
  case_openshift_cluster_id: string;
@@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AW,sBAAsB;IACjC,cAAc,oBAAoB;IAClC,kBAAkB,8BAA8B;CACnD;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B7B,CAAC;AAGF,oBAAY,aAAa;IACrB,eAAe,8BAA8B;CAChD;AAED,eAAO,MAAM,iBAAiB,QAA4C,CAAC;AAC3E,oBAAY,QAAQ;IAChB,UAAU,eAAe;IACzB,WAAW,YAAY;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,aAAa,qBAAqB;IAClC,QAAQ,aAAa;IACrB,SAAS,YAAY;IACrB,WAAW,gBAAgB;IAC3B,SAAS,mBAAmB;IAC5B,UAAU,uBAAuB;IACjC,OAAO,YAAY;IACnB,SAAS,gBAAgB;IACzB,oBAAoB,gCAAgC;IACpD,WAAW,gBAAgB;IAC3B,UAAU,qBAAqB;IAC/B,YAAY,qBAAqB;IACjC,oBAAoB,qBAAqB;IACzC,sBAAsB,qBAAqB;IAC3C,WAAW,gBAAgB;IAC3B,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,cAAc,iBAAiB;CAClC;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;CAsB9B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CAElC,CAAC"}
@@ -35,7 +35,7 @@ export var SolrKeys;
35
35
  SolrKeys["fts"] = "case_24_7";
36
36
  SolrKeys["type"] = "case_type";
37
37
  SolrKeys["cep"] = "case_is_cep";
38
- SolrKeys["accountName"] = "case_accountName";
38
+ SolrKeys["accountName"] = "case_account_name";
39
39
  SolrKeys["alternateId"] = "case_alternate_id";
40
40
  SolrKeys["caseClosedDate"] = "case_closedDate";
41
41
  SolrKeys["openshiftClusterId"] = "case_openshift_cluster_id";
@@ -67,7 +67,6 @@ export const advancedSearchMap = {
67
67
  case_24_7: 'FTS',
68
68
  case_type: 'caseType',
69
69
  case_is_cep: 'CEP',
70
- case_accountName: 'accountName',
71
70
  case_alternate_id: 'alternateCaseId',
72
71
  case_closedDate: 'closedDate',
73
72
  case_openshift_cluster_id: 'openshiftClusterId',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/cases",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -99,5 +99,5 @@
99
99
  "not ie <= 11",
100
100
  "not op_mini all"
101
101
  ],
102
- "gitHead": "4c44ec177438ff8e09a761a4f38ce3fbd83c7aaa"
102
+ "gitHead": "9dc089d549b6b579879a705e049a0a4fb0cc061c"
103
103
  }