Skip to content

[Bug] Feature capability check failures in App.tsx logged but do not disable features #797

Description

@RUKAYAT-CODER

Overview

App.tsx checks device capability for various features and logs failures, but does not update the degradation store to actually disable those features. The result: features that should be degraded remain enabled and fail at runtime.

Specifications

Features:

  • Connect capability check failures to the degradationStore
  • Disable each feature whose capability check fails
  • Show a degraded-mode indicator in the UI for affected features

Tasks:

  • After each capability check failure, call degradationStore.disableFeature(featureName)
  • Add a DegradedModeWarning component to the affected screens
  • Write tests for each capability → degradation mapping

Impacted Files:

  • App.tsx
  • src/store/degradationStore.ts
  • src/components/common/DegradedModeWarning.tsx (new)

Acceptance Criteria

  • Capability failure correctly disables the associated feature
  • Degraded features show a visible indicator to the user
  • Each capability → degradation mapping is tested

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions