feat(swift): implement agenda planning module (Epic 4 UI)
- Add AgendaBlock core component with list, create, cancel, reschedule modes - Implement AgendaListView with patient/type/location details and actions - Implement AgendaCreateForm with fuzzy patient search and validation - Implement AgendaCancelView with disambiguation support - Implement AgendaRescheduleForm with date/time picker - Integrate with server actions (create, cancel, reschedule) - Add radio-group UI component - Update documentation and status
This commit is contained in:
@@ -68,10 +68,13 @@ export function FallbackPicker({ originalInput }: FallbackPickerProps) {
|
||||
|
||||
openBlock(option.type, prefillData);
|
||||
|
||||
addRecentAction({
|
||||
intent: option.type,
|
||||
label: option.label,
|
||||
});
|
||||
// Only add to recent actions if it's a valid SwiftIntent (not patient-dashboard)
|
||||
if (option.type !== 'patient-dashboard') {
|
||||
addRecentAction({
|
||||
intent: option.type,
|
||||
label: option.label,
|
||||
});
|
||||
}
|
||||
},
|
||||
[openBlock, addRecentAction, originalInput]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user