A reply that is accidentally deleted and restored is likely to be overlooked because deleting the reply resets the bump date to the date of the previous reply, but undeleting doesn’t change it back to the date of the latest reply.
Steps to reproduce:
- Reply to a topic that wasn’t bumped recently
- Check latest to verify that the topic was bumped to the top
- Delete your reply
- Check latest to ensure the bump date was reset as expected
- Undelete your reply
Expected result: The topic is back at the top of latest, because there is a recent reply
Actual result: The topic is still where it was when the reply was deleted, which means it’s less likely someone will notice the reply
Note: This was still working after FEATURE: Reset bump date when deleting a post by Lhcfl · Pull Request #33747 · discourse/discourse · GitHub was merged. I think the reason is that undeleting was an edit that triggered the bump of the topic. But since FEATURE: Do not bump topic on post edit by martin-brennan · Pull Request #34681 · discourse/discourse · GitHub this doesn’t work anymore