Skip to content
  • Àlex Fiestas's avatar
    Refactoring of the Wizard, now it is non-secuencial. · a5723b9c
    Àlex Fiestas authored
    This is the first commit of the non-secuencial wizard, which will
    allow us to have shorter and smarter user flow's as well as a
    more clean code, since the we're are going to split the logic in
    each case we have, which at the moment are:
    
    1-Simple Secure Pairing(SSP)
        · Page showing the PIN sent by the device.
        · Showing "Correct" and "Not correct" options.
    2-No pairing needed
        · We'll jump directly into the services page.
    3-The device is a Keyboard
        · We'll show the PIN
        · We'll show a label such "Type this pin and press enter".
        · Maybe a nice picture of a keyboard as well :p
    4-The device is in our Database (no need to show the PIN)
        · We'll show a "Connecting...."
        · If succees, go directly to the Service page.
    5-The device is not in our database (Show the pin, just in case)
        · This should not happen too much since these cases are
          usually keyboards which are covered by case 3
        · Since this case is weird, we'll show the PIN just in case.
    a5723b9c