android: wire chats popup actions to archive pin delete clear and mute APIs
Some checks failed
Android CI / android (push) Has started running
Android Release / release (push) Has been cancelled
CI / test (push) Has been cancelled

This commit is contained in:
Codex
2026-03-09 22:25:33 +03:00
parent 77697ff36e
commit f005b3f222
10 changed files with 304 additions and 21 deletions

View File

@@ -20,14 +20,6 @@ Backend покрывает web-функционал почти полность
- `GET /api/v1/chats/saved`
- `PATCH /api/v1/chats/{chat_id}/title`
- `PATCH /api/v1/chats/{chat_id}/profile`
- `POST /api/v1/chats/{chat_id}/archive`
- `POST /api/v1/chats/{chat_id}/unarchive`
- `POST /api/v1/chats/{chat_id}/pin-chat`
- `POST /api/v1/chats/{chat_id}/unpin-chat`
- `DELETE /api/v1/chats/{chat_id}`
- `POST /api/v1/chats/{chat_id}/clear`
- `GET /api/v1/chats/{chat_id}/notifications`
- `PUT /api/v1/chats/{chat_id}/notifications`
- `GET /api/v1/messages/{message_id}/thread`
- `GET /api/v1/search` (single global endpoint; Android uses composed search calls)
- Contacts endpoints:
@@ -41,15 +33,13 @@ Backend покрывает web-функционал почти полность
## 3) Practical status
- Backend readiness vs Web: `high`
- Android parity vs Web (feature-level): `~70-80%`
- Android parity vs Web (feature-level): `~80-85%`
## 4) Highest-priority Android parity step
Подключить в Android реальные действия для chats list popup/select:
Завершить следующий parity-блок после подключения chat popup/select API:
- archive/unarchive
- pin/unpin chat
- delete/clear chat
- chat notification settings
и перевести текущие UI-заглушки на API-вызовы.
- `GET /api/v1/chats/saved` + UX для Saved
- `PATCH /api/v1/chats/{chat_id}/title` и `/profile` в chat settings flow
- единый `GET /api/v1/search` для полнофункционального Telegram-like поиска
- contacts API (`/users/contacts*`) + экран управления контактами