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:
colinislit
2025-12-27 22:29:11 +01:00
parent 0031bd5fd1
commit a6b63665e1
18 changed files with 5874 additions and 19 deletions

View File

@@ -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]
);