minetest-mods/i3

[FEATURE] Shorthands for search filters

Beethoven-n opened this issue · 3 comments

The +param=string filtering option is really great, but it's a bit unfamiliar, and relatively undocumented.
A more intuitive option might be to also add specific characters for common filtering parameters. For example, to search through all items from moreblocks, you could do either @moreblocks or the current +mods=moreblocks. To put it in terms of functionality that already exists, it could also work so you could do either ^wood or +groups=wood.

To search through all items from moreblocks, you simply type moreblocks.

Do note that search filters are incremental so you can combine them.

Example:

door +mods=fancydoors +groups=luxury,wood

you could do the same with shorthands.
example:
door @fancydoors ^luxury,wood
see how this saves characters while still clearly indicating what terms do what?

No, that’s pretty confusing to me. Imagine if there are 10+ search filters.