Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#633 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
58/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
19
Forks
4
Merge medio
21 h 3 min
PR fusionados (30 d)
176

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de richshaw/OpenSignup

Todos los issues de richshaw/OpenSignup

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.