RocketChat / RocketChat/Rocket.Chat.ReactNative
Bug: Incomplete Thread Message Previews in Rocket.Chat Native (Compared to Web)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 1.5k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 90
Description
Description
When viewing a thread in Rocket.Chat native app, only a subset of thread messages are shown in the thread preview, even when viewing from the same account and same thread. This inconsistency is not present on the web version, where all thread messages are correctly previewed.
Steps to Reproduce
** Using Account 1:**
-
Go to Settings > Preferences > Also send thread message to channel behavior
-
Choose Selected by default
-
Create a thread message
-
Reply in that thread while enabling “Also send to channel”
-
Reply in that thread while disabling “Also send to channel”
-
Change behavior to Selected for first reply, unselected for following replies(and create new thread )
-
Reply in that thread while enabling “Also send to channel”
-
Reply in that thread while disabling “Also send to channel”
-
Change behavior to Unselected by default(and create new thread)
-
Reply in that thread while enabling “Also send to channel”
-
Reply in that thread while disabling “Also send to channel”
Sample Threads
Or you can view this thread in rocket.chat native and rocket.chat web
- Thread 1: https://open.rocket.chat/channel/123123test?msg=XNWHy6i9CzHZ3G7Md
- Thread 2: https://open.rocket.chat/channel/123123test?msg=vKXHFMJYj4wtPLy7P
- Thread 3: https://open.rocket.chat/channel/123123test?msg=fQLz7Xq4FQLs68cg3
Expected Behavior
All thread messages should be shown in the preview pane in native, just like on web.
Actual Behavior
Only some thread messages are shown in the preview in native, even when the account and thread are the same as in the web version.
Rocket.Chat Web
Viewing thread from another user:
Viewing the same thread from the thread creator’s view:
Rocket.Chat Native
Viewing thread from another user:
Viewing the same thread from the thread creator’s view:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the sample threads in Rocket.Chat Native and compare their previews with the web version, using the three listed thread links and the three preference behaviors. Trace how native loads and filters thread messages, then verify that all replies appear in the preview for enabled and disabled “Also send to channel” cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100