Skip to content

feat(user_status): set busy status for single calendar events without attendees#61154

Draft
miaulalala wants to merge 1 commit into
masterfrom
feat/noid/calendar-busy-single-events
Draft

feat(user_status): set busy status for single calendar events without attendees#61154
miaulalala wants to merge 1 commit into
masterfrom
feat/noid/calendar-busy-single-events

Conversation

@miaulalala

Copy link
Copy Markdown
Contributor
  • Resolves: #

Summary

Calendar events without attendees (personal/solo blocks) now set a distinct MESSAGE_CALENDAR_BUSY_SINGLE ("Busy" with 🔴) status, rather than the "In a meeting" status used for events with attendees. When both types of events overlap, the meeting status takes priority.

Changes:

  • Add IUserStatus::MESSAGE_CALENDAR_BUSY_SINGLE = 'calendar-busy' public API constant (@since 35.0.0)
  • Register the new message ID in PredefinedStatusService with translated label "Busy" and 🔴 icon
  • Add MESSAGE_CALENDAR_BUSY_SINGLE to the automated-status priority chain in user_status/StatusService (CALL/AVAILABILITY/OOO all still trump it; MESSAGE_CALENDAR_BUSY also trumps it)
  • Split calendar event filtering in dav/CalDAV/Status/StatusService by ATTENDEE presence; revert both message IDs when no events apply

TODO

  • Manual testing on a live Nextcloud instance

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Assisted by ClaudeCode:claude-sonnet-4-6

… attendees

Events without attendees (solo/personal blocks) now set
IUserStatus::MESSAGE_CALENDAR_BUSY_SINGLE ("Busy") instead of
MESSAGE_CALENDAR_BUSY ("In a meeting"). Events with attendees continue
to set the meeting status. When both are present simultaneously, the
meeting status takes priority.

Assisted-by: ClaudeCode:claude-sonnet-4-6
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala added this to the Nextcloud 35 milestone Jun 10, 2026
@miaulalala miaulalala self-assigned this Jun 10, 2026
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.

1 participant