MetaMask / SIPs

Snaps Improvement Proposals
https://metamask.github.io/SIPs/
Creative Commons Zero v1.0 Universal
38 stars 11 forks source link

SIP For Auto Pulling UI for Snap #135

Open schnetzlerjoe opened 3 months ago

schnetzlerjoe commented 3 months ago

There are a few ways to go about this but the ultimate goal of this SIP is to improve a Snap users UX. Right now the least clicks/flow to get to a Snap UI is the following:

Step 1. Step 1 Step 2. Step 2 Step 3. Snap 3 Step 4. Step 4

I propose the ability to either auto detect you are connected to a snap and on the initial load of the extension (when you click the extension icon to open), the Snap UI page is displayed.

If this is more of a drag or development haul the second best option would be where you see the dApp connected Icon (step 1 image), when you click on it, it automatically pulls up the Home Page/settings for that Snap.

Looking forward to thoughts!

Mrtenz commented 3 months ago

Does #134 cover your use case here?

schnetzlerjoe commented 3 months ago

Does #134 cover your use case here?

Somewhat but not entirely. This helps for dApps and the snaps themselves to sending people to UIs. I'm suggesting instead of somewhat hiding how to get to a snaps homepage you somehow provide a place right when you open Metamask to get to the Snap.

It's one of the top complaints we get from dApps. As my steps show the UI/Snap seems somewhat hidden.

Mrtenz commented 3 months ago

Oh, I see what you mean now. The intended path is: Three dots menu > Snaps > Click the Snap.

Screenshot 2024-03-25 at 10 15 03 Screenshot 2024-03-25 at 10 17 11

We are working on some improvements to the Snaps screen though to make navigation easier, including the ability to pin Snaps to the main MetaMask screen. I don't think this needs a SIP since it's related to the UI in the extension instead of the Snaps API?