-
Notifications
You must be signed in to change notification settings - Fork 8
feat: add account and space inboxes #151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c2ca1a3
to
3d0dd68
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 45 out of 47 changed files in this pull request and generated 1 comment.
Files not reviewed (2)
- apps/server/prisma/migrations/20250306204530_add_inboxes/migration.sql: Language not supported
- apps/server/prisma/schema.prisma: Language not supported
Comments suppressed due to low confidence (1)
apps/events/src/routes/space/$spaceId.tsx:110
- The 'plaintext' property is referenced when displaying messages, but the corresponding message objects only include ciphertext. Please review how message decryption or the property naming should be handled.
<div>{msg.plaintext}</div>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yay, let's ship it 👏
Implements inboxes as described in #133.
Inboxes can be created for accounts or for spaces.
Some simple demo interfaces are provided for both in the events app: a space chat, and a way to send messages to account inboxes for the test accounts.
A complete interface is implemented in useHypergraphApp, but a simpler API is available with useSpaceInbox and useAccountInbox.
Future improvements can be made in other PRs: