hyprnote icon indicating copy to clipboard operation
hyprnote copied to clipboard

Add participants to event notes based on invitees

Open ComputelessComputer opened this issue 8 months ago • 1 comments

ComputelessComputer avatar May 23 '25 07:05 ComputelessComputer

Event stored in DB don't have participant info.

Event(DB) -> Calendar(DB) -> Query(tauri-plugin-apple-calendar(tracking_id)

yujonglee avatar May 25 '25 00:05 yujonglee

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

yujonglee avatar Jun 19 '25 15:06 yujonglee

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

yujonglee avatar Jun 19 '25 15:06 yujonglee

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...

yujonglee avatar Jun 19 '25 15:06 yujonglee

Sounds like there may need to be a session_participants table, then the flow is something like this:

  1. User selects calendar event
  2. System creates session with calendar_event_id
  3. System fetches event participants from calendar
  4. System creates/updates human records
  5. System links humans to session via session_participants
  6. Template receives participants for note enhancement

I would need these participants offline, so a lookup in the calendar won't really work

cmatta avatar Jun 23 '25 19:06 cmatta

@cmatta i am currently developing this, thanks.

plyght avatar Jun 23 '25 20:06 plyght