Send and view photos in chats

- 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>
This commit is contained in:
SlimusMinus
2026-10-28 22:26:44 +03:00
parent 0380bc8985
commit b7b30575a2
12 changed files with 537 additions and 11 deletions

View File

@@ -216,6 +216,11 @@
"deleteChat": "Delete chat",
"confirmDeleteChat": "Are you sure you want to delete this chat?",
"user": "User",
"photoPreview": "Photo",
"attachPhoto": "Attach photo",
"removePhoto": "Remove photo",
"openPhoto": "Open photo",
"tooManyPhotos": "No more than {{max}} photos per message",
"postInfo": "Listing for this chat",
"postRemoved": "Listing deleted",
"postClosed": "Closed",