14 Commits

Author SHA1 Message Date
d793156f62 manage cursor based on current peer position
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 13:07:20 -04:00
b307b82ac4 re-add removing of peers
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 13:07:20 -04:00
d48daf6481 use redux store for managing state of underlying data
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 13:07:20 -04:00
51d299888d implement peer removal without prompt
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 13:07:20 -04:00
70a04b015e use just j and k for navigation
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 13:07:20 -04:00
017a84a59f update peer details on cursor movement
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 13:07:20 -04:00
abb276f6f1 rename extra field in ViewController to State
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 13:07:20 -04:00
197679f10c attach PeersState under Data for ViewController
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 13:07:20 -04:00
176330a41f refactor to make arrow key handlers into methods of *View
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 13:07:20 -04:00
ae37f8b1e8 refactor to add ViewManager and View structs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 13:07:20 -04:00
fbb29afb49 add comment about possible solution
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 13:07:20 -04:00
c55d3c610b fix moving of cursor
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 13:07:20 -04:00
62c32b7a3d implement moving of cursor with arrow keys
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 13:07:20 -04:00
33d12b5198 extract key bindings to separate file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-01 13:07:20 -04:00