Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

The calendar file and share text are English, and the calendar file's name drops å, ä and ö

Aperta
#633 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Read src/app/s/[slug]/commit-dialog.tsx, the participant catalog and src/lib/ics.ts; the issue says the catalog and ClientMessages depend on #629, so confirm that work is available first. Check the existing calendar and share text paths, then add tests for Swedish text, Unicode file names, and byte-based folding of a long Swedish line. Done means those tests and the listed lint, typecheck, knip, and test commands pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement pipeline:proposed pipeline:ux

Needs your OK: this puts the calendar file's description and the share text in the signup's language, and keeps letters like å in the calendar file's name. Swap pipeline:proposed for pipeline:ready to have it built.

What happens

In src/app/s/[slug]/commit-dialog.tsx:

  • "Add to calendar" builds an .ics whose DESCRIPTION is `Edit or cancel: ${editUrl}`.
  • "Share link" shares `I'm signed up for "${slotTitle}".`.
  • The file name is built with .replace(/[^A-Za-z0-9._-]+/g, '-'), so a slot in "Fika på fredag" downloads as Fika-p-fredag….

Fix, in outline

  • Text from the catalog. Take the DESCRIPTION and share text from the participant catalog. Swedish uses ”…” quotes, which is the translator's call.
  • File names keep letters. Keep Unicode letters and digits in the file name (/[^\p{L}\p{N}._-]+/gu), still replacing path separators and other unsafe characters.

Watch for

  • Line folding. src/lib/ics.ts folds lines by bytes, and non-ASCII text must still fold correctly. It already uses Buffer; add a test.

Order

After #629, because the dialog's catalog and ClientMessages come from it.

Done when

  • Unit tests cover a Swedish signup's ICS description and share text, a file name with å, ä and ö keeping them, and folding a long Swedish line.
  • pnpm lint && pnpm typecheck && pnpm knip && pnpm test pass.

Planned with the owner in https://claude.ai/code/session_01EFKmj716ZY3b3SwR8TV8Y2 and checked against the code on main at 35288fa. The full plan is private to the owner's account: https://claude.ai/artifact/VgQH6U2s2EVx3LX991fJi8 (a Claude session on that account can open it with the Artifact tool's read action). This is step 1.5 there.

Lingua principale
TypeScript
Stelle
19
Fork
4
Merge medio
21h 3m
PR unite (30g)
176

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 richshaw/OpenSignup

Tutte le issue di richshaw/OpenSignup

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.