Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Interlinked/games/abcdefghijklmnopqrstuvwxyz
Submodule abcdefghijklmnopqrstuvwxyz added at 626b62
61 changes: 61 additions & 0 deletions docs/analysis/crc-cards.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
## Conversation

**Responsibilities**
- Holds and receives messages sent by participants
- Maintains relationships between messages, their replies, and attachments
- Coordinates with read status tracking to determine which message each user last read.
- Contains the conversation image and title

**Collaborators**
- User
- Message
- WebSocket


## WebSocket

**Responsibilities**
- Updates users in real time when a message, letter, invite, etc. shows up.
- Handles real-time chat events such as typing indicators and read status updates.

**Collaborators**
- User
- Conversation
- Notification (Inbox)
Copy link

Copilot AI Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The collaborator "Notification (Inbox)" references a class that doesn't have its own CRC card defined in this document. However, the codebase has a "Mail" table (DatabaseSetup.js lines 60-70) that appears to serve this purpose. Consider either adding a CRC card for Mail/Notification or removing this collaborator reference if it's not part of the messaging system being documented.

Copilot uses AI. Check for mistakes.


## Message

**Responsibilities**
- Holds text info on the current message
- Keeps track of who sent the message and the date when it was sent

**Collaborators**
- Conversation
- User


## Notification (Inbox)

**Responsibilities**
- Contains information about what's in the message
- Tracks who sent it and when
- Holds any associated package content or additional data

**Collaborators**
- User
- Conversation
- Friend


## Friend

**Responsibilities**
- Represents a friendship relationship between users
- Stores friendship status and metadata (for example, when the friendship was created)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice touch that Friend represents the relationship itself, including data about that friendship

- Supports friend-related actions such as sending and responding to friend requests

**Collaborators**
- User
- Notification (Inbox)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would friend collaborate with notifications, or would the conversation do that? Or are you referring to the friend request itself?

- Conversation