C2LC-108: Bluetooth connection out of sync with UI

Metadata

Source
C2LC-108
Type
Bug
Priority
N/A
Status
Won't Fix
Resolution
N/A
Assignee
N/A
Reporter
Created
2019-12-19T13:32:10.555-0500
Updated
2024-05-01T10:22:48.052-0400
Versions
N/A
Fixed Versions
N/A
Component
N/A

Description

Steps to reproduce:

  • Load the Coding Environment
  • Connect to Dash
  • Press Connect to Dash when it’s connected
  • Press esc or click outside of the bluetooth connect modal or cancel button

The Bluetooth connection to Dash is connected, but the status mark changes to a circle (not connected) and the run button becomes disabled

Notes:

This is caused by state change of dashConnectionStatus when we close the bluetooth connection window. When the window is closed, we are setting dashConnectionStatus to ‘notConnected’ but the bluetooth connection is still connected.

Comments

  • Simon Bates commented 2020-03-27T14:35:39.801-0400

    The need to address this issue, together with C2LC-114, will go away if/when we switch over to using Wonder Workshop's JavaScript library to talk to Dash (C2LC-164). We will put this work on hold until we resolve C2LC-164.

  • Simon Bates commented 2024-05-01T10:22:40.971-0400

    No longer relevant. Closing.