ucsb-cs156-m23 / proj-happycows-m23-10am-4

https://ucsb-cs156-m23.github.io/proj-happycows-m23-10am-4/
0 stars 1 forks source link

ChatDisplay and ChatMessageDisplay for Commons Chat Frontend #77

Closed iain801 closed 1 year ago

iain801 commented 1 year ago

Overview

In this PR, we implement the ChatDisplay component for the Commons Chat frontend which fetches from the chat and usercommons API endpoints. We also add the ChatMessageDisplay component to display each message, and chat fixtures for the storybook and tests. When there is no user found, the Username is replaced with "Anonymous."

Screenshots (Optional)

image image

Feedback Request (Optional)

Please give suggestions on the following:

Validation (Optional)

  1. Download this branch.
  2. Run the storybook
  3. Find these components in components/Chat

Tests

Linked Issues

Closes #73