Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds CRC (Class-Responsibility-Collaborator) cards documentation for Assignment 2 of CPW-207. The document defines four classes involved in a messaging/chat system: Conversation, InterWebSocket, Message, and Notification (Inbox), along with their responsibilities and collaborators.
Changes:
- Added new CRC cards documentation file defining the design of a messaging system with four main classes and their interactions
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| **Collaborators** | ||
| - User | ||
| - Conversation | ||
| - Notification (Inbox) |
There was a problem hiding this comment.
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.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
My PR for CPW 207 Assignment 2: CRC Cards