Component states · 2026-10-06

before body

6 states with problems3 ok0 to look atAPI **/api/orders.json*
Readyok

The real data, as it arrives today.

Loadingproblem

The response never arrives: what the user sees while waiting.

  • gives no sign that it is loading
Emptyproblem

Every list in the response is empty: a new account, a quiet day.

  • doesn't say there is nothing here, or what to do
One itemok

Every list with a single item.

Many itemsok

Every list with 30 items.

Missing fieldsproblem

Half the values in each record are null: optional fields, old records.

  • crashes: Cannot read properties of null (reading 'toUpperCase')
Server errorproblem

The API answers 500.

  • crashes: data.orders is not iterable
  • shows raw values: Invalid Date
  • doesn't say what happened or what to do
Offlineproblem

The request fails: no connection, a tunnel, a train.

  • crashes: Failed to fetch
  • doesn't say what happened or what to do
No permissionproblem

The API answers 401: the session expired.

  • crashes: data.orders is not iterable
  • shows raw values: Invalid Date
  • doesn't say what happened or what to do
Readyok

The real data, as it arrives today.

Loadingproblem

The response never arrives: what the user sees while waiting.

  • gives no sign that it is loading
Emptyproblem

Every list in the response is empty: a new account, a quiet day.

  • doesn't say there is nothing here, or what to do
One itemok

Every list with a single item.

Many itemsok

Every list with 30 items.

Missing fieldsproblem

Half the values in each record are null: optional fields, old records.

  • crashes: Cannot read properties of null (reading 'toUpperCase')
Server errorproblem

The API answers 500.

  • crashes: data.orders is not iterable
  • shows raw values: Invalid Date
  • doesn't say what happened or what to do
Offlineproblem

The request fails: no connection, a tunnel, a train.

  • crashes: Failed to fetch
  • doesn't say what happened or what to do
No permissionproblem

The API answers 401: the session expired.

  • crashes: data.orders is not iterable
  • shows raw values: Invalid Date
  • doesn't say what happened or what to do

Made by /coleoni-states · skills.coleoni.com