Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve ticker-based searching #162

Open
hodlonaut opened this issue Jul 29, 2021 · 0 comments
Open

Improve ticker-based searching #162

hodlonaut opened this issue Jul 29, 2021 · 0 comments

Comments

@hodlonaut
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant