Light-client: Make the Raiden account the default account when connecting to the dApp

Created on 7 Apr 2020  路  13Comments  路  Source: raiden-network/light-client

User Story

As Chris I want to understand how the Raiden account works before using it the first time so that I can trust the dApp.

Acceptance criteria

  • Toggle between Raiden account and Main Account on the General screen / Account screen
  • The default account is the Raiden Account
  • The toggle screen for the Main account details why someone would want to toggle on the Main account (as settings screen on the Raiden Account screen)
  • User needs to know why they are not seeing their MetaMask account when connecting

User flow

A: Using the Raiden account

  1. User clicks on connect
  2. If he hasn't used a Raiden account before (for this URL and net), "Generate Account and key" with a brief explanation + referral to the settings screen for the main account
  3. If he has used a Raiden account before no pop-up

B: Using the Main account

  1. User clicks on the Identicon
  2. User clicks on Settings
  3. Brief explanation of main and raiden account
    a. Main Account -> "You need to sign up to 7 messages manually for each transfer."
    b. Raiden Account -> "Messages are signed automatically. You need to move back the tokens to your main account when leaving a token network."
  4. User toggles to Main Account
  5. Main Account as default is getting stored locally
  6. User goes back to the connect screen
  7. User clicks on connect
  8. No pop-up
5 dApp 馃摫 Design 馃帹

Most helpful comment

Mockup links have been updated.

All 13 comments

Split from #1108

The user needs to know:

  • He needs the Raiden Account address to receive transfers
  • It is much more convenient (no pop-ups)
  • The user needs to transfer tokens and ETH back manually to the main account

It should get explained here:
grafik

In accordance with the user flow outlined in the issue description.

wireframe_main_account_toggle

@taleldayekh Looks great thanks :)

instead of
grafik
we should write You can use your web3 account directly ...

Maybe Settings above Report bugs

Good point @christianbrb, we'll put settings on the top. I'll change the wording as well.

Mockup links have been updated.

What should happened if the user is already connected (e.g. via subkey) and then toggles to main account from the settings screen?

  1. Nothing, setting will apply once the user connects next time to the raiden network
  2. Dialog appears and tells the user that he will get disconnected and can reconnect then with the selected account
  3. No dialog, just disconnect immediately after toggling and go back to home screen where user can press connect again

Would it make sense to only display the toggle setting when a user is disconnected?

A user would have to make that decision before connecting.

I thought about that, but then there would be an empty settings menu item..
We could hide it completely until there are more settings that should be displayed even while connected maybe?

Out of the 3 suggestions above the one that seems more reasonable to me is the 2nd one.

I would say we hide it completely until we have more settings. Why would you want to change the account once already connected?

Ok I'm just going to hide it then, it's also the simplest solution..

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrevmatos picture andrevmatos  路  4Comments

taleldayekh picture taleldayekh  路  4Comments

agatsoh picture agatsoh  路  3Comments

MrCleanerPickerUpper picture MrCleanerPickerUpper  路  6Comments

eorituz picture eorituz  路  4Comments