gray-mueller / gray-mueller/milk-ordering-platform-react-native
Chat Display Order Issue - Enatega Multivendor Customer App
- Dominant language
- TypeScript
- 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
Research direction
Start by reproducing the rider chat flow on iOS or Android, then trace the chat screen and message-list ordering logic. Compare the initial display with the reopened chat; done means messages appear in chronological order immediately and remain correct after navigating away and back.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100