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

feat(ui): highlight search term for schema table in table details page #19110

Merged
merged 6 commits into from
Dec 18, 2024

Conversation

pranita09
Copy link
Contributor

@pranita09 pranita09 commented Dec 17, 2024

Describe your changes:

Fix #19077

Search Term Highlight Feature.
The text typed in search bar is getting highlighted.

Screen.Recording.2024-12-17.at.4.52.32.PM.mov

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

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!

@pranita09 pranita09 marked this pull request as ready for review December 17, 2024 11:32
@pranita09 pranita09 requested a review from a team as a code owner December 17, 2024 11:32
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!

Copy link
Contributor

github-actions bot commented Dec 18, 2024

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 63%
63.87% (40085/62757) 40.39% (16048/39732) 43.06% (4806/11161)

Copy link

@chirag-madlani chirag-madlani changed the title feat: highlight search term feat(ui): highlight search term for schema table in table details page Dec 18, 2024
@chirag-madlani chirag-madlani merged commit 31b1132 into open-metadata:main Dec 18, 2024
15 of 17 checks passed
Ashish8689 pushed a commit that referenced this pull request Dec 19, 2024
#19110)

* feat: highlight search term

* refactor: use stringToHTML instead of parse

* test: highlightSearchText method

* fix: test for schema table

* fix: mock implemetation of stringToHTML

* test: highlightSearchText function with null or falsy parameters

(cherry picked from commit 31b1132)
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search Term Highlight Feature
2 participants