setQuery(value)}
/>
diff --git a/frontend/app/components/Errors/Error/ErrorInfo.js b/frontend/app/components/Errors/Error/ErrorInfo.js
index 91d8a018f..b1d18ab45 100644
--- a/frontend/app/components/Errors/Error/ErrorInfo.js
+++ b/frontend/app/components/Errors/Error/ErrorInfo.js
@@ -79,13 +79,13 @@ export default class ErrorInfo extends React.PureComponent {
>
{/*
+
-
+ {/*
{ error.status === UNRESOLVED
?
- {/*
}
- /> */}
-
+ />
+ */}
Last session with this error
diff --git a/frontend/app/components/shared/Filters/FilterModal/FilterModal.tsx b/frontend/app/components/shared/Filters/FilterModal/FilterModal.tsx
index 5ed5b228f..ecb9e3b52 100644
--- a/frontend/app/components/shared/Filters/FilterModal/FilterModal.tsx
+++ b/frontend/app/components/shared/Filters/FilterModal/FilterModal.tsx
@@ -122,9 +122,13 @@ function FilterModal(props: Props) {
);
}
-export default connect(state => ({
- // filters: state.getIn([ 'search', 'filterListLive' ]),
- filterSearchList: state.getIn([ 'search', 'filterSearchList' ]),
- metaOptions: state.getIn([ 'customFields', 'list' ]),
- fetchingFilterSearchList: state.getIn([ 'search', 'fetchFilterSearch', 'loading' ]),
-}))(FilterModal);
+export default connect((state: any, props: any) => {
+ return ({
+ filters: props.isLive ? state.getIn([ 'search', 'filterListLive' ]) : state.getIn([ 'search', 'filterList' ]),
+ filterSearchList: props.isLive ? state.getIn([ 'liveSearch', 'filterSearchList' ]) : state.getIn([ 'search', 'filterSearchList' ]),
+ // filterSearchList: state.getIn([ 'search', 'filterSearchList' ]),
+ // liveFilterSearchList: state.getIn([ 'liveSearch', 'filterSearchList' ]),
+ metaOptions: state.getIn([ 'customFields', 'list' ]),
+ fetchingFilterSearchList: state.getIn([ 'search', 'fetchFilterSearch', 'loading' ]),
+ })
+})(FilterModal);
diff --git a/frontend/app/components/shared/Filters/FilterSelection/FilterSelection.tsx b/frontend/app/components/shared/Filters/FilterSelection/FilterSelection.tsx
index 221438620..d4e20d322 100644
--- a/frontend/app/components/shared/Filters/FilterSelection/FilterSelection.tsx
+++ b/frontend/app/components/shared/Filters/FilterSelection/FilterSelection.tsx
@@ -45,8 +45,9 @@ function FilterSelection(props: Props) {
{showModal && (
)}
diff --git a/frontend/app/components/shared/SessionSearchField/SessionSearchField.tsx b/frontend/app/components/shared/SessionSearchField/SessionSearchField.tsx
index 28d1af364..7f38a0fed 100644
--- a/frontend/app/components/shared/SessionSearchField/SessionSearchField.tsx
+++ b/frontend/app/components/shared/SessionSearchField/SessionSearchField.tsx
@@ -11,6 +11,8 @@ interface Props {
addFilterByKeyAndValue: (key: string, value: string) => void;
filterList: any;
filterListLive: any;
+ filterSearchListLive: any;
+ filterSearchList: any;
}
function SessionSearchField(props: Props) {
const debounceFetchFilterSearch = React.useCallback(debounce(props.fetchFilterSearch, 1000), []);
@@ -45,7 +47,9 @@ function SessionSearchField(props: Props) {
searchQuery={searchQuery}
isMainSearch={true}
onFilterClick={onAddFilter}
- filters={isRoute(ASSIST_ROUTE, window.location.pathname) ? props.filterListLive : props.filterList }
+ isLive={isRoute(ASSIST_ROUTE, window.location.pathname)}
+ // filters={isRoute(ASSIST_ROUTE, window.location.pathname) ? props.filterListLive : props.filterList }
+ // filterSearchList={isRoute(ASSIST_ROUTE, window.location.pathname) ? props.filterSearchListLive : props.filterSearchList }
/>
)}
@@ -54,6 +58,8 @@ function SessionSearchField(props: Props) {
}
export default connect((state: any) => ({
+ filterSearchList: state.getIn([ 'search', 'filterSearchList' ]),
+ filterSearchListLive: state.getIn([ 'liveSearch', 'filterSearchList' ]),
filterList: state.getIn([ 'search', 'filterList' ]),
filterListLive: state.getIn([ 'search', 'filterListLive' ]),
}), { })(SessionSearchField);
\ No newline at end of file
diff --git a/frontend/app/components/ui/Input/Input.tsx b/frontend/app/components/ui/Input/Input.tsx
index 7851fec7f..a2ad36f1b 100644
--- a/frontend/app/components/ui/Input/Input.tsx
+++ b/frontend/app/components/ui/Input/Input.tsx
@@ -19,7 +19,7 @@ function Input(props: Props) {
{ type === 'textarea' ? (
) : (
-
+
)}
{ leadingButton &&
{ leadingButton }
}
diff --git a/frontend/app/duck/liveSearch.js b/frontend/app/duck/liveSearch.js
index 651a0872a..44d0a97fd 100644
--- a/frontend/app/duck/liveSearch.js
+++ b/frontend/app/duck/liveSearch.js
@@ -40,7 +40,6 @@ function reducer(state = initialState, action = {}) {
.set('list', list)
.set('total', total);
case success(FETCH_FILTER_SEARCH):
- console.log('FETCH_FILTER_SEARCH', action);
const groupedList = action.data.reduce((acc, item) => {
const { projectId, type, value } = item;
const key = type;
diff --git a/frontend/app/mstore/types/error.ts b/frontend/app/mstore/types/error.ts
index 54382f081..9682f61ea 100644
--- a/frontend/app/mstore/types/error.ts
+++ b/frontend/app/mstore/types/error.ts
@@ -9,6 +9,7 @@ export default class Error {
time: string = ''
function: string = '?'
stack0InfoString: string = ''
+ status: string = ''
chart: any = []
sessions: number = 0
@@ -31,6 +32,7 @@ export default class Error {
this.time = json.time
this.function = json.function
this.stack0InfoString = getStck0InfoString(json.stack || [])
+ this.status = json.status
this.chart = json.chart
this.sessions = json.sessions
diff --git a/frontend/webpack.config.ts b/frontend/webpack.config.ts
index 57c739d4a..503960a0c 100644
--- a/frontend/webpack.config.ts
+++ b/frontend/webpack.config.ts
@@ -57,6 +57,11 @@ const config: Configuration = {
{
loader: "css-loader",
options: {
+ modules: {
+ mode: "local",
+ auto: true,
+ localIdentName: "[name]__[local]--[hash:base64:5]",
+ },
url: {
filter: (url: string) => {
// Semantic-UI-CSS has an extra semi colon in one of the URL due to which CSS loader along