Skip to content

[FRONTEND] Implement error state UI for failed API calls #230

@dev-fatima-24

Description

@dev-fatima-24

Priority: high

Description

When API calls fail, the frontend currently shows nothing or a raw error string. Each data-fetching component needs a proper error state with a message and a retry action.

Acceptance Criteria

  • Error state shows a human-readable message (not a stack trace)
  • A 'Try again' button triggers a retry of the failed request
  • Error state is visually distinct from empty state
  • Network errors and 5xx errors both trigger the error state
  • Error is cleared when a retry succeeds

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions