feat(web): edit non-recurring events from the detail sheet #71
No reviewers
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
eagraiclainne/app!71
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/web-event-edit"
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?
Second part of #61: events become editable in the web UI.
EventService.Updateexisted but no client called it, so an event was create-only — a member could not fix its name, time, guests or description afterward. This adds an Edit action to the event detail sheet that reopens the create form prefilled and saves throughevents.update.NewEventForm) now takes an optionaleditevent:eventToFormreverses an event back into the form fields (the inverse of submit's encoding), and submit branches toevents.updatewhen editing.can("EventService", "Update")— the matrix source from #70 — so it appears for exactly the permitted roles (including a child, who may edit events).mutate.events.updateadded to the offline queue layer.Scope — non-recurring events only. Editing a recurring series or a single occurrence needs the split-then-update dance and is deferred, the same way repeat-rule editing already is;
UpdateEventRequestcarries no repeat field, and the caller withholds the Edit affordance for series parents and projected occurrences. The repeat control is hidden in edit mode.Remaining in #61: the occurrence-vs-series edit flow, and the Android consumer + Android event edit.
Verified:
make checkpasses (tsc, web build, Go tests, and the web + Android i18n catalogs synced for the new strings).Part of #61.
🤖 Generated with Claude Code
Test report
Coverage: 27.7%
Updated by the check workflow · commit
82549918d5ac016427df82549918d5Android test report
Updated by the android workflow · commit
82549918d5