Skip to content

Conversation

@vedadian
Copy link
Collaborator

@vedadian vedadian commented Jan 6, 2026

  • Updated the ChatMain component to display the quest title dynamically, improving user experience by providing context for the chat room.
  • Refactored the Notifications component to mark notifications as read based on their IDs, ensuring that the correct notifications are updated in the database.
  • Enhanced the realtime helper functions to include a new method for retrieving thread notifications, allowing for better management of unread notifications.
  • Modified the server-side functions to support the new notification marking logic and improved error handling for message publishing.

BREAKING CHANGE: The markNotificationsAsRead function now requires an array of notification IDs instead of quest and node IDs.

- Updated the ChatMain component to display the quest title dynamically, improving user experience by providing context for the chat room.
- Refactored the Notifications component to mark notifications as read based on their IDs, ensuring that the correct notifications are updated in the database.
- Enhanced the realtime helper functions to include a new method for retrieving thread notifications, allowing for better management of unread notifications.
- Modified the server-side functions to support the new notification marking logic and improved error handling for message publishing.

BREAKING CHANGE: The `markNotificationsAsRead` function now requires an array of notification IDs instead of quest and node IDs.
@vedadian vedadian requested a review from zhn1010 January 6, 2026 19:24
- Update server `sendChatMessage` to support client-provided IDs
- Update [useChatRoom] hook to optimistically add messages to state
- styling: fade optimistic messages (70% opacity) until confirmed
- ux: clear chat input immediately on send
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants