- post form: up to 3 verification questions (loss and found) and a
"how not to get scammed" note; sent as verificationQuestions JSON
- feed card: "I found it" / "It's mine" instead of "Write" for posts with
questions; phone shows "after check" until the author approves
- chat draft shows ClaimForm; VerificationPanel lets the author approve or
reject answers and locks the claimant's input until approval, then offers
the author's phone
- messages: claim answers card, verification system line, fraudSignal
warnings for the recipient; ChatSafetyNotice with new-account mark
- tests, README
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- the attach button accepts one video per message (MP4, MOV, WebM, 3GP);
type, size (100 MB) and duration (60 s) are checked before upload
- the video is uploaded straight to storage with a progress indicator,
then confirmed; the message shows "processing" until the server pushes
the ready (or failed) version over WebSocket
- player with poster and duration in bubbles; fresh links when they expire
- chat list preview shows "Video" for video-only messages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- paperclip button and clipboard paste in the chat input, previews with
remove, up to 10 photos per message (sent via REST multipart)
- photos in message bubbles with reserved size, fullscreen viewer
(arrows, swipe, Esc), fresh link when a presigned URL expires
- chat list preview shows "Photo" for photo-only messages
- keep the feed pinned to the bottom when the preview strip appears
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The chat list and header show the listing's type, city and closed/deleted
status; the header info button opens the full listing in PostDetailModal
with a "show on map" action. Deleted or unpublished listings are marked.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
createOrGetChat stored the clicked card's post for the returned chat id,
even when the backend returned an existing chat about another ad. The
chat then showed the new ad's image until the next list fetch replaced
it with the real one. The backend's chat.post is now the source of truth;
card data only adds the emoji for the same ad.
Also limit the chat input to 4000 characters, matching the backend.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>