Lotus-King-Research / Padma-Frontend

Frontend for Padma.
1 stars 0 forks source link

Add ability to search from descriptions #168

Closed mikkokotila closed 1 year ago

mikkokotila commented 2 years ago

Background

So far it is possible to search based on keys (Tibetan words), here we will make it possible to also search based on values (descriptions for Tibetan words). It will work similarly to partial, fuzzy, and similar in the sense that it will force to select a single dictionary where the search is performed. But it will be different in the sense that instead of becoming available in the search button, it becomes available as its own menu item.

How will it work?

rabtenster commented 2 years ago

@mikkokotila Once Description is enabled, the search button only has Partial match option : This line is confusing as currently we have four matching modes where partial is one, now when description is also enabled by adding a new matching mode , then having partial match option for description confuses as matching = description and not partial. Maybe I didn't get it properly can you shed some more light on it. I think simplest is adding description as new matching mode from the search dropdown and force to select one dictionary.