uaem-na / donations-tracker

General-purpose distribution platform developed for the McGill chapter of the Universities Allied for Essential Medicine.
https://donations-tracker-dev.uaem.org
8 stars 1 forks source link

Reset "Report" Textarea After Submitting a Report on Post Details Page #81

Closed shjryan closed 1 year ago

shjryan commented 1 year ago

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

  1. 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

Implementation Guidelines