marthaegrimaldi / marthaegrimaldi/ifood-clone-using-react-native

Chat Display Order Issue - Enatega Multivendor Customer App

Open
#835 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
In the Enatega Multivendor Customer App, there is an issue with the display order of messages in the chat with the rider. Upon the initial message exchange, the customer's message appears at the top, followed by the rider's message, despite the rider sending the first message. However, upon reopening the chat after navigating back, the message order corrects itself, showing the rider's message at the top and the customer's below.

To Reproduce
Steps to reproduce the behavior:

Start a chat with a rider for the first time.
Observe the order of messages after sending the initial message.
Close the chat and reopen it.
Expected behavior
The initial message order should reflect the actual chronological order of messages, with the rider's message appearing at the top when they send the first message.

Screenshots

RPReplay_Final1710227873.MP4
Smartphone:

Device: iOS and android

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the rider chat flow on iOS and Android, comparing the initial display with the order after reopening the chat. Inspect the chat message ordering logic; done means messages appear in chronological order immediately, including when the rider sends the first message.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.