Files
buzz/desktop
757998cb03 feat(desktop): add NIP-ER reminder UI — create, view, and manage encrypted reminders
Implements the desktop client UI for kind:30300 event reminders (NIP-ER):

- Service layer (reminderService.ts): create, complete, snooze, and cancel
  reminders as individual parameterized-replaceable events with NIP-44
  encrypt-to-self. Each reminder has a random d-tag, not_before timestamp,
  and encrypted content containing the target message reference and optional
  note.

- "Remind me later" action: new menu item in MessageActionBar opens a dialog
  with time presets (30min, 1hr, 3hr, tomorrow 9am, next Monday 9am) and an
  optional note field.

- Reminders panel: accessible from sidebar (Bell icon), shows pending
  reminders grouped by due status (overdue/today/upcoming) with
  complete/snooze/cancel action buttons per row.

- Due-detection: local 60-second interval checks not_before against
  Date.now() and fires toast notifications when reminders become due.
  No relay scheduler dependency for v1 — purely client-side.

- RemindMeLaterProvider context avoids prop-threading through 4 intermediate
  components; MessageRow uses the hook directly.

All reminder content is NIP-44 encrypted — never stored or transmitted in
plaintext. Completed/cancelled reminders get jittered 30-90 day expiration
tags for eventual relay-side cleanup.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-06-11 15:32:26 -04:00
..
2026-06-11 15:06:24 +00:00
2026-06-11 15:06:24 +00:00
2026-06-11 15:06:24 +00:00

Buzz

Desktop chat shell with:

  • Tauri + React + TypeScript + Vite
  • Tailwind CSS
  • shadcn/ui-ready shared components
  • Biome (lint/format/check)
  • Feature-driven frontend structure

Scripts

  • pnpm dev - run the web frontend
  • pnpm tauri dev - run the desktop app
  • pnpm build - typecheck and build frontend
  • pnpm typecheck - TypeScript checks
  • pnpm lint - Biome lint
  • pnpm format - Biome format (write)
  • pnpm check - Biome check

Structure

  • src/shared - reusable app-wide code (ui, lib, styles)
  • src/features - feature modules (vertical slices)
  • src/app - top-level app composition