Skip to content

feat(mobile): establish error state and retry UI pattern #57

Closed

Description

@GRACENOBLE

Problem

There is no established pattern for displaying errors and allowing users to retry. Each screen will handle this ad-hoc.

Acceptance criteria

  • Create a reusable ErrorScreen composable that accepts a message and an optional onRetry callback
  • Define a sealed UiState<T> class (Loading, Success(data: T), Error(message: String)) in a shared location
  • Show an example of the full UiState lifecycle in one screen/ViewModel pair
  • Document the pattern in mobile/docs/architecture.md
  • Add instrumented tests for ErrorScreen

Activity

  1. added
    area: mobileAndroid app (Kotlin + Jetpack Compose)
    priority: highImportant — address in the current sprint
    on Jun 25, 2026
  2. GRACENOBLE commented on Jun 25, 2026

    @GRACENOBLE
    MemberAuthor

    Implemented and merged via PR #66.

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

    area: mobileAndroid app (Kotlin + Jetpack Compose)priority: highImportant — address in the current sprinttype: featureNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions