Files
CatoandClaude Opus 5.5 20f5b5849b feat(messenger): delivered, read and when; delete for me or for everyone; edit history (0.39.0) (#104)
* feat(messenger): delivered, read and when; delete for me or for everyone; edit history (0.39.0)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6

* fix(sheet): a close the app caused never shuts the next sheet; tests wait for it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6

* test(messenger): say what the page looked like when the actions sheet did not open

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6

* fix(sheet): a late close event never shuts a sheet that is open again

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-15 11:35:04 +01:00

20 lines
1.0 KiB
TypeScript

import { type MessengerConversation, type MessengerMessage, type MessengerTransport } from "../messenger.js";
import type { MessengerLabels } from "./messenger-labels.js";
/** "14:02" today, "12 Nov, 14:02" before: a receipt is read at a glance. */
export declare function receiptTime(at: Date, locale?: string, timeZone?: string, now?: Date): string;
/**
* "Info" on a message: for the viewer's own, who has it on their device and
* who has read it, each with the time; for an edited message, what it said
* before. Read on opening, never kept: a receipt changes while you look away.
*/
export declare function MessageInfo({ message, conversation, viewerId, transport, labels, locale, timeZone, onClose, }: {
message: MessengerMessage | null;
conversation: MessengerConversation | undefined;
viewerId: string;
transport: MessengerTransport;
labels: MessengerLabels;
locale?: string;
timeZone?: string;
onClose: () => void;
}): import("react").JSX.Element;
//# sourceMappingURL=MessageInfo.d.ts.map