feat(ai-chat): role cards start the chat and show role identity #121
Reference in New Issue
Block a user
Delete Branch "feat/ai-chat-role-cards-ux"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Что меняется
Переработка empty-state «карточек ролей» в плавающем окне AI-чата.
roleIdRefвыставляется синхронно доsendMessage, поэтому create-запрос уносит роль.selectChatсбрасывает выбранную роль, чтобы она не «протекала» в чужой чат.Take a look at the current document(en-US, ru-RU).Затронутые файлы
apps/client/src/features/ai-chat/components/role-cards.tsx(rewrite)apps/client/src/features/ai-chat/components/role-cards.module.cssapps/client/src/features/ai-chat/components/role-cards.test.tsx(rewrite)apps/client/src/features/ai-chat/components/chat-thread.tsxapps/client/src/features/ai-chat/components/ai-chat-window.tsxapps/client/public/locales/{en-US,ru-RU}/translation.jsonПроверки
tsc --noEmit— без ошибок.vitest run src/features/ai-chat— 8 файлов, 53 теста зелёные.translation.jsonвалидны.🤖 Generated with Claude Code