kiwix-android
kiwix-android copied to clipboard
Search: ability to press Enter to skip the search
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
abcdoes not exist: no change (searching continues normally) - If the article
abcexists: the search is interrupted
@gouri-panda @MohitMaliFtechiz Does that sounds a good idea?
@kelson42 Yes
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
@gouri-panda @MohitMaliFtechiz Does that sounds a good idea?
sounds good to me.
This is basically the same problem as https://github.com/kiwix/libkiwix/issues/748 wirh kiwix-serve
@MohitMaliFtechiz Can we try to implement this now? Seems pretty easy.