NotePlan / NotePlan/plugins

newMeetingNoteFromEventID always opens earliest occurrence for Google Calendar recurring events

Aperta
#751 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@EduardMe ci sta già lavorando.

Dal 12/6/2026.

bug
Lingua principale
JavaScript
Stelle
204
Fork
82
Merge medio
22h 27m
PR unite (30g)
3

Descrizione

Problem
When calling newMeetingNoteFromEventID on a Google Calendar recurring event, NotePlan always opens (or creates) the meeting note for the earliest occurrence of the series, regardless of which occurrence was actually passed.

Root cause
Google Calendar recurring events expose a series-level eventIdentifier in EventKit — all occurrences of the same recurring series share the same identifier. When the plugin calls Calendar.eventByID(eventID), EventKit's event(withIdentifier:) can only return the master/earliest occurrence; it has no way to distinguish between specific occurrences from an ID alone.

(Apple Calendar / iCloud recurring events are not affected — their eventIdentifier includes a /RID= occurrence suffix that makes each instance unique.)

Proposed fix
Accept an optional arg2 parameter carrying the occurrence's ISO 8601 start date/time. When present, resolve the event by doing a narrow date-range lookup and filtering by UID, rather than a direct Calendar.eventByID call

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.