[Import/Export] Wrap events in one VCALENDAR
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
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
- Create BEGIN:VCALENDAR, VERSION:2.0, PRODID:-//DevDogsUGA//DogDays//EN, CALSCALE:GREGORIAN and completed timezone component.
- Append event strings and END:VCALENDAR with trailing CRLF.
- 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
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
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DevDogsUGA/DogDays
-
map
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
DevDogsUGA/DogDays#868 ·
-
map
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
DevDogsUGA/DogDays#865 ·
-
sharing
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
DevDogsUGA/DogDays#854 ·
-
import-export
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
DevDogsUGA/DogDays#850 ·
-
import-export
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
DevDogsUGA/DogDays#842 ·
Tutte le issue di DevDogsUGA/DogDays
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
high priority
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
CI-CMG/deep-sea-corals-exb#84 · 1 commento ·
-
Create/import wallet form shows raw "password must be at least 1 characters" instead of the translated messageForse già presa @CapThunder19 l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
joinmarket-webui/jam#1538 ·
I maintainer di solito rispondono entro 1 giorno
-
t0ggles
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nolimits4web/swiper#8240 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno