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

Add account filtering feature #832

Merged
merged 2 commits into from Nov 7, 2021

Conversation

Tbaut
Copy link
Contributor

@Tbaut Tbaut commented Sep 18, 2021

closes #830

I did not implement the search by address, because I'd like to have your opinion first.
The account store has addresses with 42 prefix encoding, and searching by address would mean to

  • try to decode what the user types in the search field
  • if this yields a public key, re-encode it using the 42 prefix
  • filter based on this

I think this could really help, even novice users that have issues understanding the whole ss58 encoding, but this adds some overhead for most of the searches, which most probably won't be by address. What do you think?

Here's how it looks right now:

filter.mp4

Copy link
Member

@jacogr jacogr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jacogr jacogr merged commit 3d5d63b into polkadot-js:master Nov 7, 2021
@Tbaut Tbaut deleted the tbaut/filter-accounts branch November 9, 2021 09:16
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Nov 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat request: search bar
3 participants