Unified Event Merging and Recurrence Handling Fixes#1090
Unified Event Merging and Recurrence Handling Fixes#1090stanleyrya wants to merge 4 commits intomainfrom
Conversation
…criptable Summary of changes: - Improved `SharedCore.js` matching logic with timezone-aware date parsing and detailed debug logging. - Unified `parseDateWithTimezone` into a static method in `SharedCore.js` to ensure consistency. - Updated `event-builder.html` to preserve `UID`, increment `SEQUENCE`, and correctly handle `RECURRENCE-ID` for overrides. - Modified `ScriptableUrlParser.js` to extract and respect timezone metadata from the web-to-scriptable payload. - Added extensive `🔍 MATCH` logging to help debug future merging issues. Co-authored-by: stanleyrya <8700100+stanleyrya@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR addresses issues with merging events between the web-based event-builder page and the Scriptable bear event scraper. Key improvements include:
parseDateWithTimezonetoSharedCore.jsas a static method used by both the scraper and the parser.SharedCore.jsnow performs timezone-aware comparisons ofstartDateandrecurrenceId, significantly reducing duplicate events caused by timezone shifts.SEQUENCEnumber and preserves the originalUID. It also passes the original start time asrecurrenceIdto allow Scriptable to uniquely identify and update specific recurring instances even if their date/time changes.PR created automatically by Jules for task 15644121131729488703 started by @stanleyrya