peppa/openspec/changes/pep-228-chat-messages-in-place/tasks.md

14 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 1. Сервер
- [ ] 1.1 `newChatMessagesView` в core, `humanSize` в `@peppa/shared/format`
- [ ] 1.2 Хаб: область `chat:<id>` на зрителя, доступ, отпечаток, сообщения в `change`, поставщик `setLiveChatView`; убрать `chatsAfter`
- [ ] 1.3 Веб: поставщик вида сообщения (`lib/chat-live.ts`), `messageLink` в `lib/chat-text.ts`, `markChatReadAction`
## 2. Клиент
- [ ] 2.1 `ChatLiveFeed`: остров `chat:<id>`, отбор по переписке, дорисовка сообщений и событий, прокрутка, «печатает…», прочитано
- [ ] 2.2 Страница `/chats/[chat]`: `LiveRefresh scope=chat:<id>`, `ChatLiveFeed`; `LiveRefresh` без `chatId`
## 3. Проверка
- [ ] 3.1 Тесты: доступ к `chat:<id>`, сообщение приходит своим и не приходит чужим, вид для зрителя, вопрос помечен `render`
- [ ] 3.2 typecheck, lint, тесты, сборка; проверка в браузере
- [ ] 3.3 Память, архив, PR