RocketChat / RocketChat/Rocket.Chat
Deleted thread continues to show replies button
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
When a message that was used to initiate a thread is deleted message is lost but the number of replies and the reply button continues to be visible.
This issue is actually same as #16320.
Steps to reproduce:
- Write a message
- Reply to the message to start a thread
- Delete the message first message
- Click on the reply button that will let you post a reply to "nothing"
Expected behavior:
Number of replies and Reply button should not be visible anymore.
Actual behavior:
Number of replies (even if all were deleted) is still visible and Reply button is clickable.
Server Setup Information:
- Version of Rocket.Chat Server: 3.12.3
- Operating System: Debian 10 Buster
- Deployment Method: Docker
- Number of Running Instances: 1
- NodeJS Version: 12.18.4
- MongoDB Version: 4.0.16
Client Setup Information
- Browser Version: Firefox 78.9.0esr
- Operating System: Debian 10 Buster
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 with the reproduction steps and compare this report with the referenced issue #16320. Verify that deleting the thread's initiating message removes the reply count and reply button, and confirm the behavior after any related replies are deleted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100