Skip to content

DS-083: Add a reusable ErrorState with retry support #494

Description

@IbrahimIjai

Context

Empty states and alerts do not fully cover failed data regions. Tables, cards,
charts, and full pages need consistent recovery guidance without always invoking
the application-level ErrorBoundary.

Scope

  • Add inline, section, and page ErrorState layouts.
  • Support title, safe description, retry action, secondary action, and optional error reference.
  • Define recoverable, permission, offline, and unavailable presentation variants.
  • Ensure internal error details are not exposed to users by default.

Acceptance criteria

  • Retry supports loading and disabled states and prevents duplicate activation.
  • Error reference can be copied without exposing stack traces.
  • Offline and permission variants provide specific, actionable guidance.
  • Inline layout works inside tables, cards, and dialogs.
  • Tests cover variants, retry lifecycle, copy action, and accessible alert semantics.

Out of scope

  • Replacing React ErrorBoundary for render crashes.
  • Logging errors or selecting an observability provider.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions