[JITERA] Implement Chat UI with Sidebar and Main Content Area
Created by: chi-jitera
Overview
This pull request introduces a new chat user interface that includes a sidebar for agents and a main content area for chat functionalities. The components are structured to provide a clean and organized layout, enhancing user experience.
Changes Made
-
AgentsSidebar Component
-
File:
AgentsSidebar.js - Description: Created a sidebar component that lists various agents. This component is styled with a dedicated CSS module.
-
CSS File:
AgentsSidebar.module.csscontains styles for the sidebar, including width, background color, and text formatting.
-
File:
-
ChatArea Component
-
File:
ChatArea.js - Description: Developed a chat area component that serves as the main content area for displaying chat messages. It is also styled with a dedicated CSS module.
-
CSS File:
ChatArea.module.cssincludes styles for the chat area and the chat window, ensuring a visually appealing layout.
-
File:
-
MainLayout Component
-
File:
MainLayout.js -
Description: Integrated the
AgentsSidebarandChatAreacomponents into a main layout component, providing a cohesive structure for the chat interface.
-
File:
-
Routing Setup
-
File:
routes.js - Description: Defined the routing for the application, allowing users to access the chat interface through the main layout.
-
File:
These changes collectively create a functional and visually appealing chat interface, as per the requirements outlined in the task.