fix(admin-feedback): show name + masked email on each row + toggle Reviewed #102
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
psa-systems/bunyip!102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/feedback-admin-row"
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?
Two small fixes to the admin /feedback triage list.
Show the submitter on each row. AdminFeedbackSummary from bunyip-api already carries
name: Option<String>andemail_masked: Option<String>; both were dropped on the floor in the row template. They now render as aName · email@masked.comline under the subject, with the obvious None-handling: only the name when no email was given, only the email when no name was given, the whole line suppressed when both are missing. No DTO change.Make "Reviewed" toggle. With a row already showing the "reviewed" badge and the unchanged "Reviewed" button right next to it, clicking did a no-op POST that re-set the same status. The button now flips behaviour off the current status: on a row whose
status == Reviewedit labels "Un-review" and postsstatus=new, sending the row back to the triage queue. On every other status it stays "Reviewed" /status=reviewed. Closed rows still expose the Reviewed button so a row can be re-opened with closed -> reviewed -> new without touching the API directly.The Close button is unchanged.