Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing "Next" Button After Provisioning #215

Open
SayalaGalvin opened this issue Jul 16, 2024 · 0 comments
Open

Missing "Next" Button After Provisioning #215

SayalaGalvin opened this issue Jul 16, 2024 · 0 comments

Comments

@SayalaGalvin
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant