Calendar Event Suggestion Widget
Component Detail
User Interface
low complexity
mobile
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Renders a dismissible list of upcoming calendar events matched to known contacts, surfaced inside the Activity Registration Wizard as pre-fill suggestions. Each suggestion card shows event title, matched contact name, date/time, and a one-tap 'Use this' action that populates the wizard fields.
calendar-event-suggestion-widget
Responsibilities
- Display matched calendar events as selectable pre-fill cards within the activity wizard
- Allow the user to dismiss individual suggestions or the entire suggestion panel
- Ensure all event list items have descriptive WCAG 2.2 AA accessible labels
- Show empty state when no calendar matches are found or permission is not granted
Interfaces
loadSuggestions(featureContext: ActivityContext)
onSuggestionSelected(event: CalendarEventSuggestion)
onSuggestionDismissed(eventId: String)
onPanelDismissed()