As a user I want a swap button between the two person fields so I can flip the conversation perspective without retyping #32
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Background
The sender/receiver direction determines which side of the timeline bubbles appear on. When a user wants to see the same correspondence from the other person's perspective (or simply entered the names the wrong way around), they currently have to clear both fields and re-enter them.
Desired behaviour
senderId/receiverIdvalues and immediately re-runsapplyFilters()Implementation notes
Frontend only. The swap is two variable assignments plus
applyFilters(). Place the button in the gap between the two typeahead columns — on desktop this sits in themd:grid-cols-2gap, on mobile it can be a small full-width button between the two fields.Keep it visually subtle (icon-only,
text-gray-400 hover:text-brand-navy) so it doesn't compete with the primary inputs.