argilla icon indicating copy to clipboard operation
argilla copied to clipboard

[BUG-UI/UX] Search queries in korean get flipped (FeedbackDataset)

Open cceyda opened this issue 10 months ago • 2 comments

Describe the bug On a feedback dataset (using SpanQuestion if relevant, older dataset types don't have this problem) if I type in the search bar in Korean it flips the text like: type 한국어-> press_enter-> 어국한. There should be no flip. Seems to be happening on Chrome only(?), it works fine on safari. (& also doesn't happen with english)

  • This doesn't happen when copy pasting text, only when typing.
  • & it shows the wrong number of results compared to safari, seems to be analyzing the text differently.

Screenshots

https://github.com/argilla-io/argilla/assets/15624271/6ea53635-bdcb-4a2a-a5df-dbdde027acff

Environment (please complete the following information):

  • OS [e.g. iOS]: Mac
  • Browser [e.g. chrome, safari]: chrome
  • Argilla: 1.26 ~ 1.27

cceyda avatar Apr 23 '24 08:04 cceyda

The issue you're experiencing with Korean text getting flipped when typing in Chrome and the discrepancy in search results compared to Safari is indeed peculiar. It seems there's no specific handling for Korean characters in Argilla's search functionality, nor is there browser-specific code that could lead to such behavior, based on the repository's codebase.

To further investigate and address this issue, it would be helpful to gather more details:

  • Does this issue also occur in other browsers like Firefox or Edge, or is it isolated to Chrome?
  • Is this problem present on operating systems other than Mac?
  • Are other non-English characters affected in the same way, or is it specific to Korean?
  • Is the issue limited to the search bar, or does it happen in other text fields within the Argilla platform as well?

This information will be crucial in pinpointing the root cause and working towards a resolution.

Details

Sources


About Dosu This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

dosubot[bot] avatar Apr 23 '24 08:04 dosubot[bot]

Thanks for reporting @cceyda ! I'm cc'ing my colleague @damianpumar here. He should be able to help 🙂

nataliaElv avatar Apr 23 '24 08:04 nataliaElv

@cceyda Just a heads up so you know that @damianpumar was able to fix the issue with the korean characters flipping and it will be published in our upcoming release! It should be out by the end of next week, but you can try it out already using the develop branch. 😃

nataliaElv avatar Apr 30 '24 10:04 nataliaElv