Automattic / Automattic/docspress
Submitting a comment redirects to a blank "Comment sent" state and the original post disappears
- Dominant language
- JavaScript
- Stars
- 27
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
### Description
When submitting a comment on a post, the page navigates away from the article and shows only a "Comment sent" confirmation message, with the original post content no longer visible.\
### Steps to reproduce
Open any blog post with comments enabled.
Scroll to the comment form and submit a comment.
Observe that the page reloads/redirects to a state showing "Comment sent" instead of staying on the post with the new comment appearing inline.
### Expected behavior
After submitting a comment, the user should remain on the post page (or be redirected back to it) with the new comment visible in the discussion thread, similar to standard WordPress comment behavior.
### Actual behavior
The post content disappears and only a generic "Comment sent" message is shown, breaking the reading/discussion flow.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the comment form and the submission or redirect handling for a post with comments enabled. Reproduce the issue, then trace how the post page is selected after submission; done means the reader returns to the post with the new comment visible inline instead of only seeing “Comment sent”.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wordpress
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100