Sulba
ReviewSign inAccount
Theme
Editor theme
Light
Dark

Intermediate · Shipping full stack

The chat page

The desk's page, in TypeScript: a typed client for its API with its problem details as errors; the reply's event stream read from fetch as browsers read one; the chat, with each message put on the page as text and a log a screen reader can follow; a review of an assistant's chat; and a dashboard of usage and cost by UTC day, in a table a screen reader can read.

You build
api.ts, then stream.ts, then chat.ts, then desk_chat.ts, then dashboard.ts
Stages
3 Build, 1 Catch, 1 Ship
Time
About 7 hours
Runs on
Your machine

Loading the workspace…