status-mobile icon indicating copy to clipboard operation
status-mobile copied to clipboard

⚓ Update page-top Quo component to accommodate connected dapps anchor

Open shivekkhurana opened this issue 1 year ago • 0 comments

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
image image
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:

  1. Update the wallet-networks type page nav to always show an action or
  2. 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.

shivekkhurana avatar May 02 '24 09:05 shivekkhurana