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

@@ -998,6 +998,10 @@
max-width: 820px; margin: 0 auto; width: 100%;
padding-left: 24px; padding-right: 24px;
}
.fd-chats-main .chat-page--embedded .chat-attach-strip {
max-width: 820px; margin: 0 auto; width: 100%;
padding-left: 24px; padding-right: 24px;
}
.fd-chats-placeholder {
flex: 1;