Skip to content

Missing "Next" Button After Provisioning #215

@SayalaGalvin

Description

@SayalaGalvin

Description:

Issue: After a successful provisioning process, the UI does not display a "Next" button to load the returned URL. Instead, a "Cancel" button is shown.
Expected Behavior: Upon successful provisioning, the UI should display a "Next" button that allows the user to proceed to the loaded URL. (https://youtu.be/AdCsX7Ni6Jc)
Actual Behavior: The UI displays a "Cancel" button, which seemingly doesn't have a clear function in this context.

Steps to Reproduce:

  1. Install the ESPHome firmware from the provided link (https://esphome.github.io/esp-web-tools/).
  2. Use improv-wifi-sdk (V 1.4.0) package in your project.
  3. Initiate the provisioning process.
  4. After successful provisioning, a "Cancel" button appears instead of a "Next" button.

Potential Root Cause:

The _renderImprovProvisioned() method in provision-dialog.ts is being triggered before the nextUrl is set in ble.ts. This means the UI attempts to render the dialog without the necessary information to display the "Next" button and URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions