diff --git a/.claude/skills/podbay-ui/SKILL.md b/.claude/skills/podbay-ui/SKILL.md
index 344fe31..5138eb0 100644
--- a/.claude/skills/podbay-ui/SKILL.md
+++ b/.claude/skills/podbay-ui/SKILL.md
@@ -31,7 +31,7 @@ The app is a single-page app served as static assets. It shows strangers' mail i
- a date is `DatePicker`;
- an action is `Button`, and a field with its label and help is `Field` with `Label`.
- Read the component's entry in Kumo's own documentation, shipped with the pinned version (`node_modules/@cloudflare/kumo/ai/component-registry.md`), before using it. A control's size is its `size` prop, never a class: the controls of one form share one size, and a height, a size, a corner or a type size written by hand on a Kumo control is refused. Where Kumo's component cannot do the job, one wrapper for it lives in `app/components/controls/` and every screen uses it. A native control that must stay (a whole line that opens a message, say) is one line of `ON_PURPOSE` in `scripts/checks/controls.ts`, with its reason. The controls written by hand before the check came in are its `TO_MOVE` debt, which only goes down (#82, #83).
+ Read the component's entry in Kumo's own documentation, shipped with the pinned version (`node_modules/@cloudflare/kumo/ai/component-registry.md`), before using it. A control's size is its `size` prop, never a class: the controls of one form share one size, and a height, a size, a corner or a type size written by hand on a Kumo control is refused. Where Kumo's component cannot do the job, one wrapper for it lives in `app/components/controls/` and every screen uses it. A native control that must stay (a whole line that opens a message, say) is one line of `ON_PURPOSE` in `scripts/checks/controls.ts`, with its reason. A Kumo control that keeps a fully round shape a screen had before Kumo (`rounded-full` alone, which Kumo gives only to a circle for an icon) is one line of `ROUND_ON_PURPOSE` there, with its reason. A move to Kumo keeps what the screen looks like; a change of look is said in the pull request with pictures of before and after. The controls written by hand before the check came in are its `TO_MOVE` debt, which only goes down (#82, #83).
Every control has a name: Kumo's controls take `label`; an icon button gets `aria-label`. Errors are `role="alert"`. Move focus by a ref to the form, not by element id (the field library sets ids after the first paint).
7. **Attachments are downloads.** Link to a plain one; a risky one goes through the warning in `EmailAttachmentList`. Only plain image kinds are previewed or embedded (`isShowableImage`).
diff --git a/app/components/Header.tsx b/app/components/Header.tsx
index b42dd95..bef0255 100644
--- a/app/components/Header.tsx
+++ b/app/components/Header.tsx
@@ -119,24 +119,26 @@ export default function Header() {
className="h-12 w-full rounded-full border border-transparent bg-kumo-fill pl-12 pr-20 text-sm text-kumo-default placeholder:text-kumo-subtle focus:border-kumo-line focus:bg-kumo-base focus:outline-none focus:ring-1 focus:ring-kumo-ring [&::-webkit-search-cancel-button]:hidden"
/>
{searchQuery && (
- }
aria-label={t("Clear search")}
- >
-
-
+ onClick={clearSearch}
+ />
)}
-
+ onClick={() => setOptionsOpen(true)}
+ />
useUIStore.setState({ dragged: [] })}
+ // Whether Shift is held for the box this click or key ticks: Kumo's box takes no click
+ // handler of its own, so the line reads it on the way down.
+ onClickCapture={(event) => {
+ withShift.current = event.shiftKey;
+ }}
+ onKeyDownCapture={(event) => {
+ withShift.current = event.shiftKey;
+ }}
onContextMenu={(event) => {
event.preventDefault();
setMenu({ email, at: { x: event.clientX, y: event.clientY } });
@@ -336,35 +344,26 @@ export default function MessageList({
index === cursor ? "border-l-kumo-brand" : "border-l-transparent"
} ${tone}`}
>
- {
- withShift.current = event.shiftKey;
- }}
- onChange={() => toggle(email.id)}
+ onCheckedChange={() => toggle(email.id)}
/>
- }
onClick={() => actions.star(email)}
- >
-
-
+ />
{/* The conversation itself: one button, so the row has one name and one action */}
(null);
const allSelected = emails.length > 0 && chosen.length === emails.length;
- useEffect(() => {
- if (selectAll.current) selectAll.current.indeterminate = chosen.length > 0 && !allSelected;
- }, [chosen.length, allSelected]);
const pick = (keep: (email: Email) => boolean) => onSelect(emails.filter(keep).map((e) => e.id));
const anyUnread = chosen.some(isUnread);
@@ -76,14 +71,14 @@ export default function MessageListToolbar({
return (
+ {/* The line wraps: where Unsubscribe would leave the name no room, it moves under the name. */}
+
{actions && !isSelf && !isDraft ? (
// The sender's name opens what can be done with the sender, as a card would.
@@ -189,13 +190,17 @@ export default function MessageHeader({
)}
{isDraft && {t("Draft")}}
{actions?.onUnsubscribe && (
-
{t("Unsubscribe")}
-
+
)}
{me && (
-
- {t("Signed in as {email}.", { email: me.user.email })}{" "}
-
+ {t("Signed in as {email}.", { email: me.user.email })}
+
+ {t("Sign-in and security")}
+
+ {
await signOut();
queryClient.clear();
@@ -189,12 +191,8 @@ export default function HomeRoute() {
}}
>
{t("Sign out")}
-
- {" · "}
-
- {t("Sign-in and security")}
-
-
diff --git a/docs/status.md b/docs/status.md
index 983662b..e1daada 100644
--- a/docs/status.md
+++ b/docs/status.md
@@ -28,7 +28,7 @@
| Markdown links and anchors | D14 | `pnpm static docs` |
| The guidance is consistent: `AGENTS.md` is one page and names every skill and subagent; skills are named as their folders; a rule's paths still match files; a subagent names only skills that exist and cannot edit; the settings keep local secrets unread and ask before a push or a deploy | D15 | `pnpm static guidance`, `test/unit/guidance.test.ts` |
| No lint warning: every rule has one level for every file, no file is exempt, and `pnpm lint` fails on a warning (`--error-on-warnings`), so a clean run prints none. A rule is kept off at a place only by a `biome-ignore` that says why (two keyed lists that are never reordered). File size only goes down | D1, D4 | `pnpm lint`, `pnpm static ratchets` (lint warnings at 0) |
-| The app's controls are Kumo's (`pnpm static controls`): no `