android: add chat media attachment rendering and viewer
Some checks failed
CI / test (push) Failing after 2m6s

This commit is contained in:
Codex
2026-03-09 12:53:08 +03:00
parent 946b85a18f
commit 5760a0cb3f
15 changed files with 255 additions and 31 deletions

View File

@@ -117,3 +117,10 @@
- Updated Chat ViewModel/UI with forward flow, reaction toggle, and edit/delete-for-all edge-case guards.
- Added automatic delivered/read acknowledgement for latest incoming message in active chat.
- Fixed outgoing message detection by resolving current user id from JWT `sub` claim.
### Step 19 - Sprint P0 / 2) Media UX after send
- Added media endpoint mapping for chat attachments (`GET /api/v1/media/chats/{chat_id}/attachments`).
- Extended Room message observation to include attachment relations via `MessageLocalModel`.
- Synced and persisted message attachments during message refresh/pagination and after media send.
- Extended message domain model with attachment list payload.
- Added message attachment rendering in Chat UI: inline image preview, minimal image viewer overlay, and basic audio play/pause control.