fssa-batch3 / fssa-batch3/sec_a_susikumar.pitchaimuthu__corejava_project_2

Chat Module | Read Feature

Open
#10 0 comments 0 reactions 1 assignee Claimed by @Susikumar-Pitchaimuthu View on GitHub
chat-module enhancement
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

User Story

As a user, you should be able to read your group or individual chats using the chat ID. If there are any chat messages related to the chat ID, they will be displayed. Otherwise, it will show that there is no conversation and prompt you to start a conversation.

### DAO:

- [x] getChatsByUserId()

### Service:

- [x] readChat()

### Service Tests:

- [x] testReadChatSuccess()

## Flow

```mermaid
graph TD
A[Start]
B(User selects/clicks chat group)
C[(Check if chat group)]
D{Check if there are any messages}
E(Show Conversations)
F(Show No conversation)
G[END]
H(Invalid chat group details)
A --> B
B -->|User selects/clicks| C
C -->|Yes| D
C -->|No| H
D -->|Yes| E --> G
D -->|No| F

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.