BeamMW / ios-wallet

Beam iOS Wallet
https://beam.mw/downloads
Apache License 2.0
21 stars 9 forks source link

Mobile node flow #465

Closed dariatarakanova closed 3 years ago

dariatarakanova commented 3 years ago

We need to differentiate 3 nodes: random, mobile and specific

1) Node menu https://zpl.io/2vRjNAn image

2) Random node 2.1) Connection to Random node is fast and no need any loading screen. Just click "connect" button. 2.2) When wallet connect to Random node - status is "circle" with text "online" image

3) Mobile node 3.1) Connection will take some time and after tap on "connection" button show loading screen https://zpl.io/bPKBvnp image

3.2) After loading screen open Wallet screen with toaster https://zpl.io/annzgrA image

3.3) When wallet connect to Mobile node - status is "circle" with text "online: mobile node" image

4) Own node 4.1) Connection to Random node is advanced feature and requests ip:port that appears only after choosing this node (with "v") https://zpl.io/b6n5m1P image

4.2) When wallet connect to Specific node - status is "lock" with text "online"

gingervik commented 3 years ago

4.2 - lock icon should be displayed only if we connected to the node with the same owner key (as it works now)

dariatarakanova commented 3 years ago

the same as for android - https://github.com/BeamMW/android-wallet/issues/529

Own node (or other node) connected https://zpl.io/2GjBErE

1) make another node inactive 2) make IP address non-editable 3) button should be "disconnect" 4) only after tap on button "disconnect" used can change IP and connect to another node. and status should be "cannot connect to ..." https://zpl.io/bAR8O1e

image

sinaizd commented 3 years ago
  1. if the address field is empty when connecting to your node, you need to display the corresponding error. For example, "the address field is empty, please enter the address".
  2. if the address field was empty when you clicked connect, then after closing the pop-up window, then the disconnect button should not be there.
  3. when connecting to own node, in the node does not specify the owner's key in this case, the indicator should be the circle. If the owner's key is specified in the node, then the indicator must be a lock.

https://user-images.githubusercontent.com/45556620/120438414-03b48f00-c38a-11eb-911c-7a497c23884b.mp4

sinaizd commented 3 years ago

Bugs:

  1. prevent editing the node address field when connecting image
  2. after connecting to own node, for some reason it is indicated in the settings that the wallet is connected to the mobile node image

https://user-images.githubusercontent.com/45556620/120501683-7b0a1300-c3ca-11eb-951b-af57c6163f5a.mp4

sinaizd commented 3 years ago

checked