Skip to content

Detect offline status and disable network actions #57

Description

@collinsadi

There is no navigator.onLine handling, so send, claim, and scan actions can be triggered offline and fail with confusing RPC errors. We should add an online and offline listener, an "Offline" badge in the layout header, and a disabled state for network-dependent actions while offline.

Acceptance criteria

  • Going offline disables send, claim, and scan and shows the badge.
  • The state recovers automatically on reconnect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions