Skip to content

fix(reminders): show marks on grouped messages, gate Remind me by delivery, start custom time at the next 9am - #2507

Open
matt2e wants to merge 2 commits into
mainfrom
broken-8
Open

matt2e wants to merge 2 commits into
mainfrom
broken-8

Conversation

@matt2e

@matt2e matt2e commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Closes two gaps in the bundled Reminders plugin and repairs the existing create form:

  • Grouped messages now show their reminder mark. A grouped (continuation) row hides its byline, so its "Reminder set" mark never appeared. Marks now render in a caption line of their own on grouped rows, and the mark's label names the earliest pending due time ("Reminder set for …"). Setting a reminder confirms with a "Reminder set for …" toast.
  • Remind me is hidden on messages the relay never stored. Failed, sending and unknown-state messages no longer offer Remind me or show a mark. The action uses the same delivery gate as Reply, Report and Start Solo chat (no delivery, accepted or seen).
  • Remind me's Custom date & time starts at the next 9am. It started at today 09:00, so after 9am it opened on "Choose a date and time in the future." with Set reminder disabled.

Per tellaho's scope comment, the Snooze / Remind me again → Custom… dialog was split out to #3065, stacked on this branch, to land after the Nov 10 launch. This PR keeps only the contained repairs.

Changes

Plugin (src/bundled/reminders/)

  • index.tsx — Remind me gated on delivery; mark labelled with the earliest due time, tooltip and title removed.
  • model.ts — pendingMessageDue replaces pendingMessageIds; exports nextDayAt9am, adds customInputs.
  • RemindDialog.tsx — "Reminder set for …" toast; Custom date & time starts at defaultCustomInputs, the next 9am.

Message list (src/features/messages/)

  • MessageRow.tsx — action markers render in a select-none caption line on grouped rows, in the byline otherwise.
  • Messages.module.css — .marks:empty hides the line when no marker renders.

Docs

  • docs/plugin-architecture.md — describes marker placement on grouped rows.
  • docs/buzz-help.md — new Reminders entry.

Tests

  • src/bundled/reminders/index.test.ts — delivery gate and due-time mark label.
  • src/bundled/reminders/model.test.ts — pendingMessageDue.
  • src/bundled/reminders/RemindDialog.test.tsx — confirmation toast; next-9am default at faked times.
  • src/features/messages/MessageRow.test.tsx — mark on grouped rows, empty mark line hidden.

Testing

On this branch's tip: bin/pnpm lint, bin/pnpm check (Biome, typecheck, design checks) and bin/pnpm exec vitest run. Results are in the split comment below.

The native desktop build was not exercised. The reminder store is supplied only by the native host, so the native reminder codec and the desktop webview are untested here.

Notes for reviewers

  • src/features/conversation/contracts.ts (FOUNDATION) still documents marker as sitting "beside the message timestamp". docs/plugin-architecture.md is updated for grouped rows, but the contract comment is not.
  • The mark's tooltip was removed so screen readers announce it once. Sighted users get the due time from the "Reminder set for …" toast and from the Reminders page.
  • The grouped-row mark placement follows draft feat(import): consented conversation import service, consent card and imported-message rendering #2229, which puts its compact "Imported" marker in the same slot. Whichever lands second should rebase onto the other.
  • On collapsed agent-addressed rows, the mark sits inside the collapsed panel, so it shows only once the row is expanded.

Before / after

Before is the merge-base with main at the time (ccf922b), After is the branch before the split. Same seeded state and script in both; the app is the real build of each commit running in Chromium with a test-only reminder store. Light theme, 1200×760.

