ctermdocs HomeBlogSign in

Messages that leave after a delay

A session that answers a support channel or a mailbox can write dozens of replies a day. Waiting for your yes on each costs you a tap every time; letting them go at once leaves you no chance to look. The third way sits between the two: each message waits a few minutes where you can see it, then leaves by itself unless you touch it.

Choosing how messages leave

In the project page's Settings tab, the Sends section (an admin's, since the messages go out as you) gives Teams and mail each a mode:

  • Wait for a yes, the default: the message waits in the queue until you approve it, as described in Microsoft Teams and Mail.
  • Leave after a delay, with its minutes (3 by default): the message waits with a countdown and leaves by itself, exactly as written, when it ends.
  • Direct: the message leaves at once, at most 500 a session an hour in Teams and 20 by mail.

Quiet hours keep everything in during the hours you set, in this Mac's time; a message whose countdown ended meanwhile leaves when they end.

A reply a team member publishes signed from the Despacho (The support desk) follows the same Teams mode: it waits in the queue as an entry of the Despacho naming who picked it, counts down, or leaves at once. One they sent to you for approval leaves at once when you approve it: your yes is the yes.

The Settings tab's Sends section: Teams leaving after 3 minutes, mail waiting for a yes, quiet hours from 22:00 to 08:00.The Settings tab's Sends section: Teams leaving after 3 minutes, mail waiting for a yes, quiet hours from 22:00 to 08:00.
The Settings tab's Sends section: Teams leaving after 3 minutes, mail waiting for a yes, quiet hours from 22:00 to 08:00. ui-sends-settings-light.png and ui-sends-settings-dark.png, drawn by sends-shot.mjs

What you can do while it counts down

A delayed message shows in the project page's Now strip (and in the Situation's Mine, and in the Desk tab's For you, the support desk) with its whole text and a countdown, and on your phone as a notification that says when it leaves:

A Teams message leaving in 2:37 with Send now, Hold, Edit…, Cancel and Correct…; a mail reply held after an edit; and the Pause above the strip.A Teams message leaving in 2:37 with Send now, Hold, Edit…, Cancel and Correct…; a mail reply held after an edit; and the Pause above the strip.
A Teams message leaving in 2:37 with Send now, Hold, Edit…, Cancel and Correct…; a mail reply held after an edit; and the Pause above the strip. ui-sends-queue-light.png and ui-sends-queue-dark.png, drawn by sends-shot.mjs
  • Send now sends it at once.
  • Hold stops the countdown: it leaves only when you say Send now.
  • Edit… opens the text in a box. What you write is what goes out, with no model in between. Opening the box holds the message, so it never leaves while you change it; Send it sends your text, Save, hold keeps it for later. The session is told what went out.
  • Cancel sends nothing; the session is told.
  • Correct… sends nothing and types your correction to the session, which writes the message again. Its new version waits in the queue again with a new countdown.

Once a message is gone, its line says what became of it: left by itself, sent now, edited and sent, cancelled or corrected. A message that went in reply on a case of the desk is also kept on that case as sent, so the case shows it and the coordinator's next round does not bring it back as news when the channel is read again.

The Pause

While one of a project's sources leaves after a delay, an admin sees a line above the Now strip with Pause sends. With the Pause on, nothing leaves by itself: every countdown stops with the time it had left, and a message written meanwhile waits too. Resume sends starts each countdown again from where it stopped.

How it works

The deadline is kept with the message in cterm's store, not in a timer, so a daemon restart or a Mac that slept past it sends the message at the first look after, once. It leaves as if its session's owner had approved it, and the session reads what happened, as with a yes.

Each edit, cancel and correction is kept as a pair: what the session wrote, and what went out or what you said. In the yes mode, Changes… on a message counts as a correction and a bin with a reason as a cancellation. The desk learns from the pairs: its rules and style sheet, which the coordinator writes by, are in the desk view's Rules and style.

Screenshots on this page are drawn by docs/spike/sends-shot.mjs from fake data, and refreshed when a view changes.

Written in docs/site/pages/sends.md and built by docs/site/build.mjs.