peppa/openspec/changes/archive/2026-11-21-pep-228-chat-messages-in-place/tasks.md
peppa-bot 524432b91b
All checks were successful
peppa/lint lint: success за 1с
peppa/typecheck typecheck: success за 22с
peppa/build build: success за 15с
peppa/test test: success за 658с
peppa-ci / ci (pull_request) Successful in 12m37s
PEP-228: память проекта, AGENTS.md, архив change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 14:59:31 +00:00

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