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 : highlight field after search #3731

Merged
merged 17 commits into from
Sep 14, 2023

Conversation

keithCuniah
Copy link
Contributor

@keithCuniah keithCuniah commented Sep 7, 2023

Highlight record fields after applying a query search.

Note :

  • it works for fields with raw text (not for markdown).

Closes #3697

Type of change

  • New feature

How Has This Been Tested

  • only feedback task

@keithCuniah keithCuniah added the area: ui Indicates that an issue or pull request is related to the User Interface (UI) label Sep 7, 2023
@keithCuniah keithCuniah changed the title :construct: WIP highlight field after search 🚧 WIP highlight field after search Sep 7, 2023
@keithCuniah keithCuniah changed the title 🚧 WIP highlight field after search 🚧 FEAT : highlight field after search Sep 7, 2023
@keithCuniah keithCuniah force-pushed the feat/highlight-fields-after-query-search branch 3 times, most recently from d16906c to ad3e457 Compare September 7, 2023 15:29
@keithCuniah keithCuniah marked this pull request as ready for review September 12, 2023 07:21
@keithCuniah keithCuniah requested a review from leiyre September 12, 2023 07:22
@keithCuniah keithCuniah changed the title 🚧 FEAT : highlight field after search 🚨 FEAT : highlight field after search Sep 12, 2023
@github-actions
Copy link

The URL of the deployed environment for this PR is https://argilla-quickstart-pr-3731-ki24f765kq-no.a.run.app

frascuchon added a commit that referenced this pull request Sep 13, 2023
<!-- Thanks for your contribution! As part of our Community Growers
initiative 🌱, we're donating Justdiggit bunds in your name to reforest
sub-Saharan Africa. To claim your Community Growers certificate, please
contact David Berenstein in our Slack community or fill in this form
https://tally.so/r/n9XrxK once your PR has been merged. -->

# Description

This PR changes a wrong behavior in text search when searching several
words. All the provided words must appear in the same record text field
to match the results. With changes in this PR, the search will use all
the fields to search the terms.

Refs #3731 

**Type of change**

(Please delete options that are not relevant. Remember to title the PR
according to the type of change)

- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)

**How Has This Been Tested**

(Please describe the tests that you ran to verify your changes. And
ideally, reference `tests`)

This logic has been tested using a proper test for that. With the test
case, I could reproduce the error and then after the fix, the test
passed successfully.

**Checklist**

- [X] I followed the style guidelines of this project
- [x] I did a self-review of my code
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I filled out [the contributor form](https://tally.so/r/n9XrxK)
(see text above)
- [X] I have added relevant notes to the `CHANGELOG.md` file (See
https://keepachangelog.com/)
@damianpumar damianpumar merged commit 55dab0a into develop Sep 14, 2023
@damianpumar damianpumar deleted the feat/highlight-fields-after-query-search branch September 14, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ui Indicates that an issue or pull request is related to the User Interface (UI)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Basic highlight results for Feedback Datasets
3 participants