fix(admin): allow editing and resending a sent feedback response #160
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/BUNYIP-123-feedback-response-edit-resend"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The admin feedback detail page locked the response box once admin_response was set, so a typo or wrong reply could not be corrected. The API respond route already upserts admin_response (overwriting the stored reply and re-sending the email when an address is on record), so the only barrier was the web template.
Render the response form unconditionally instead of locking once a reply exists: pre-fill the textarea with the current response, keep showing the "Sent " note above it, and label the submit button "Resend response" when a reply already exists. Submitting overwrites the stored response and re-delivers it.
#BUNYIP-123