status-mobile
status-mobile copied to clipboard
⚓ Update page-top Quo component to accommodate connected dapps anchor
Feature Issue
User Story
As a developer, I want to show a dapps link next to account menu on the account details page.
Description
The current Quo component page-nav doesn't allow for adding actions next to the account switcher component. Account switcher is oddly named, it's actually the account menu.
But the new design needs us to show a link to connected dapps next to the account menu:
| Current | Required |
|---|---|
| Notice that the account switcher does not have any option for additional actions | Design needs the dapp action |
Summary: Upgrade the page-nav component and add an option to show an action.
Acceptance Criteria
The page nav component should be update to show an action button.
Notes
There are two approaches to this idea:
- Update the
wallet-networkstype page nav to always show an action or - Create a new type
wallet-networks-with-action
I'm inclined to take option 1 unless anyone disagrees. The reason is that the wallet-networks page nav will always have a link to the dapps. I can also make it configurable, ie the icon and the on-press handler can be passed as a prop.