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: exception on global search sometimes #14455

Merged

Conversation

Abhishek332
Copy link
Contributor

When searching in global search we get exception if the searchResult is not type of Tabs present.

To resolve this filtering the data before setting.

@github-actions github-actions bot added the UI UI specific issues label Dec 20, 2023
Copy link
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@chirag-madlani chirag-madlani added the safe to test Add this label to run secure Github workflows on PRs label Dec 20, 2023
Copy link
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 49%
49.91% (24921/49927) 32.61% (9793/30032) 31.07% (2826/9096)

Copy link

Quality Gate Passed Quality Gate passed for 'open-metadata-ui'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@@ -57,3 +58,18 @@ export const COMMON_FILTERS_FOR_DIFFERENT_TABS = [
'owner.displayName',
'tags.tagFQN',
];

export const TABS_SEARCH_INDEXES = [
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
export const TABS_SEARCH_INDEXES = [
export const EXPLORE_SEARCH_INDEXES = [

@chirag-madlani chirag-madlani merged commit c9a00f3 into open-metadata:main Dec 21, 2023
20 of 26 checks passed
@Abhishek332 Abhishek332 deleted the exception-in-global-search branch January 4, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test Add this label to run secure Github workflows on PRs UI UI specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants