Skip to content

feat: Delete by scope - #162

Open
benjaminVadon wants to merge 6 commits into
recurrence-state-and-edit-scopesfrom
delete-by-scope
Open

feat: Delete by scope#162
benjaminVadon wants to merge 6 commits into
recurrence-state-and-edit-scopesfrom
delete-by-scope

Conversation

@benjaminVadon

@benjaminVadon benjaminVadon commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

depends on #160

benjaminVadon and others added 3 commits September 11, 2026 16:16
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 11, 2026 14:21
@benjaminVadon benjaminVadon changed the title feratDelete by scope feat: Delete by scope Sep 11, 2026
@benjaminVadon
benjaminVadon changed the base branch from main to recurrence-state-and-edit-scopes September 11, 2026 14:21
@github-actions

github-actions Bot commented Sep 11, 2026

Copy link
Copy Markdown

This PR/issue depends on:

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

RDATE-only series can be deleted incorrectly, alarm preservation is lossy, and dense series can exceed expansion limits.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds scoped deletion for recurring event occurrences.

Changes:

  • Exposes occurrence-aware deletion through CalendarManager.
  • Implements EXDATE-based deletion and recurrence truncation.
  • Adds repository tests for deletion scopes.
File summaries
File Description
EventRepositoryTest.kt Tests scoped deletion behavior.
CalendarManager.kt Exposes the public deletion API.
RecurringEventExpansion.kt Converts recurrence keys to iCalendar values.
RecurrenceTruncation.kt Truncates recurrence rules before a pivot.
EventRepository.kt Implements each deletion scope.
EventEntityToEditData.kt Reconstructs edit data for recurrence patches.
Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 3
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

benjaminVadon and others added 2 commits September 14, 2026 08:07
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants