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": "Удалить чат",
"confirmDeleteChat": "Вы уверены, что хотите удалить этот чат?",
"user": "Пользователь",
"photoPreview": "Фото",
"attachPhoto": "Прикрепить фото",
"removePhoto": "Убрать фото",
"openPhoto": "Открыть фото",
"tooManyPhotos": "Не больше {{max}} фото в одном сообщении",
"postInfo": "Объявление этого чата",
"postRemoved": "Объявление удалено",
"postClosed": "Закрыто",