Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix filtered pattern selection #1236

Merged
merged 1 commit into from
Nov 3, 2022

Conversation

joshuali925
Copy link
Member

@joshuali925 joshuali925 commented Nov 3, 2022

Signed-off-by: Joshua Li joshuali925@gmail.com

Description

  • Preserve table highlight of currently filtered pattern
  • do not change event analytics main query if no pattern is filtered

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Joshua Li <joshuali925@gmail.com>
@joshuali925 joshuali925 requested a review from a team as a code owner November 3, 2022 18:09
@@ -15,7 +15,7 @@ import { PatternTableData } from 'common/types/explorer';
import { reduce, round } from 'lodash';
import React from 'react';
import { useSelector } from 'react-redux';
import { SELECTED_PATTERN_REGEX } from '../../../../../common/constants/explorer';
import { FILTERED_PATTERN } from '../../../../../common/constants/explorer';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this works too, can you remove the regex?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are more unused variables, will clean up in a separate PR

@joshuali925 joshuali925 merged commit 7295212 into opensearch-project:2.4 Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants