Reading pane

The open email. One component for both views: the toolbar, the subject with its tag, the sender, the body, the attachments and the reply box.

Anatomy

bg/surface, radius 10. The body is Body/Reading (14/22) capped at 760 wide, so long lines stay readable in the full view. The reply box is a Yöte input with Send in its trailing slot, pinned to the bottom.

Notes from the onboarding review

Work
Mara Lindqvistmara@northwindlabs.co
To you and 2 others
Today, 09:41

Hi Alex,

Thanks for walking us through the onboarding flow today. Three things to fix before Thursday, none of them large:

1. The permissions screen should say what Kuori never does before the switches, not after. 2. The Syncing row needs a real progress bar. The percentage alone feels stuck at 42%. 3. All set should link to Integrations so people can add the tools they skipped.

Happy to pair on any of these tomorrow morning.

Mara

  • onboarding-notes.pdf1.2 MB

Loading

The subject and sender come from the list, so they show at once. The body, recipients, date and attachments load behind a skullet skeleton while message is null. A load under 150ms never shows one.

Notes from the onboarding review

Work
Mara Lindqvistmara@northwindlabs.co
Loading the email

Usage

import { ReadingPane, EmailToolbar } from "@kuori/ui/inbox";
<ReadingPane email={email} message={body} toolbar={<EmailToolbar starred={email.starred} />} />

ReadingPane

PropTypeDescription
emailRequired
EmailSummary
What the list already knows: sender, subject, tag
messageRequired
EmailBodynull
To, date, body paragraphs and attachments. Null while it loads
toolbarRequired
ReactNode
The <EmailToolbar /> above the email
onSend
(reply: string) => void
Called with the reply when Send is pressed
className
string
Additional CSS classes