android: add media upload repository and chat attachment send flow
Some checks are pending
CI / test (push) Has started running

This commit is contained in:
Codex
2026-03-09 02:22:48 +03:00
parent ad2e0ede42
commit 8d13eb104e
15 changed files with 418 additions and 2 deletions

View File

@@ -97,3 +97,10 @@
- Added DAO test for message scoped replace behavior in Room.
- Expanded realtime parser tests with rich `receive_message` mapping coverage.
- Updated `docs/android-checklist.md` for completed message-core items.
### Step 16 - Sprint B / 1-2) Media data layer + chat integration
- Added media API/DTO layer for upload URL and attachment creation.
- Added `MediaRepository` + `UploadAndAttachMediaUseCase` and network implementation with presigned PUT upload.
- Extended `MessageRepository` with media send flow (`sendMediaMessage`) and optimistic local update behavior.
- Wired media API/repository through Hilt modules.
- Integrated file picking and media sending into Android `ChatScreen`/`ChatViewModel` with upload state handling.