feat: integrate pixel teacher presence and resilient classroom preview

This commit is contained in:
鲨鱼辣椒
2026-09-23 18:23:53 +08:00
parent 12d800ec51
commit 7951cca700
60 changed files with 3313 additions and 180 deletions

View File

@@ -33,7 +33,8 @@ export class TeacherTopicStore {
const items = topics
.map((topic) => ({
id: topic.id,
title: topic.requests[0]?.text.slice(0, 32) || '新话题',
title: topic.requests.find((request) => request.intent !== 'check-in')?.text.slice(0, 32)
|| (topic.requests.some((request) => request.intent === 'check-in') ? '和老师聊聊' : '新话题'),
updatedAt: topic.updatedAt,
version: topic.version,
}))