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

[Import/Export] Wrap events in one VCALENDAR

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

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Read the plan shape in src/lib/planFile/schema.ts, the section types in src/lib/domain/section.ts, and the meetingToVEvent work in src/lib/ics/meeting.ts from blocked issue #786. Implement the whole-plan calendar in src/lib/ics/plan.ts and cover it in plan.test.ts; use pnpm test as the acceptance check. Done means stable UIDs, a CRLF-formatted calendar with the required America/New_York VTIMEZONE, and the specified event counts, including for an empty plan.

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

Descrizione

import-export

What to build

Put the completed class events inside one calendar file. Include the required file headers, timezone description and closing line so calendar apps can open the result.

Files

  • src/lib/ics/plan.ts (new file)
  • Starting example: src/lib/domain/section.ts
    Code to add or extend: wrapCalendar(events: readonly string[]): string.

Steps

  1. Create BEGIN:VCALENDAR, VERSION:2.0, PRODID:-//DevDogsUGA//DogDays//EN, CALSCALE:GREGORIAN and completed timezone component.
  2. Append event strings and END:VCALENDAR with trailing CRLF.
  3. Empty events still produce a valid wrapper; no timestamp generation here.

Example

[] → zero VEVENTs but complete calendar and timezone component.

Check it works

In src/lib/ics/plan.test.ts, check the example above and the failure or limit described in the steps. Run pnpm test -- src/lib/ics/plan.test.ts, pnpm lint and pnpm typecheck.

Before starting

  • #835 — Assemble one VEVENT
  • #833 — Compose the supplied New York timezone component

References

Assign yourself before starting, or comment to claim the issue. Project setup.

Lingua principale
TypeScript
Stelle
19
Fork
94
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 DevDogsUGA/DogDays

Tutte le issue di DevDogsUGA/DogDays

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.