Add participants to event notes based on invitees
Event stored in DB don't have participant info.
Event(DB) -> Calendar(DB) -> Query(tauri-plugin-apple-calendar(tracking_id)
https://github.com/fastrepl/hyprnote/blob/9f0a0769ed0ff69d549c23fa0ded39752ec3c3a4/crates/db-user/src/events_types.rs#L6-L15
https://github.com/fastrepl/hyprnote/blob/9f0a0769ed0ff69d549c23fa0ded39752ec3c3a4/crates/calendar-interface/src/lib.rs#L38-L48
https://github.com/fastrepl/hyprnote/blob/9f0a0769ed0ff69d549c23fa0ded39752ec3c3a4/crates/calendar-apple/src/lib.rs#L99
https://github.com/fastrepl/hyprnote/blob/9f0a0769ed0ff69d549c23fa0ded39752ec3c3a4/plugins/apple-calendar/src/commands.rs#L57
When user visited session, check if we have linked event, query participants, and upsert. We don't store participants on DB at the moment. need query...
Sounds like there may need to be a session_participants table, then the flow is something like this:
- User selects calendar event
- System creates session with
calendar_event_id - System fetches event participants from calendar
- System creates/updates human records
- System links humans to session via
session_participants - Template receives participants for note enhancement
I would need these participants offline, so a lookup in the calendar won't really work
@cmatta i am currently developing this, thanks.