bitshares / bitshares/bitshares-ui

[5] Account selector, manage accounts and view mode performance on cloud accounts

Open
#2,489 1 comment 0 reactions 0 assignees View on GitHub
[1c] Task [3] Enhancement [5d] Large [7] Estimated
Dominant language
JavaScript
Stars
520
Forks
575
Avg merge
12h 7m
Merged PRs (30d)
5

Description

When using the wallet with a cloud account the top right account selector performs poorly.

You can't access manage accounts drop down, nor does it view the "View Mode" button when browsing an account that doesn't belong the the users cloud account (not in the auth store).

Some performance has to be made to enhance the performance of this and the checks of `isMyAccount` that only triggers when/after a cloud account is logged in (authorized). When wallet times out, the cloud account authorized credentials is no longer available until the next login (authorized).

## Tasks
- [ ] Incorporate solution from #2540
- [ ] Replace all instances of `AccountStore.isMyAccount`
- [ ] Enable Manage Accounts drop-down for cloud accounts
- [ ] Enable "View Mode" for cloud accounts

Contributor guide

Open the contributing guide

Research direction

Start by reading the solution from #2540 and searching the codebase for all instances of AccountStore.isMyAccount. Trace the account selector, Manage Accounts drop-down, and View Mode checks for cloud accounts; done means those controls work for cloud accounts and the checks no longer depend on an authorized login remaining available.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.