Skip to content

Improve ticker-based searching #162

@hodlonaut

Description

@hodlonaut

If in Yoroi end-user to search for a pool whose ticker consists of the letters in a-f range and/or digits, currently you can get all kinds of weird results, and somewhere in the returned list you'll get your desired pool (obviously this does not happen if you are searching by a full pool identifier which is a long string).

The enhancement to the user experience would be to do a check on the length of the search string, if it is 5 characters or less to prioritize the search results so that matches in the ticker (exact matches first, then substrings) are shown earlier, compared to matches somewhere in the hex / bech32 pool ID string. So a search for '000' yields the first few results as pools with tickers 000, 0000 and 00000 and not [1PCT] 1 Percent Pool (v1), [AHL] AHLNET #1, [SION] ANGEL stake pool #2, [MASTR] Masterstake as the first few results returned by Yoroi currently.

Improved ticker-based prioritization is already implemented in some of the other community tools e.g. Adastat.net and Pooltool.io

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions