course-builder icon indicating copy to clipboard operation
course-builder copied to clipboard

feat: persist/cache messages in PartyKit

Open joelhooks opened this issue 1 year ago โ€ข 0 comments

Describe the feature you'd like to request

We use Partykit to relay messages from Inngest functions running behind the scenes to the UI. This works great when you are in active session, but when another collaborator joins the party, or we navigate away, we lose all of that context

Describe the solution you'd like to see

We want to use our partykit rooms as databases to store context of the piece of content that we are currently working on.

Additional information

Each individual piece of content is treated like a partykit room using their _id from Sanity

๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Contributing

  • [ ] ๐Ÿ™‹โ€โ™‚๏ธ Yes, I'd be down to file a PR implementing this feature!

joelhooks avatar Jan 25 '24 17:01 joelhooks