Skip to content

Bug: Inconsistent danger zone visibility during initializing state #126

@williscool

Description

@williscool

Inconsistent danger zone visibility during initializing state

The button disabled logic was changed from isConnected === false to !isConnected (lines 209, 217), meaning buttons are now disabled when isConnected is null (initializing state). However, the danger zone visibility condition at line 222 still uses isConnected !== false, which evaluates to true when isConnected is null. This creates an inconsistency: if a user has the danger zone open and the connection enters the initializing state, the danger zone actions remain visible and clickable even though the buttons that control access to it are disabled. The visibility condition should be updated to match the new button logic, such as using !!isConnected instead of isConnected !== false.

Additional Locations (2)

Fix in Cursor Fix in Web

Originally posted by @cursor[bot] in #117 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions