kiwix-android icon indicating copy to clipboard operation
kiwix-android copied to clipboard

Search: ability to press Enter to skip the search

Open opk12 opened this issue 3 years ago • 6 comments

Is your feature request related to a problem? Please describe. When you know the exact word of interest, the search is unnecessary. You must wait a couple seconds to search, move the finger from the keyboard to the top of the screen, tap the search result.

This is not a "bug", but I use Wiktionary as a language learning aid at home (make a lot of queries while reading) and abroad (quickly look up an occasional word from a sign) so if a shorter interaction is possible, it would be convenient.

Describe the solution you'd like

  • Type abc
  • The search starts
  • Enter is pressed before the search completes
  • If the article abc does not exist: no change (searching continues normally)
  • If the article abc exists: the search is interrupted

opk12 avatar Jul 07 '22 09:07 opk12

@gouri-panda @MohitMaliFtechiz Does that sounds a good idea?

kelson42 avatar Sep 08 '22 05:09 kelson42

@kelson42 Yes

gouri-panda avatar Sep 08 '22 09:09 gouri-panda

To inform the user that the search can be interrupted, what about a message above the rotating spinner, or in a toast message, or as a tip in the Settings...

💡 Tip: Press Enter to stop searching and try to match the exact article title

opk12 avatar Sep 08 '22 13:09 opk12

@gouri-panda @MohitMaliFtechiz Does that sounds a good idea?

sounds good to me.

MohitMaliFtechiz avatar Sep 09 '22 09:09 MohitMaliFtechiz

This is basically the same problem as https://github.com/kiwix/libkiwix/issues/748 wirh kiwix-serve

kelson42 avatar May 05 '23 05:05 kelson42

@MohitMaliFtechiz Can we try to implement this now? Seems pretty easy.

kelson42 avatar Feb 14 '24 04:02 kelson42