giellatekno / neahttadigisanit

Saami dictionary webapp
Other
2 stars 2 forks source link

[user suggestion] Keep search input when flipping dictionary direction #30

Open Phaqui opened 7 months ago

Phaqui commented 7 months ago

A common scenario is to search for a word, then get no results, and realize that the dictionary is "the wrong way" - so you flip it - only to discover that you have to type in the word again.


Here I think we should guard this - only include the search term when flipping dictionary direction if the last search yielded no results. Otherwise you end up getting "no search hits" very often when you flip the dictionary.