Skip to content

feat(calendar): add --add-attendee flag to preserve existing attendees#24

Closed
salmonumbrella wants to merge 2 commits into
openclaw:mainfrom
salmonumbrella:feat/calendar-add-attendee
Closed

feat(calendar): add --add-attendee flag to preserve existing attendees#24
salmonumbrella wants to merge 2 commits into
openclaw:mainfrom
salmonumbrella:feat/calendar-add-attendee

Conversation

@salmonumbrella

Copy link
Copy Markdown
Contributor

Summary

  • Add --add-attendee flag to calendar update command that preserves existing attendees
  • The existing --attendees flag replaces all attendees and resets RSVP status
  • The new flag fetches the current event first, then merges new attendees while preserving metadata (responseStatus, displayName, etc.)
  • Case-insensitive email deduplication prevents duplicates
  • Mutual exclusion validation prevents using both flags together

Test plan

  • Unit tests for mergeAttendees() covering all cases
  • All existing calendar tests pass
  • Build passes

🤖 Generated with Claude Code

salmonumbrella and others added 2 commits January 2, 2026 08:25
The --attendees flag replaces all attendees and resets their RSVP status.
This new --add-attendee flag fetches the current event first and merges
new attendees while preserving existing attendee metadata (responseStatus,
displayName, etc).

Features:
- Add AddAttendee field to CalendarUpdateCmd
- Implement mergeAttendees() for deduplication with case-insensitive email matching
- Validation to prevent using --attendees and --add-attendee together
- New attendees get responseStatus="needsAction"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@salmonumbrella salmonumbrella force-pushed the feat/calendar-add-attendee branch from 590f564 to edec774 Compare January 2, 2026 16:26
@steipete

steipete commented Jan 7, 2026

Copy link
Copy Markdown
Collaborator

Landed on main as 39921a3.

Co-authored-by preserved in commit message. Thanks @salmonumbrella.

@steipete

steipete commented Jan 7, 2026

Copy link
Copy Markdown
Collaborator

Merged via main@39921a3831dfb127a842665395808648b5fbf6c6. Thanks @salmonumbrella.

@steipete steipete closed this Jan 7, 2026
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.

2 participants