fix(admin): allow editing and resending a sent feedback response #160

Merged
David merged 2 commits from fix/BUNYIP-123-feedback-response-edit-resend into main 2026-06-17 12:47:56 +02:00
Owner

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

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 <when>" 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
fix(admin): allow editing and resending a sent feedback response
All checks were successful
Check / fmt / clippy / build / test (pull_request) Successful in 1m45s
c4d71c79ae
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 <when>" 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
Merge branch 'main' into fix/BUNYIP-123-feedback-response-edit-resend
All checks were successful
Create release / Create release from merged PR (pull_request) Has been skipped
Check / fmt / clippy / build / test (pull_request) Successful in 1m28s
3fb428edd4
David merged commit 22ee93c3c1 into main 2026-06-17 12:47:56 +02:00
David deleted branch fix/BUNYIP-123-feedback-response-edit-resend 2026-06-17 12:47:57 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/bunyip!160
No description provided.