inkandswitch / backchannel

Local-first address book
67 stars 1 forks source link

UI: link devices #113

Closed daiyi closed 3 years ago

daiyi commented 3 years ago

Make a separate flow for linking devices (vs linking to other people). Includes some refactoring of components.

Demo:

https://user-images.githubusercontent.com/1589186/122859093-4950e180-d2d0-11eb-9ed5-41f4c9b62fb4.mov

Screenshots:

devices settings page

generate device code redeem device code

Closes #30

daiyi commented 3 years ago

hm I need to double check that scanning QR code still works fixed

okdistribute commented 3 years ago

This is great!

If we force people to use QR codes here, then there could just be one button instead of two -- 'Link Device' -- and remove the 'use sync code' screen.

The QR code scanned on the person's phone then opens the browser window (or app if it's installed)

This would be annoying if you were using a computer, though it would probably work.

daiyi commented 3 years ago

I'm weary of forcing the use of QR codes in case camera permissions get mixed up or the scanner fails to detect the code. Or maybe the device camera is broken. I think it's nice to have manual input as backup.