Deduplicate reminder logic and add WhatsApp / Web Share / email

Aperta
#20 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Speedable2 ci sta già lavorando.

Dal 21/11/2026.

  • #170 di @Speedable2 — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

difficulty: intermediate enhancement help wanted refactor Stellar Wave ux

Difficulty: Intermediate

Description

The reminder text is copy-pasted in three places (dashboard RemindersCard, History CopyReminderButton and InvoiceCard), with slightly different fallbacks. Clipboard failure currently navigates away from the page. Freelancers in the target market mostly share through WhatsApp.

Implementation suggestions

Create lib/reminders.ts (buildReminder(invoice, origin) plus share targets). Add a ShareMenu with Copy, WhatsApp (wa.me), Email (mailto:) and the native Web Share API where available. Handle clipboard failure with a visible fallback.

Acceptance criteria

  • One source of truth for the message text.
  • WhatsApp and email open pre-filled.
  • Clipboard failure never navigates away.
  • Unit tests cover message formatting.

Dependencies / related

Tests use #13. Pairs well with #21 (QR code) as another share path.

Lingua principale
TypeScript
Stelle
0
Fork
4
Merge medio
54m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Yormee-103/PayLoop

Tutte le issue di Yormee-103/PayLoop

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.