NotePlan / NotePlan/plugins

newMeetingNoteFromEventID always opens earliest occurrence for Google Calendar recurring events

Đang mở
#751 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@EduardMe đang làm issue này rồi.

Từ ngày 12/6/2026.

bug
Ngôn ngữ chính
JavaScript
Star
204
Fork
82
Merge trung bình
22 giờ 27 phút
Pull request đã merge (30 ngày)
3

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.