Skip to content

[Bug]: Android app cannot truly remove T3 Connect environments and long-press deletion is unresponsive #45597

Done

Description

@ferocknew

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Steps to reproduce

  1. On the Android mobile app, open the Environments screen (SettingsEnvironmentsRouteScreen).
  2. Notice multiple confusing behaviors regarding environment management and deletion:
    • No long-press action: Long-pressing on an environment row in the list does nothing (despite accessibility hints hinting at long-press removal).
    • Deletion doesn't actually remove cloud environments: If you switch on/connect a T3 Connect environment, tap into its detail screen, and tap the trash/remove icon, a confirmation dialog appears stating it was removed. However, once you return to the Environments screen, the environment remains visible in the list (falling back into availableRelayEnvironments or lingering because it is still registered on the relay/cloud account, leaving users unable to truly dismiss or delete it from the mobile UI).
    • Confusing empty state: The top banner shows "No environments connected yet." ("尚未连接任何环境") even when active, connected, or failing environments are clearly displayed directly below under the T3 Connect section.

Expected behavior

  1. There should be a visible and functional way to remove/dismiss environments directly from the list (swipe-to-delete, contextual menu, or an explicit action button).
  2. Tapping the trash icon should truly remove the environment from view or provide an explicit option to deregister/hide it so it does not immediately reappear.
  3. The empty state ("No environments connected yet") should not display when environments exist on the screen.

Actual behavior

  1. Long-press does nothing on Android.
  2. Deleting an environment via the trash icon in the detail screen confirms deletion, but the environment remains listed on the screen.
  3. The top banner falsely claims no environments are connected while environments are listed below.

Impact

Major degradation or frequent failure

Version or commit

v0.1.14 (mobile app latest release)

Environment

Android (e.g. Xiaomi / Pixel / Samsung), T3 Mobile App

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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