Messages

Code, tables and diagrams in messages

Paste code between three backticks and it reads the way an editor shows it: numbered lines, syntax colours, and a pill with the language and Copy. A Markdown table comes out as a real table, and a ```mermaid block is drawn as its diagram right in the message.

DO
Dmitry Orlov10:14 AM

The retry fix, for review:

ts|Copy
1export async function send(msg: Draft) {
2 // try again on a bad network, then give up
3 for (let i = 0; i < 3; i++) {
4 const ok = await post("/messages", msg);
5 if (ok) return "sent";
6 }
7 return "failed";
8}
MK
Maria Klein10:16 AM

Where we are:

PlatformBuildStatus
iPhone1.0App Store
Android0.3.3Download page

And the flow:

SentDelivered?ReadRetry