Android: delete an event / the series (parity with web) #78
Labels
No labels
adr
android
area/calendar
area/design-system
area/i18n
area/jobs
area/offline
area/server
area/testing
bug
ci
duplicate
enhancement
help wanted
invalid
notifications
question
reliability
security
severity/low
severity/medium
tracking
web
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
eagraiclainne/app#78
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Android cannot delete an event. The web event sheet has "Delete the series" (
events.deleteon the parent) alongside "cancel this one"; the Android event sheet has cancel-this-one, join/leave and edit, but no delete at all — not for a series, not for a plain event. This is a surface-parity gap (system rule 1).Evidence
grep -rn "events.delete" android/returns nothing. The web wires it inweb/src/queue/registry.tsand surfaces it as "Delete the series" inEventDetail. Android'sMoreRepositorieshasdeleteMeal/deleteRewardbut nodeleteEvent.Scope
CalendarRepository: adddeleteEvent(uid)callingEventService.Deletethrough the offline queue (queue.onlineFirst("events.delete", …)), mirroring the meal/reward delete methods and the web'sevents.delete.EventSheet(ui/Today.kt): add a Delete the series action (danger-styled, two-step confirm like the existing cancel), mirroring the web. For a plain (non-recurring) event this deletes the event; for a recurring one it deletes the whole series. Keep "cancel this one" for a single occurrence.can("EventService", "Delete")) via the existingPermissionsstore — the same pattern the affordance work uses.Notes
EventService.Deletealready permits Admin, Member and Child (matrix), scoped by the membership guard — no server change.Definition of done
make checkpasses; verified on device against the live deploy.mainto v1.5.0