verida / verida-js

The Verida SDK provides several SDKs to interact with the Verida Network
https://developers.verida.network
ISC License
1.31k stars 37 forks source link

The Verida Connect modal should provide both the deep link and the QR code #373

Open aurelticot opened 11 months ago

aurelticot commented 11 months ago

Based on certain conditions, the Verida Connect modal will either display the QR code or a deep link but this doesn't accomodate to all use cases.

On narrow window, the modal displays the deep link assuming the device is a mobile with the Verida Wallet installed on it. This is obviously not always the case. Conversely, on larger window, the modal displays the QR code, assuming the user has the Verida Wallet installed on a different device. To a lesser extent, this is also not always the case, on tablet for example.

A solution to this UX issue is to provide both the deep link and the QR code to the user so they can use the most appropriate. The modal could emphasise one or the other depending on the assumptions (narrow window = mobile = deep link and large window =desktop = QR code) but the user could still get access to the other method to accomodate the edge cases above.

tahpot commented 11 months ago

@aurelticot I think you are best placed to resolve this.