After submitting a report on the post details page, the "Report" textarea retains the previous content. I suggest resetting this textarea to improve the user experience and avoid potential confusion.
Issue Details
Post Details Page: When a user submits a report for a post, the "Report" textarea retains the text previously entered, which can lead to user confusion or unintended actions.
Expected Behavior
After successfully submitting a report, the "Report" textarea should be cleared or reset to an empty state, ready for the user to provide a new report if necessary.
Additional Context
Resetting the "Report" textarea simplifies the process for users and avoids the accidental resubmission of the same report due to the retained content.
Acceptance Criteria
After submitting a report, the "Report" textarea is cleared or reset.
The user is presented with a clean textarea to provide new feedback if needed.
Implementation Guidelines
Review and update the code responsible for handling report submissions.
Ensure that the textarea is cleared or reset after a successful submission.
Test the fix thoroughly to confirm that it functions as expected (ensure the report record is saved in db).
Description
After submitting a report on the post details page, the "Report" textarea retains the previous content. I suggest resetting this textarea to improve the user experience and avoid potential confusion.
Issue Details
Expected Behavior
After successfully submitting a report, the "Report" textarea should be cleared or reset to an empty state, ready for the user to provide a new report if necessary.
Additional Context
Resetting the "Report" textarea simplifies the process for users and avoids the accidental resubmission of the same report due to the retained content.
Acceptance Criteria
Implementation Guidelines