Conversation
A row whose latest sent item is the person's (a reply, a message they addressed to a session, a 👍 Looks good) shows a glyph before its time: a clock queued, dots sending, ✓ saved, ✓✓ delivered (the time becomes the delivery time), a warning triangle not delivered (approval "inbox-row-delivery", Ticks). A Sent row shows its own subject again. The server puts an additive `delivery` field on each row, decided by `inboxDeliveryState` (packages/core/inbox-delivery.ts), the rule the thread's delivery line now delegates to, from the store plus the live sessions it hands the store. A busy/idle change writes no store line, so the server compares the sessions' delivery signature every second while a window listens and sends `event: deliveries`; the window reads the list again only while some delivery can still move. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The row picked the last agent message with an open or picked question as the session that asked, while the thread (default skip, no picks) uses the latest agent message, so a words-only reply to a second session read 'saved, the session that asked ended' on the row and 'Queued' in the thread. Both now use inboxAskingMessage / inboxDefaultSkip (core), and the row's ended tooltip names the asking session's agent (delivery.asking). hasMovingDelivery skips saved-for-a-reader rows; listRow reads question states in its one pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # packages/inbox/App.tsx
…ough inbox-types) Like inbox-open-in and inbox-attachments, the module reaches every caller through @plannotator/core/inbox-types, so core's export map stays equal to the published 0.25.13 and the UI package smoke passes without a bump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds the approved "Ticks" design (
.product/approved/inbox-row-delivery/): a small glyph before a list row's time tells where the person's latest sent item is.How row and thread stay in step: a new additive row field,
delivery, is computed on the server byinboxDeliveryState(packages/core/inbox-delivery.ts).deliveryLinenow delegates its state to the same rule. The store gathers the same inputs the thread does, and the server hands it the live sessions (setDeliveryPresence). Memory only, a few lookups per row.Live updates: a turn starting or ending writes no store line. The server compares the live sessions' delivery signature once a second while a window listens, and sends
event: deliveries(windows only, never the phone's door). The window reads the list again only while some row's delivery can still change.Tests:
bun run typecheck;bun test packages/core packages/shared packages/inbox packages/server/inbox(3236 pass); the inbox DOM list (478 pass, with the newrowTicks.test.tsx); newstore-row-delivery.test.ts,inbox-row-delivery.test.ts,rowDelivery.test.ts. Playwright on the compiled binary:inbox-send-now(extended: row ticks, the tooltip, a live busy→idle change, shots),inbox,inbox-order,inbox-tags,inbox-ack,inbox-compose,inbox-ended-session,inbox-mobile,inbox-new-message,inbox-open-stays-put,inbox-tooltips,inbox-replaced,inbox-worst-case,inbox-mark-readall pass.🤖 Generated with Claude Code