polkadot-js / extension

Simple browser extension for managing Polkadot and Substrate network accounts in a browser. Allows the signing of extrinsics using these accounts. Also provides a simple interface for compliant extensions for dapps.
Apache License 2.0
964 stars 403 forks source link

Unable to pin/unpin accounts to top of list #1333

Open ltfschoen opened 3 months ago

ltfschoen commented 3 months ago

I can't pin some of my accounts to the top of the list of accounts within Polkadot.js.

I want to be able to pin some of my accounts to the top of the list of accounts within Polkadot.js.

Even if we add the show/hide ALL accounts in bulk feature https://github.com/polkadot-js/extension/issues/1332, and we're in a situation where sometimes we want all accounts visible, but other times we only want a few accounts visible for playing a certain game, so we want to be able to quickly hide all accounts, and then just select the few that we're interested in, and possible even export that list so we can just import that custom list in future to play the game.

Rather than doing all that, I just want to be able to quickly search for a few accounts and pin them to the top of the list possibly even temporarily, so they are still pinned if i refresh the page by storing that list in local storage or similar, and allows us to unpin them too just as easily. Similar functionality to what we added to Telemetry, where we could pin some of the nodes to the top of the list, which was done in this PR https://github.com/paritytech/substrate-telemetry/pull/48/files

An extension to this feature could be to be able to tag/label certain cross-chain accounts to filter depending on their imported metadata