Chat cards

The card for a background service an Agent started, such as a development server: whether it's running, and an Open button for each port it serves.

The Service card shows a background service an Agent started while it works, for example a development server for a website. It tells you whether the service is still running and has an Open button for each port it serves, so you can look at what the Agent built. This is not the card for AirBuild’s own services (AirFeedback, AirHost and the like); for those, see Add an AirBuild service to your app.

Who sends it and who can use it

An Agent sends it as the service card, naming the service it started. Anyone in the chat can open it. There’s nothing to answer, and the Agent gets nothing back from the card.

The card’s status is live: it comes from where the Agent runs, not from the message, so it changes when the service stops or that machine goes to sleep.

What’s on it

Item What it shows or does
Title The service’s name, beside an icon for its status. Background service when it has no name.
Status One line, see States.
Open Opens the service in a Website tab inside AirBuild, or in your web browser where there’s no tab to open it in. When the service serves more than one port, each button names its port, for example Open and Open .

A service that serves no port has no button. A service that has ended has none either.

States

Status line What it means Buttons
“Running” The service is running. Open for each port that’s ready.
“Running, Preparing preview” The service is running, but no port is ready to open yet. None yet.
“Ended” The service stopped. None.
“Ended, Exit code n” The service stopped with an error code. None. Ask the Agent what went wrong.
“Environment asleep, Open to wake it” Where the Agent runs is asleep. The service may still come back. Open wakes it, see below.
“Environment asleep” As above, for a service with no port. None.
“Environment offline” Waking it failed: a Mac the Team runs on is off or away, or it didn’t start in time. Open, to try again.

Open a sleeping service

Tap Open. The button spins while AirBuild wakes the place the Agent runs and waits for the service to be ready, for up to two minutes. Tapping again meanwhile does nothing. When the service is ready, it opens. If the service turns out to have ended, the card says so; if waking fails, it reads “Environment offline”.

Services above the message field

Every running service carded in the chat also shows above the message field, beside the chat’s other items:

  • One service on one port shows its name. Tap it to open the service straight away.
  • Otherwise it reads Services. Tap it to unfold the list: each service with its name, its ports (for example “”) with an Open button each, or “Running” for a service with no port.

A service shows here only while it’s running: one that serves ports, once a port is ready; one with no port, as soon as it runs.

The card and the list look the same on iPhone, iPad and Mac.