Skip to content

Conversation

@nitboss
Copy link
Contributor

@nitboss nitboss commented Jan 7, 2025

Support to delete a calendar that's no longer needed. Note this does not remove all the associated blocked events from all calendars by design. That can be executed through clean, if required

@L0ndra
Copy link
Collaborator

L0ndra commented Jan 7, 2025

I think that we should remove events from this calendar in all othere calendars as well. Cause clean and sync again takes a while for large amount of events

return
}
var count int
err = db.QueryRow("SELECT COUNT(*) FROM calendars WHERE calendar_id = ?", calendarID).Scan(&count)
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe move this check before confirmation?

@berezovskyi-oleksandr
Copy link
Contributor

I believe that we can just ask the user for the events deletion as an additional question

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants