Skip to content

feat(chat): Add conversation type and global chat#41

Merged
mrepol742 merged 1 commit intohallofcodes:masterfrom
mrepol742:master
Mar 23, 2026
Merged

feat(chat): Add conversation type and global chat#41
mrepol742 merged 1 commit intohallofcodes:masterfrom
mrepol742:master

Conversation

@mrepol742
Copy link
Member

  • Add 'type' column to conversations and conversation_participants with migrations
  • Insert a global conversation and populate its participants
  • Create trigger to sync participant.type from conversations
  • Expose type and related fields in supabase types and TopLeaderboard props
  • Update Chat UI: include convo.type in queries, sort/show global convo, display sender name for global messages
  • Fetch bad-words list client-side and sanitize message text before insert

- Add 'type' column to conversations and conversation_participants with
  migrations
- Insert a global conversation and populate its participants
- Create trigger to sync participant.type from conversations
- Expose type and related fields in supabase types and TopLeaderboard
  props
- Update Chat UI: include convo.type in queries, sort/show global convo,
  display sender name for global messages
- Fetch bad-words list client-side and sanitize message text before
  insert
@mrepol742 mrepol742 merged commit f207a5f into hallofcodes:master Mar 23, 2026
1 of 2 checks passed
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.

1 participant