diff --git a/packages/webui/src/public/bus.js b/packages/webui/src/public/bus.js index 15fcdeb21..592e8d205 100644 --- a/packages/webui/src/public/bus.js +++ b/packages/webui/src/public/bus.js @@ -258,11 +258,13 @@ // 10 s refresh redraws the form without losing it. Nothing resends: an unknown outcome stays // unknown and the draft stays put. // Row 81 (#1575): a sent receipt lists the replies to that message, read with `replies` on each - // render. That read marks nothing, so every reply still reaches the next `mosaic talk`. + // render. That read marks nothing. Row 150 (#1644): since row 142, `mosaic talk` prints only the + // reply to its own message, so a reply to a Console send stays unread in `mosaic inbox` until + // the human marks it read with `mosaic inbox --read`. let canSend = false, sendRoles = null, sending = false, receipt = null, replies = []; const REPLIES = 50; // the broker's cap function repliesHtml() { - if (replies === null) return '
The replies to it could not be read. Read again to retry; mosaic talk in a terminal prints them.
The replies to it could not be read. Read again to retry; mosaic inbox in a terminal lists them.
No reply yet. One shows here when the role answers, as the page refreshes.
'; return `${txt(m.from_role)} ${when(m.at)} · ${txt(m.class)} · trail
${txt(m.body)}
The first ${REPLIES} replies show here.
` : ''}`; } @@ -277,7 +279,7 @@ ? `Not sent to ${txt(r.to)}: ${txt(r.message)}${r.message.includes(`(${r.code})`) ? '' : ` (${txt(r.code)})`}. The draft is kept.
Outcome unknown: the message to ${txt(r.to)} may have been sent. Nothing was sent again, and the draft is kept. The bus gave no message id, so there is no trail to link: before sending again, look for it on the role's side or in the bus trail from a terminal.
`; return `Goes to the role as a message from the human, the same way as one sent from the CLI, with class INFO. Replies to it show under the receipt. The Console only shows them and never marks one delivered or read, so the next mosaic talk in a terminal still prints each one.
Goes to the role as a message from the human, the same way as one sent from the CLI, with class INFO. Replies to it show under the receipt. The Console never marks one read, so each stays unread in mosaic inbox in a terminal until you mark it read with mosaic inbox --read.
The held roles could not be read, so there is nothing to pick. Read again to retry.
' : !roles.length ? 'No role is held right now, so there is nothing to pick.
' : ''}