Video (36 s, three scenarios: grouped-message mark, Remind me on a failed send, Snooze → Custom…; the third scenario now belongs to #3065):

staged-image-9b004fda-4f33-426f-8640-08cfc8a63322.mp4

1. Reminder mark on a grouped message

Before: setting a reminder on the grouped second message changes nothing on screen. After: an alarm mark appears on its own line above the grouped bubble and a "Reminder set for …" toast confirms it.

2× zoom of the two bubbles: only After shows the 14 px alarm mark between the first bubble and the grouped one.

2. Remind me on a failed send

Actions menu on the failed message. Before ends with "Remind me"; After ends at "Delete message".

🤖 Generated with Claude Code

@matt2e
matt2e marked this pull request as ready for review November 4, 2026 22:14
@matt2e
matt2e requested a review from a team as a code owner November 4, 2026 22:14

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Custom snooze can restore a reminder cancelled while its dialog is open.

Comment thread src/bundled/reminders/RemindersPage.tsx Resolved
matt2e added a commit that referenced this pull request Nov 5, 2026
Address review on #2507: open Snooze → Custom… on a pending reminder,
cancel it on another device, then press Save in the still-open dialog.
ReminderSections kept the snapshot it opened with, so Save stayed
enabled and called reminders.snooze. The store keeps cancelled heads
and writes the replacement as pending, which brought the cancelled
reminder back and cleared its expiration.

- ReminderSections now looks up the live reminder by id in the list it
  shows. If that reminder is missing or cancelled, SnoozeDialog gets
  `cancelled`. The `snoozing` state is only the reminder as it was when
  Custom… opened, used for the title and starting time.
- With `cancelled`, the dialog stays open and keeps the typed date and
  time, but Save is disabled and a "This reminder was cancelled."
  status notice replaces any save error. Cancel and Escape still close
  it, and focus still falls back to the list.
- Save checks again against reminders.snapshot() at click time and
  rejects without calling snooze if the reminder is gone or cancelled,
  so a store change that lands between render and click can't restore
  it either.
- Done reminders ("Remind me again") can still be snoozed. Only missing
  or cancelled reminders are refused. src/features/relay/reminders.ts
  is unchanged.

Tests: a RemindersPage test publishes a remote cancel while Custom… is
open, then checks the notice, the disabled Save, and that a forced
click never calls snooze. A second test cancels in the store without
re-rendering, expects Save to refuse, then snoozes a Done reminder
through Custom…. A SnoozeDialog unit test covers the new prop. All
three fail without the fix. The Save-time test also fails when only
the snapshot check is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: mtoohey <mtoohey@squareup.com>

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 One remaining focus-restoration issue; the prior cancelled-reminder resurrection issue is repaired in the exercised paths.

Comment thread src/bundled/reminders/RemindersPage.tsx Resolved
matt2e added a commit that referenced this pull request Nov 5, 2026
Address review on #2507: open Snooze → Custom… on the only active
reminder, receive its cancellation from another device, then press
Cancel. finalFocus fell back to the sections container, which has no
tabindex and, in the empty state, no tabbable children. Base UI focuses
the returned element's first tabbable descendant, otherwise the element
itself, so .focus() did nothing and focus fell to <body>. The next Tab
then left the Reminders page for the shell.

- With no reminders left (no active groups and no Done section), the
  fallback is now the page panel, which already has tabIndex={-1} and
  is where focus goes when Retry disappears. ReminderSections takes the
  page ref as a prop.
- Otherwise nothing changes: the reminder's own trigger if a row still
  shows it, else the list, where Base UI focuses its first tabbable
  control (a remaining row or the Done section's toggle).

Tests: a RemindersPage test cancels the only reminder remotely while
Custom… is open, presses Cancel, and expects the page panel to have
focus, not <body>. The reminders-layout fixture exposes its store on
window so a new Playwright check can cancel both reminders the same way
on Chromium and WebKit. Both fail without the fix. The existing "keeps
focus in the list…" test still passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: mtoohey <mtoohey@squareup.com>
matt2e added a commit that referenced this pull request Nov 5, 2026
Address review on #2507: open Snooze → Custom… on a pending reminder,
cancel it on another device, then press Save in the still-open dialog.
ReminderSections kept the snapshot it opened with, so Save stayed
enabled and called reminders.snooze. The store keeps cancelled heads
and writes the replacement as pending, which brought the cancelled
reminder back and cleared its expiration.

- ReminderSections now looks up the live reminder by id in the list it
  shows. If that reminder is missing or cancelled, SnoozeDialog gets
  `cancelled`. The `snoozing` state is only the reminder as it was when
  Custom… opened, used for the title and starting time.
- With `cancelled`, the dialog stays open and keeps the typed date and
  time, but Save is disabled and a "This reminder was cancelled."
  status notice replaces any save error. Cancel and Escape still close
  it, and focus still falls back to the list.
- Save checks again against reminders.snapshot() at click time and
  rejects without calling snooze if the reminder is gone or cancelled,
  so a store change that lands between render and click can't restore
  it either.
- Done reminders ("Remind me again") can still be snoozed. Only missing
  or cancelled reminders are refused. src/features/relay/reminders.ts
  is unchanged.

Tests: a RemindersPage test publishes a remote cancel while Custom… is
open, then checks the notice, the disabled Save, and that a forced
click never calls snooze. A second test cancels in the store without
re-rendering, expects Save to refuse, then snoozes a Done reminder
through Custom…. A SnoozeDialog unit test covers the new prop. All
three fail without the fix. The Save-time test also fails when only
the snapshot check is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: mtoohey <mtoohey@squareup.com>
matt2e added a commit that referenced this pull request Nov 5, 2026
Address review on #2507: open Snooze → Custom… on the only active
reminder, receive its cancellation from another device, then press
Cancel. finalFocus fell back to the sections container, which has no
tabindex and, in the empty state, no tabbable children. Base UI focuses
the returned element's first tabbable descendant, otherwise the element
itself, so .focus() did nothing and focus fell to <body>. The next Tab
then left the Reminders page for the shell.

- With no reminders left (no active groups and no Done section), the
  fallback is now the page panel, which already has tabIndex={-1} and
  is where focus goes when Retry disappears. ReminderSections takes the
  page ref as a prop.
- Otherwise nothing changes: the reminder's own trigger if a row still
  shows it, else the list, where Base UI focuses its first tabbable
  control (a remaining row or the Done section's toggle).

Tests: a RemindersPage test cancels the only reminder remotely while
Custom… is open, presses Cancel, and expects the page panel to have
focus, not <body>. The reminders-layout fixture exposes its store on
window so a new Playwright check can cancel both reminders the same way
on Chromium and WebKit. Both fail without the fix. The existing "keeps
focus in the list…" test still passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: mtoohey <mtoohey@squareup.com>

@wesbillman wesbillman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Guardians review — no new blocking source findings; recommend approval subject to required CI.

Reviewed the complete feature at head e0d6fd9665f006e4dd178dd3587bb99be3fecef3, target base fe3dd1947181de66dc6e4fd8ca5d3b61573c0ca2 (merge base 1c3047558547e76bd006c2dc76951b3f1d601c5d).

Both prior P2s are repaired: Custom snooze follows the live reminder id, refuses missing/cancelled reminders and rechecks the snapshot on Save; dismissing after the final reminder disappears returns focus to the surviving page panel. Regression sources cover both. Grouped marks remain outside the hidden byline, announce the earliest pending due time once and collapse when empty. Delivery gating also closes a stale opened action. Custom time retains its fields through regrouping/failure and revalidates the future local time at submission, using the existing reminder store and native codec.

Optional follow-up: the unchanged store still permits a cancellation that lands after click-time validation but before a queued snooze builds its replacement to be overwritten with pending. Preset snooze shares this window. Checking cancelled status inside snooze's queued callback would narrow it; add a held-queue cancellation regression. This is not an atomic cross-device guarantee during sign/publish.

The removed tooltip leaves due-time discovery for sighted pointer users to the toast/Reminders page. The disclosed stale marker contract comment, marks inside collapsed agent rows and shared grouped-marker slot with #2229 remain follow-ups/integration limits.

Validation: source-only; no tests, builds or app run by reviewers. Exact-head hosted snapshot: 41 successful checks, one skipped and two failed (WebKit 9/14 and the required aggregate). The failed job identifies notifications.spec.mjs:274, with its visible incoming-row assertion failing at line366; causality and flakiness are not established. Both browser flake checks succeeded. Required CI still needs resolution. Six older fixture comparison screenshots inspected; video unviewed. Native IPC/codec, desktop interaction and assistive-technology acceptance remain unverified.

matt2e added a commit that referenced this pull request Nov 6, 2026
Address review on #2507: open Snooze → Custom… on a pending reminder,
cancel it on another device, then press Save in the still-open dialog.
ReminderSections kept the snapshot it opened with, so Save stayed
enabled and called reminders.snooze. The store keeps cancelled heads
and writes the replacement as pending, which brought the cancelled
reminder back and cleared its expiration.

- ReminderSections now looks up the live reminder by id in the list it
  shows. If that reminder is missing or cancelled, SnoozeDialog gets
  `cancelled`. The `snoozing` state is only the reminder as it was when
  Custom… opened, used for the title and starting time.
- With `cancelled`, the dialog stays open and keeps the typed date and
  time, but Save is disabled and a "This reminder was cancelled."
  status notice replaces any save error. Cancel and Escape still close
  it, and focus still falls back to the list.
- Save checks again against reminders.snapshot() at click time and
  rejects without calling snooze if the reminder is gone or cancelled,
  so a store change that lands between render and click can't restore
  it either.
- Done reminders ("Remind me again") can still be snoozed. Only missing
  or cancelled reminders are refused. src/features/relay/reminders.ts
  is unchanged.

Tests: a RemindersPage test publishes a remote cancel while Custom… is
open, then checks the notice, the disabled Save, and that a forced
click never calls snooze. A second test cancels in the store without
re-rendering, expects Save to refuse, then snoozes a Done reminder
through Custom…. A SnoozeDialog unit test covers the new prop. All
three fail without the fix. The Save-time test also fails when only
the snapshot check is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: mtoohey <mtoohey@squareup.com>
matt2e added a commit that referenced this pull request Nov 6, 2026
Address review on #2507: open Snooze → Custom… on the only active
reminder, receive its cancellation from another device, then press
Cancel. finalFocus fell back to the sections container, which has no
tabindex and, in the empty state, no tabbable children. Base UI focuses
the returned element's first tabbable descendant, otherwise the element
itself, so .focus() did nothing and focus fell to <body>. The next Tab
then left the Reminders page for the shell.

- With no reminders left (no active groups and no Done section), the
  fallback is now the page panel, which already has tabIndex={-1} and
  is where focus goes when Retry disappears. ReminderSections takes the
  page ref as a prop.
- Otherwise nothing changes: the reminder's own trigger if a row still
  shows it, else the list, where Base UI focuses its first tabbable
  control (a remaining row or the Done section's toggle).

Tests: a RemindersPage test cancels the only reminder remotely while
Custom… is open, presses Cancel, and expects the page panel to have
focus, not <body>. The reminders-layout fixture exposes its store on
window so a new Playwright check can cancel both reminders the same way
on Chromium and WebKit. Both fail without the fix. The existing "keeps
focus in the list…" test still passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: mtoohey <mtoohey@squareup.com>

@wesbillman wesbillman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Star Lord / Guardians focused integration review via Wes’s account: no new actionable source findings.

Reviewed head 0da67de3b1dd0a3a78ffcf7e48c4d1b85ed36569 against base/merge base f9ce9dfc4ae8ea69ad82c6dcd270e570077ce6de, retaining the prior feature review. Range-diff preserves all seven feature patches apart from documentation hunk context. This round focuses on their integration with the rebased message retention and collapsed execution-failure rows.

The media-playing state extends the existing row-retention condition; stopping or removing a player does not clear an open action’s retention. Folded rows keep their action overlays outside the collapsed content, with the same delivery/contribution gates. The grouped mark uses the existing caption styling and still disappears when empty. The inherited failure-row fold means reminder marks on those notices, like agent-addressed rows, are visible only after expansion; the action remains available through the row’s context menu.

The prior cancellation and last-row focus fixes remain intact. The previously reported optional queued-snooze cancellation window, sighted due-time discovery limitation, marker contract comment and shared grouped-marker integration with #2229 are unchanged; this review does not reopen them as new findings.

Validation: independent Rocket, Mantis and Groot source lanes plus Star Lord integration. No tests, builds or app execution in this round; CI was not reassessed. The public description and six unchanged historical fixture screenshots were inspected, with no new publication-surface finding. The video remains unviewed. Exact-head layout, keyboard/assistive-technology behavior, playback plus dialog interactions, and native reminder IPC/codec remain unverified.

matt2e added a commit that referenced this pull request Nov 6, 2026
Address review on #2507: open Snooze → Custom… on a pending reminder,
cancel it on another device, then press Save in the still-open dialog.
ReminderSections kept the snapshot it opened with, so Save stayed
enabled and called reminders.snooze. The store keeps cancelled heads
and writes the replacement as pending, which brought the cancelled
reminder back and cleared its expiration.

- ReminderSections now looks up the live reminder by id in the list it
  shows. If that reminder is missing or cancelled, SnoozeDialog gets
  `cancelled`. The `snoozing` state is only the reminder as it was when
  Custom… opened, used for the title and starting time.
- With `cancelled`, the dialog stays open and keeps the typed date and
  time, but Save is disabled and a "This reminder was cancelled."
  status notice replaces any save error. Cancel and Escape still close
  it, and focus still falls back to the list.
- Save checks again against reminders.snapshot() at click time and
  rejects without calling snooze if the reminder is gone or cancelled,
  so a store change that lands between render and click can't restore
  it either.
- Done reminders ("Remind me again") can still be snoozed. Only missing
  or cancelled reminders are refused. src/features/relay/reminders.ts
  is unchanged.

Tests: a RemindersPage test publishes a remote cancel while Custom… is
open, then checks the notice, the disabled Save, and that a forced
click never calls snooze. A second test cancels in the store without
re-rendering, expects Save to refuse, then snoozes a Done reminder
through Custom…. A SnoozeDialog unit test covers the new prop. All
three fail without the fix. The Save-time test also fails when only
the snapshot check is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: mtoohey <mtoohey@squareup.com>
matt2e added a commit that referenced this pull request Nov 6, 2026
Address review on #2507: open Snooze → Custom… on the only active
reminder, receive its cancellation from another device, then press
Cancel. finalFocus fell back to the sections container, which has no
tabindex and, in the empty state, no tabbable children. Base UI focuses
the returned element's first tabbable descendant, otherwise the element
itself, so .focus() did nothing and focus fell to <body>. The next Tab
then left the Reminders page for the shell.

- With no reminders left (no active groups and no Done section), the
  fallback is now the page panel, which already has tabIndex={-1} and
  is where focus goes when Retry disappears. ReminderSections takes the
  page ref as a prop.
- Otherwise nothing changes: the reminder's own trigger if a row still
  shows it, else the list, where Base UI focuses its first tabbable
  control (a remaining row or the Done section's toggle).

Tests: a RemindersPage test cancels the only reminder remotely while
Custom… is open, presses Cancel, and expects the page panel to have
focus, not <body>. The reminders-layout fixture exposes its store on
window so a new Playwright check can cancel both reminders the same way
on Chromium and WebKit. Both fail without the fix. The existing "keeps
focus in the list…" test still passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: mtoohey <mtoohey@squareup.com>

@wesbillman wesbillman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Star Lord automated source review via Wes’s account — no new actionable findings in this limited integration follow-up.

Reviewed head c97c908c3fcc91e0e87cb8cd8ed794f8f0bcdbba, base/merge base fb9cd7cf45c6d80368cc79a7c34535f8f3b2fd20. All seven feature patches match the previously reviewed revision by range-diff. Reminder UI/store, message rows and Dialog/Input implementations are unchanged. This lead-only pass retains the earlier team coverage and checks the limited overlap with the new base.

Reminder controls do not select the new glass-clear variant. The shared light-theme status roles remain defined, and the dialog’s floating interaction recipe remains in the later component layer. Pending/error/focus logic is unchanged. The new sign-in interception accepts only the bare buzz://sign-in URL; reminder page and notification actions still use conversation/page targets. No new integration defect was established. Prior fixes, optional queued-snooze cancellation follow-up, collapsed-mark visibility and other documented integration limits remain as recorded in the earlier reviews.

Source-only: no tests, builds, app runs or fresh CI assessment. Public description is unchanged; the prior inspection of six historical fixture screenshots is retained, and the video remains unviewed. Exact-head theme rendering, contrast in the app, keyboard/assistive-technology behavior and native reminder IPC/codec remain unverified.

matt2e added a commit that referenced this pull request Nov 6, 2026
Address review on #2507: open Snooze → Custom… on a pending reminder,
cancel it on another device, then press Save in the still-open dialog.
ReminderSections kept the snapshot it opened with, so Save stayed
enabled and called reminders.snooze. The store keeps cancelled heads
and writes the replacement as pending, which brought the cancelled
reminder back and cleared its expiration.

- ReminderSections now looks up the live reminder by id in the list it
  shows. If that reminder is missing or cancelled, SnoozeDialog gets
  `cancelled`. The `snoozing` state is only the reminder as it was when
  Custom… opened, used for the title and starting time.
- With `cancelled`, the dialog stays open and keeps the typed date and
  time, but Save is disabled and a "This reminder was cancelled."
  status notice replaces any save error. Cancel and Escape still close
  it, and focus still falls back to the list.
- Save checks again against reminders.snapshot() at click time and
  rejects without calling snooze if the reminder is gone or cancelled,
  so a store change that lands between render and click can't restore
  it either.
- Done reminders ("Remind me again") can still be snoozed. Only missing
  or cancelled reminders are refused. src/features/relay/reminders.ts
  is unchanged.

Tests: a RemindersPage test publishes a remote cancel while Custom… is
open, then checks the notice, the disabled Save, and that a forced
click never calls snooze. A second test cancels in the store without
re-rendering, expects Save to refuse, then snoozes a Done reminder
through Custom…. A SnoozeDialog unit test covers the new prop. All
three fail without the fix. The Save-time test also fails when only
the snapshot check is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: mtoohey <mtoohey@squareup.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
matt2e added a commit that referenced this pull request Nov 6, 2026
Address review on #2507: open Snooze → Custom… on the only active
reminder, receive its cancellation from another device, then press
Cancel. finalFocus fell back to the sections container, which has no
tabindex and, in the empty state, no tabbable children. Base UI focuses
the returned element's first tabbable descendant, otherwise the element
itself, so .focus() did nothing and focus fell to <body>. The next Tab
then left the Reminders page for the shell.

- With no reminders left (no active groups and no Done section), the
  fallback is now the page panel, which already has tabIndex={-1} and
  is where focus goes when Retry disappears. ReminderSections takes the
  page ref as a prop.
- Otherwise nothing changes: the reminder's own trigger if a row still
  shows it, else the list, where Base UI focuses its first tabbable
  control (a remaining row or the Done section's toggle).

Tests: a RemindersPage test cancels the only reminder remotely while
Custom… is open, presses Cancel, and expects the page panel to have
focus, not <body>. The reminders-layout fixture exposes its store on
window so a new Playwright check can cancel both reminders the same way
on Chromium and WebKit. Both fail without the fix. The existing "keeps
focus in the list…" test still passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: mtoohey <mtoohey@squareup.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>

@wesbillman wesbillman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Star Lord automated source review via Wes’s account — no new actionable findings in this focused integration follow-up.

Reviewed head 9a065fa1b3d25c645aa53f7124d40c7888516902, target base and merge base a66be57a52fe84da61fab9b406e70be31caeac0f. The seven reminder patches remain behavior-equivalent to the previously reviewed revision: range-diff changes are sign-off trailers and surrounding context. Rocket, Mantis and Groot independently checked the new byline interaction, reminder navigation/reveal ownership, and retained custom-dialog lifecycle; Star Lord integrated their source evidence.

  • The new View activity button occupies a separate leading-row slot. Reminder marks still follow the delivery-filtered action list and render once outside a continuation’s hidden byline (MessageRow.tsx:455–479,582–591,1203–1225). Task completion does not gate the mark.
  • Reminder page and notification actions do not opt into the new thread-tab context: "channel" reveal. Their ordinary target still receives the existing focus/highlight behavior; the Members cover retains focus ownership (RemindersPage.tsx:117–128, reminders index.tsx:136–144, ChannelsPage.tsx:1001–1041, ChannelTimeline.tsx:982–1001).
  • Reminder code and shared Dialog/Menu implementations are unchanged. The live cancellation/Save recheck and surviving-page focus repair remain intact. The added terminal-status color roles do not change those controls.

Prior optional follow-ups and limitations remain as recorded: the queued-snooze cancellation window, due-time discovery tradeoff, marker-contract/shared-slot notes, and marks hidden inside collapsed agent/failure rows. This pass found no new integration defect warranting a change request.

Source-only: no tests, builds, app runs or fresh CI assessment. The public description and six historical screenshot hashes are unchanged, so prior image inspection is retained; the video remains unviewed. Exact-head rendering in both themes and at narrow/enlarged sizes, keyboard/assistive-technology behavior, live focus, and native reminder notification/IPC/codec behavior remain unverified.

@tellaho

tellaho commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

🤖 Not critical path under the current launch UI frost.

People should see which messages have reminders, avoid reminders on unsent messages, and choose an exact snooze time.

Must change for launch: split out Snooze / Remind me again → Custom… and its new dialog. The canvas allows contained fixes without new surfaces or options; this adds both in a bundled plugin. Keep the grouped-message marks, delivery gate, and valid default time for the existing create form as a separate repair for review.

Evidence at 9a065fa1b3: new menu option and new dialog. Policy: buzz-design-review canvas, “Current policy (until Nov 10 launch).”

Checked source and six historical light-theme fixture images. No live app, native reminder flow, keyboard/assistive technology, dark mode, narrow/enlarged layouts or live empty/loading/error/agent states checked; video unviewed. This scope note does not certify the extracted repairs.

baxen pushed a commit that referenced this pull request Nov 8, 2026
…#2793)

## Summary

`typeahead.spec.mjs` now builds its four fixture pages (`mentions`,
`typeahead`, `emoji` and `messages`) once per worker in `beforeAll`. It
serves the bundle with `build` and `preview` from `vite-server.mjs`.
Before this change, it took its `baseURL` from the worker-scoped Vite
dev server in `source-fixture.mjs`. The change is test-only: no
assertions change, the navigation timeout is unchanged, and no browser
cases are added or removed.

### Problem

`Flake check (chromium, 11/11)` on #2507 failed `typeahead.spec.mjs:28`
"closing-colon emoji conversion restores literal source and caret on
undo" twice, with `TimeoutError: page.goto: Timeout 15000ms exceeded` on
`/tests/fixtures/mentions.html?test-controls`. Both times it was the
first test in the shard's second worker (16.4 s and 16.6 s), and the
same worker's next 23 tests passed. #2507 doesn't touch that page's
module graph; its `MessageRow` change only selects this spec into the
10× lane.

-
https://github.com/block/buzz-app/actions/runs/42195228817/job/127817183790
-
https://github.com/block/buzz-app/actions/runs/42169660635/job/127734602256

### Cause

The dev server transforms modules on first request. The four pages this
spec opens are 1,595 modules, and `mentions.html` alone is 1,589.
Whichever page a worker opened first loaded them cold, and on a busy
runner that took longer than the 15 s navigation timeout. #2776
describes the same cold load for `mentions.spec.mjs`, and lists this
spec under "Remaining gaps".

### Fix

- **Build:** `beforeAll` builds the four pages into a temp directory,
and `preview` serves them on an OS-assigned port. `afterAll` closes the
server and removes the directory. The config matches
`voice-notes.spec.mjs` (#2566) and #2776.
- **Dev checks kept:** the build defines `import.meta.env.DEV` and
`process.env.NODE_ENV` as development, so StrictMode's checks still
apply.
- **Paths unchanged:** `test.use` points `baseURL` at the preview
server, so every `page.goto` path stays the same.
- **No conflict with #2776:** only this spec changes, so #2776 still
merges cleanly. Once both land, the three copies of the build config
could become one helper.

### Validation

All runs were local on macOS (16 cores, load average 10–41) with the
Playwright CI config. These are not hosted CI measurements.

**Fail-before / pass-after.** A temporary `vite-server.mjs` probe (not
committed) held the `globals.css` transform for 16 s, in both the dev
server and the build:

| | main | this branch |
| --- | --- | --- |
| `:28` (moves to `:83` on this branch) | ✘ `page.goto: Timeout 15000ms
exceeded` (Chromium 15.1 s, WebKit 19.8 s) | ✓ 0.96 s Chromium, 0.97 s
WebKit |
| first `typeahead.html`, `emoji.html`, `messages.html` journeys | ✘
same error, 15.1 s each (Chromium) | ✓ 0.5–1.4 s |
| whole file | n/a | 24/24, with the 16 s spent once in `beforeAll` |

**Repeat run.** Chromium `--repeat-each=10 --workers=2`, two alternating
runs each:

| | result | wall time | user CPU | first test per worker |
| --- | --- | --- | --- | --- |
| main | 240/240 | 3.2 and 3.3 min | 839 s and 855 s | 4.2–4.8 s |
| this branch | 240/240 | 2.0 and 1.9 min | 352 s and 339 s | 0.9 s |

**Other checks:**
- **Full file:** Chromium 24/24, WebKit 24/24.
- **`scripts/flake-check.mjs select`:** I ran it for #2507's diff, a
`MessageRow.tsx`-only change, `tests/fixtures/mentions.tsx` and
`tests/fixtures/mentions.html`. Every selection matches main's, apart
from the spec's 55-line shift. The spec still links to all four pages.
- **Integration tests:** `tests/integration/flake-check.test.mjs` and
`tests/integration/vite-fixture.test.mjs` pass 33/33.
- **Biome:** clean.

### Browser coverage

No browser cases are added or removed and no assertions change. Only how
the fixture pages are served changes.

### Remaining gaps

- **Other specs:** specs that load `mentions.html` from
`source-fixture.mjs` or their own dev servers can still hit the same
cold load. These include `channel-completion`, `completion-work`,
`composer-*`, `mention-edit`, `mention-rules` and `mention-selection`.
They are not changed here.
- **Hosted CI:** it hasn't run on this branch yet, and a green run
wouldn't show the flake is gone.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@matt2e matt2e changed the title feat(reminders): show marks on grouped messages, gate Remind me by delivery, add custom snooze time fix(reminders): show marks on grouped messages, gate Remind me by delivery, start custom time at the next 9am Nov 9, 2026
@matt2e

matt2e commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Split per tellaho's scope comment: the Snooze / Remind me again → Custom… entry and its dialog (SnoozeDialog, the ReminderSections-owned state and focus handling, the cancelled-reminder guard, the empty-page focus fallback, their tests and the Playwright check) moved to #3065, stacked on this branch. This PR now holds only the grouped-message marks, the Remind me delivery gate and the create form's next-9am default, at 04ce0d3039dc10e9b2813ef717096f83771788c8 (two commits on a66be57a5). The two branches together rebuild the previous head 9a065fa1b3 exactly.

Checked at both tips: bin/pnpm lint, bin/pnpm check, bin/pnpm exec vitest run (full-suite timeouts under local load all passed when rerun alone; the only other local failures were the known codex-sh and vite-config ones, untouched here). On #3065 also bin/pnpm test:browser --project=chromium --project=webkit --no-deps tests/browser/reminders-layout.spec.mjs, 10/10 passed.

matt2e added a commit that referenced this pull request Nov 9, 2026
Remind me's Custom date & time started at today 09:00, so after 9 am it
opened on "Choose a date and time in the future." with Set reminder
disabled. It now starts at the next 9am: today's until it passes, then
tomorrow's. model.ts exports nextDayAt9am and a customInputs helper
that turns a time into date and time field values; RemindDialog's
defaultCustomInputs builds on them.

Split out of PR #2507 following tellaho's review, as a repair to the
existing create form. The Custom… snooze dialog that shares this
default lives on broken-8-custom-snooze.

Tests: a RemindDialog test fakes Date at 08:30, 09:00 and 17:45, picks
Custom date & time, expects the next 9am with no status message and
Set reminder enabled, and checks the saved time. It fails without the
fix.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
matt2e added a commit that referenced this pull request Nov 9, 2026
Split out of PR #2507 following tellaho's review: the launch UI freeze
allows contained fixes without new surfaces or options, and this adds
both to a bundled plugin, so it lands separately, stacked on broken-8.

- The Snooze / Remind me again menu ends with Custom…, which opens a
  compact dialog using the date and time fields and validation now
  extracted from RemindDialog as CustomTimeFields. Saving calls
  snooze(id, at). A failed save keeps the entry and shows an inline
  error.
- Custom… belongs to ReminderSections instead of the row. A save, the
  page clock or another device can move a reminder to another group,
  which mounts a new row. The open dialog, its typed date and time, and
  any save error survive that move. On close, focus goes to the
  reminder's trigger in the row that now shows it, skipping rows still
  leaving their old group; if the reminder left the page, to the list.
- The dialog starts at the reminder's current due time while that
  minute is still ahead (model.ts dueInputs), otherwise at the next
  9am, so an Overdue or Done reminder never opens on a past time.
- docs/buzz-help.md mentions Custom… in the Reminders entry.

Tests: RemindersPage tests snooze through Custom… across a remote
regroup with a failed then successful save, and keep focus in the list
when the reminder leaves the page. SnoozeDialog tests cover the
prefilled and fallback starting times.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
matt2e added a commit that referenced this pull request Nov 9, 2026
…y page

Address review on PR #2507, carried over with the split:

- Open Custom… on a pending reminder, cancel it on another device, then
  press Save: ReminderSections kept the snapshot it opened with, so Save
  called reminders.snooze, which writes the replacement as pending and
  brought the cancelled reminder back. ReminderSections now looks up the
  live reminder by id; if it is missing or cancelled, SnoozeDialog gets
  `cancelled`, keeps what was typed, disables Save and shows "This
  reminder was cancelled." in place of any save error. Save checks
  reminders.snapshot() again at click time. Done reminders can still be
  snoozed.
- When the cancelled reminder was the last one, closing the dialog
  dropped focus to <body>: the list has no tabbable children in the
  empty state. The fallback is now the page panel, which already has
  tabIndex={-1}, so the next Tab stays on the Reminders page.

Tests: RemindersPage tests cover the remote cancel notice, the
Save-time refusal that still allows a Done reminder, and the empty-page
focus. A SnoozeDialog test covers `cancelled`. The reminders-layout
fixture exposes its store on window so a Playwright check can cancel
both reminders from the spec on Chromium and WebKit.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

@wesbillman wesbillman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Star Lord automated source review via Wes’s account.

No new actionable findings at 0eec6efbec738436828be2f150ec5669839f310e, against base/merge-base 3a1eb5601e997811009d01601786df8af9393a7f. This focused rebase-integration pass retains the feature coverage from review 5822468689, with independent Rocket, Mantis and Groot lanes plus Star Lord integration.

The reminder implementation and its tests are unchanged. We checked grouped marks against the refactored byline/continuation CSS, delivery-filtered action registration, dialog ownership through activity completion and failure disclosures, and the preserved regression assertions. The inspected source keeps reminder overlays outside disclosure details and retains expanded history children through completion. The existing visibility limit remains: a collapsed failure disclosure shows its reminder mark only after expansion. Shared Select/Toast changes preserve the inspected create-form integration.

Prior findings and optional follow-ups remain recorded. Custom snooze and its associated repairs are in #3065, which this pass did not review. The unchanged description and three historical screenshots were inspected; they do not establish rendering at this head. The attached video remains uninspected.

Source-only: tests, builds, CI, native behavior, live focus/menu handoff, playback and rendering were not verified. Test assertions were read, not executed.

matt2e added a commit that referenced this pull request Nov 12, 2026
…the due time

Split out of PR #2507 following tellaho's review: the launch UI freeze
allows contained fixes without new surfaces or options, so this branch
keeps only those repairs. The Snooze / Remind me again → Custom… dialog
moves to broken-8-custom-snooze, stacked on this branch.

- Grouped messages now show their "Reminder set" mark. MessageRow
  renders action markers inside the visible byline on leading rows, as
  before. Grouped rows have only a screen-reader byline, so they render
  the markers once, in a select-none caption line after it, which
  `.marks:empty` hides while every marker renders nothing.
  docs/plugin-architecture.md describes the placement.
- Remind me is no longer offered on a message the relay never stored.
  `matches` uses the same delivery check as Reply, Report and Start Solo
  chat (no delivery, accepted or seen), so failed, sending and unknown
  rows have no menu entry and no mark.
- The mark names the earliest pending due time ("Reminder set for …")
  in its label. model.ts derives pendingMessageDue in place of
  pendingMessageIds. The mark is a plain labelled image: no Tooltip and
  no title, which would repeat the label as a description.
- Setting a reminder confirms with a "Reminder set for …" toast.
- docs/buzz-help.md gains a Reminders entry.

Tests: index.test.ts covers the delivery gate and the mark's label;
model.test.ts covers pendingMessageDue; MessageRow.test.tsx covers the
grouped-row mark and the hidden empty line; RemindDialog.test.tsx
covers the toast.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
matt2e added a commit that referenced this pull request Nov 12, 2026
Remind me's Custom date & time started at today 09:00, so after 9 am it
opened on "Choose a date and time in the future." with Set reminder
disabled. It now starts at the next 9am: today's until it passes, then
tomorrow's. model.ts exports nextDayAt9am and a customInputs helper
that turns a time into date and time field values; RemindDialog's
defaultCustomInputs builds on them.

Split out of PR #2507 following tellaho's review, as a repair to the
existing create form. The Custom… snooze dialog that shares this
default lives on broken-8-custom-snooze.

Tests: a RemindDialog test fakes Date at 08:30, 09:00 and 17:45, picks
Custom date & time, expects the next 9am with no status message and
Set reminder enabled, and checks the saved time. It fails without the
fix.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>

@wesbillman wesbillman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Star Lord automated source review via Wes’s account.

No new actionable findings at 41a7c8a165e3d60301b219b0ae8dabe7afd84e92, against base/merge-base f152283f4993edaa35b79d2aa5b5c325beda3987. This focused integration follow-up retains the feature coverage and limitations from review 5827481536; the two reminder feature patches remain equivalent apart from commit trailers and surrounding context.

The inspected source preserves delivery-filtered actions and grouped marks alongside the newer link previews, attachment renderers and activity typing. Reminder dialogs remain owned by the row outside disclosure details. The notification fallback keeps the reminder’s community scope, category and deduplication key; the current Focus gate also refuses the fallback page. CountBadge retains the exact accessible due count while capping visible text at 99+. The create form’s pending, failure/retry and next-9am behavior is unchanged.

Prior optional follow-ups remain recorded, including failure-row marks appearing only after expansion and the missing marker hover title (due time remains visible in the success toast and on the Reminders page). Custom snooze and its repairs in #3065 were not reviewed here. The unchanged description and three historical screenshots were reinspected; they do not establish rendering at this head. The video remains uninspected.

Source-only: test assertions were read, not executed. Tests, builds, CI, native notifications, live focus/menu handoff and rendering remain unverified.

matt2e added a commit that referenced this pull request Nov 14, 2026
…the due time

Split out of PR #2507 following tellaho's review: the launch UI freeze
allows contained fixes without new surfaces or options, so this branch
keeps only those repairs. The Snooze / Remind me again → Custom… dialog
moves to broken-8-custom-snooze, stacked on this branch.

- Grouped messages now show their "Reminder set" mark. MessageRow
  renders action markers inside the visible byline on leading rows, as
  before. Grouped rows have only a screen-reader byline, so they render
  the markers once, in a select-none caption line after it, which
  `.marks:empty` hides while every marker renders nothing.
  docs/plugin-architecture.md describes the placement.
- Remind me is no longer offered on a message the relay never stored.
  `matches` uses the same delivery check as Reply, Report and Start Solo
  chat (no delivery, accepted or seen), so failed, sending and unknown
  rows have no menu entry and no mark.
- The mark names the earliest pending due time ("Reminder set for …")
  in its label. model.ts derives pendingMessageDue in place of
  pendingMessageIds. The mark is a plain labelled image: no Tooltip and
  no title, which would repeat the label as a description.
- Setting a reminder confirms with a "Reminder set for …" toast.
- docs/buzz-help.md gains a Reminders entry.

Tests: index.test.ts covers the delivery gate and the mark's label;
model.test.ts covers pendingMessageDue; MessageRow.test.tsx covers the
grouped-row mark and the hidden empty line; RemindDialog.test.tsx
covers the toast.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
matt2e added a commit that referenced this pull request Nov 14, 2026
Remind me's Custom date & time started at today 09:00, so after 9 am it
opened on "Choose a date and time in the future." with Set reminder
disabled. It now starts at the next 9am: today's until it passes, then
tomorrow's. model.ts exports nextDayAt9am and a customInputs helper
that turns a time into date and time field values; RemindDialog's
defaultCustomInputs builds on them.

Split out of PR #2507 following tellaho's review, as a repair to the
existing create form. The Custom… snooze dialog that shares this
default lives on broken-8-custom-snooze.

Tests: a RemindDialog test fakes Date at 08:30, 09:00 and 17:45, picks
Custom date & time, expects the next 9am with no status message and
Set reminder enabled, and checks the saved time. It fails without the
fix.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>

@wesbillman wesbillman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Star Lord’s automated source review via Wes’s account.

No new actionable findings in this focused integration follow-up at 0a8a7be9bc6feb90998ad6a6b78787b313bad347, against base/merge-base d3a67a705a09bf3ad798c98ec09fea63b84d6a1f. Prior feature coverage and limitations from review 5884319248 are retained; the reminder feature patches remain equivalent.

The shared message menus retain the default Remind me action’s immediate activation and row-owned dialog. The inspected channel/thread hosts preserve that owner, activation checks, pending/error/retry state and row pinning. Remind me does not use the deferred Reply/Forward queue. Grouped marks retain their existing placement; collapsed failure-row marks remain visible only after expansion. Custom snooze in #3065 was not reviewed here.

Validation is source-only: no tests, builds, CI validation or live workflows were run. The menu’s moved-focus guard yields when focus has entered the dialog, but actual pointer/keyboard menu-to-dialog timing and return focus after Cancel, Escape or success remain unverified. Shared-popup refresh/click ordering and native behavior were not exercised. The unchanged description and three historical screenshots were reinspected with no new public-material finding; they do not establish current-head rendering, and the video remains unviewed.

matt2e added a commit that referenced this pull request Nov 15, 2026
…the due time

Split out of PR #2507 following tellaho's review: the launch UI freeze
allows contained fixes without new surfaces or options, so this branch
keeps only those repairs. The Snooze / Remind me again → Custom… dialog
moves to broken-8-custom-snooze, stacked on this branch.

- Grouped messages now show their "Reminder set" mark. MessageRow
  renders action markers inside the visible byline on leading rows, as
  before. Grouped rows have only a screen-reader byline, so they render
  the markers once, in a select-none caption line after it, which
  `.marks:empty` hides while every marker renders nothing.
  docs/plugin-architecture.md describes the placement.
- Remind me is no longer offered on a message the relay never stored.
  `matches` uses the same delivery check as Reply, Report and Start Solo
  chat (no delivery, accepted or seen), so failed, sending and unknown
  rows have no menu entry and no mark.
- The mark names the earliest pending due time ("Reminder set for …")
  in its label. model.ts derives pendingMessageDue in place of
  pendingMessageIds. The mark is a plain labelled image: no Tooltip and
  no title, which would repeat the label as a description.
- Setting a reminder confirms with a "Reminder set for …" toast.
- docs/buzz-help.md gains a Reminders entry.

Tests: index.test.ts covers the delivery gate and the mark's label;
model.test.ts covers pendingMessageDue; MessageRow.test.tsx covers the
grouped-row mark and the hidden empty line; RemindDialog.test.tsx
covers the toast.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
matt2e added a commit that referenced this pull request Nov 15, 2026
Remind me's Custom date & time started at today 09:00, so after 9 am it
opened on "Choose a date and time in the future." with Set reminder
disabled. It now starts at the next 9am: today's until it passes, then
tomorrow's. model.ts exports nextDayAt9am and a customInputs helper
that turns a time into date and time field values; RemindDialog's
defaultCustomInputs builds on them.

Split out of PR #2507 following tellaho's review, as a repair to the
existing create form. The Custom… snooze dialog that shares this
default lives on broken-8-custom-snooze.

Tests: a RemindDialog test fakes Date at 08:30, 09:00 and 17:45, picks
Custom date & time, expects the next 9am with no status message and
Set reminder enabled, and checks the saved time. It fails without the
fix.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
matt2e added a commit that referenced this pull request Nov 16, 2026
…the due time

Split out of PR #2507 following tellaho's review: the launch UI freeze
allows contained fixes without new surfaces or options, so this branch
keeps only those repairs. The Snooze / Remind me again → Custom… dialog
moves to broken-8-custom-snooze, stacked on this branch.

- Grouped messages now show their "Reminder set" mark. MessageRow
  renders action markers inside the visible byline on leading rows, as
  before. Grouped rows have only a screen-reader byline, so they render
  the markers once, in a select-none caption line after it, which
  `.marks:empty` hides while every marker renders nothing.
  docs/plugin-architecture.md describes the placement.
- Remind me is no longer offered on a message the relay never stored.
  `matches` uses the same delivery check as Reply, Report and Start Solo
  chat (no delivery, accepted or seen), so failed, sending and unknown
  rows have no menu entry and no mark.
- The mark names the earliest pending due time ("Reminder set for …")
  in its label. model.ts derives pendingMessageDue in place of
  pendingMessageIds. The mark is a plain labelled image: no Tooltip and
  no title, which would repeat the label as a description.
- Setting a reminder confirms with a "Reminder set for …" toast.
- docs/buzz-help.md gains a Reminders entry.

Tests: index.test.ts covers the delivery gate and the mark's label;
model.test.ts covers pendingMessageDue; MessageRow.test.tsx covers the
grouped-row mark and the hidden empty line; RemindDialog.test.tsx
covers the toast.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
matt2e added a commit that referenced this pull request Nov 16, 2026
Remind me's Custom date & time started at today 09:00, so after 9 am it
opened on "Choose a date and time in the future." with Set reminder
disabled. It now starts at the next 9am: today's until it passes, then
tomorrow's. model.ts exports nextDayAt9am and a customInputs helper
that turns a time into date and time field values; RemindDialog's
defaultCustomInputs builds on them.

Split out of PR #2507 following tellaho's review, as a repair to the
existing create form. The Custom… snooze dialog that shares this
default lives on broken-8-custom-snooze.

Tests: a RemindDialog test fakes Date at 08:30, 09:00 and 17:45, picks
Custom date & time, expects the next 9am with no status message and
Set reminder enabled, and checks the saved time. It fails without the
fix.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
matt2e added a commit that referenced this pull request Nov 16, 2026
Split out of PR #2507 following tellaho's review: the launch UI freeze
allows contained fixes without new surfaces or options, and this adds
both to a bundled plugin, so it lands separately, stacked on broken-8.

- The Snooze / Remind me again menu ends with Custom…, which opens a
  compact dialog using the date and time fields and validation now
  extracted from RemindDialog as CustomTimeFields. Saving calls
  snooze(id, at). A failed save keeps the entry and shows an inline
  error.
- Custom… belongs to ReminderSections instead of the row. A save, the
  page clock or another device can move a reminder to another group,
  which mounts a new row. The open dialog, its typed date and time, and
  any save error survive that move. On close, focus goes to the
  reminder's trigger in the row that now shows it, skipping rows still
  leaving their old group; if the reminder left the page, to the list.
- The dialog starts at the reminder's current due time while that
  minute is still ahead (model.ts dueInputs), otherwise at the next
  9am, so an Overdue or Done reminder never opens on a past time.
- docs/buzz-help.md mentions Custom… in the Reminders entry.

Tests: RemindersPage tests snooze through Custom… across a remote
regroup with a failed then successful save, and keep focus in the list
when the reminder leaves the page. SnoozeDialog tests cover the
prefilled and fallback starting times.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
matt2e added a commit that referenced this pull request Nov 16, 2026
…y page

Address review on PR #2507, carried over with the split:

- Open Custom… on a pending reminder, cancel it on another device, then
  press Save: ReminderSections kept the snapshot it opened with, so Save
  called reminders.snooze, which writes the replacement as pending and
  brought the cancelled reminder back. ReminderSections now looks up the
  live reminder by id; if it is missing or cancelled, SnoozeDialog gets
  `cancelled`, keeps what was typed, disables Save and shows "This
  reminder was cancelled." in place of any save error. Save checks
  reminders.snapshot() again at click time. Done reminders can still be
  snoozed.
- When the cancelled reminder was the last one, closing the dialog
  dropped focus to <body>: the list has no tabbable children in the
  empty state. The fallback is now the page panel, which already has
  tabIndex={-1}, so the next Tab stays on the Reminders page.

Tests: RemindersPage tests cover the remote cancel notice, the
Save-time refusal that still allows a Done reminder, and the empty-page
focus. A SnoozeDialog test covers `cancelled`. The reminders-layout
fixture exposes its store on window so a Playwright check can cancel
both reminders from the spec on Chromium and WebKit.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
matt2e added a commit that referenced this pull request Nov 23, 2026
…the due time

Split out of PR #2507 following tellaho's review: the launch UI freeze
allows contained fixes without new surfaces or options, so this branch
keeps only those repairs. The Snooze / Remind me again → Custom… dialog
moves to broken-8-custom-snooze, stacked on this branch.

- Grouped messages now show their "Reminder set" mark. MessageRow
  renders action markers inside the visible byline on leading rows, as
  before. Grouped rows have only a screen-reader byline, so they render
  the markers once, in a select-none caption line after it, which
  `.marks:empty` hides while every marker renders nothing.
  docs/plugin-architecture.md describes the placement.
- Remind me is no longer offered on a message the relay never stored.
  `matches` uses the same delivery check as Reply, Report and Start Solo
  chat (no delivery, accepted or seen), so failed, sending and unknown
  rows have no menu entry and no mark.
- The mark names the earliest pending due time ("Reminder set for …")
  in its label. model.ts derives pendingMessageDue in place of
  pendingMessageIds. The mark is a plain labelled image: no Tooltip and
  no title, which would repeat the label as a description.
- Setting a reminder confirms with a "Reminder set for …" toast.
- docs/buzz-help.md gains a Reminders entry.

Tests: index.test.ts covers the delivery gate and the mark's label;
model.test.ts covers pendingMessageDue; MessageRow.test.tsx covers the
grouped-row mark and the hidden empty line; RemindDialog.test.tsx
covers the toast.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
matt2e added a commit that referenced this pull request Nov 23, 2026
Remind me's Custom date & time started at today 09:00, so after 9 am it
opened on "Choose a date and time in the future." with Set reminder
disabled. It now starts at the next 9am: today's until it passes, then
tomorrow's. model.ts exports nextDayAt9am and a customInputs helper
that turns a time into date and time field values; RemindDialog's
defaultCustomInputs builds on them.

Split out of PR #2507 following tellaho's review, as a repair to the
existing create form. The Custom… snooze dialog that shares this
default lives on broken-8-custom-snooze.

Tests: a RemindDialog test fakes Date at 08:30, 09:00 and 17:45, picks
Custom date & time, expects the next 9am with no status message and
Set reminder enabled, and checks the saved time. It fails without the
fix.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
matt2e added a commit that referenced this pull request Nov 23, 2026
…the due time

Split out of PR #2507 following tellaho's review: the launch UI freeze
allows contained fixes without new surfaces or options, so this branch
keeps only those repairs. The Snooze / Remind me again → Custom… dialog
moves to broken-8-custom-snooze, stacked on this branch.

- Grouped messages now show their "Reminder set" mark. MessageRow
  renders action markers inside the visible byline on leading rows, as
  before. Grouped rows have only a screen-reader byline, so they render
  the markers once, in a select-none caption line after it, which
  `.marks:empty` hides while every marker renders nothing.
  docs/plugin-architecture.md describes the placement.
- Remind me is no longer offered on a message the relay never stored.
  `matches` uses the same delivery check as Reply, Report and Start Solo
  chat (no delivery, accepted or seen), so failed, sending and unknown
  rows have no menu entry and no mark.
- The mark names the earliest pending due time ("Reminder set for …")
  in its label. model.ts derives pendingMessageDue in place of
  pendingMessageIds. The mark is a plain labelled image: no Tooltip and
  no title, which would repeat the label as a description.
- Setting a reminder confirms with a "Reminder set for …" toast.
- docs/buzz-help.md gains a Reminders entry.

Tests: index.test.ts covers the delivery gate and the mark's label;
model.test.ts covers pendingMessageDue; MessageRow.test.tsx covers the
grouped-row mark and the hidden empty line; RemindDialog.test.tsx
covers the toast.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
matt2e added a commit that referenced this pull request Nov 23, 2026
Remind me's Custom date & time started at today 09:00, so after 9 am it
opened on "Choose a date and time in the future." with Set reminder
disabled. It now starts at the next 9am: today's until it passes, then
tomorrow's. model.ts exports nextDayAt9am and a customInputs helper
that turns a time into date and time field values; RemindDialog's
defaultCustomInputs builds on them.

Split out of PR #2507 following tellaho's review, as a repair to the
existing create form. The Custom… snooze dialog that shares this
default lives on broken-8-custom-snooze.

Tests: a RemindDialog test fakes Date at 08:30, 09:00 and 17:45, picks
Custom date & time, expects the next 9am with no status message and
Set reminder enabled, and checks the saved time. It fails without the
fix.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
matt2e and others added 2 commits November 23, 2026 12:46
…the due time

Split out of PR #2507 following tellaho's review: the launch UI freeze
allows contained fixes without new surfaces or options, so this branch
keeps only those repairs. The Snooze / Remind me again → Custom… dialog
moves to broken-8-custom-snooze, stacked on this branch.

- Grouped messages now show their "Reminder set" mark. MessageRow
  renders action markers inside the visible byline on leading rows, as
  before. Grouped rows have only a screen-reader byline, so they render
  the markers once, in a select-none caption line after it, which
  `.marks:empty` hides while every marker renders nothing.
  docs/plugin-architecture.md describes the placement.
- Remind me is no longer offered on a message the relay never stored.
  `matches` uses the same delivery check as Reply, Report and Start Solo
  chat (no delivery, accepted or seen), so failed, sending and unknown
  rows have no menu entry and no mark.
- The mark names the earliest pending due time ("Reminder set for …")
  in its label. model.ts derives pendingMessageDue in place of
  pendingMessageIds. The mark is a plain labelled image: no Tooltip and
  no title, which would repeat the label as a description.
- Setting a reminder confirms with a "Reminder set for …" toast.
- docs/buzz-help.md gains a Reminders entry.

Tests: index.test.ts covers the delivery gate and the mark's label;
model.test.ts covers pendingMessageDue; MessageRow.test.tsx covers the
grouped-row mark and the hidden empty line; RemindDialog.test.tsx
covers the toast.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
Remind me's Custom date & time started at today 09:00, so after 9 am it
opened on "Choose a date and time in the future." with Set reminder
disabled. It now starts at the next 9am: today's until it passes, then
tomorrow's. model.ts exports nextDayAt9am and a customInputs helper
that turns a time into date and time field values; RemindDialog's
defaultCustomInputs builds on them.

Split out of PR #2507 following tellaho's review, as a repair to the
existing create form. The Custom… snooze dialog that shares this
default lives on broken-8-custom-snooze.

Tests: a RemindDialog test fakes Date at 08:30, 09:00 and 17:45, picks
Custom date & time, expects the next 9am with no status message and
Set reminder enabled, and checks the saved time. It fails without the
fix.

Signed-off-by: Matt Toohey <contact@matttoohey.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants