Yaojia Wang
5af45f5034
refactor(frontend): 抽出可复用 ConversationThread + inlineConversation 纯助手
把 AiConversationDrawer 内联的气泡渲染(Bubble/readOptions/ACCEPT_LABEL)提取为
共享的 ConversationThread 组件,抽屉改为复用之(外观不变,DRY)。新增纯助手
lib/workbench/inlineConversation.ts:mergeInlineThreads(已落库留痕 ∪ 进行中气泡,
按 id 去重 + 复用 groupByThread 定序)、toPendingView(合成未落库气泡,meta._pending/
_streaming UI 标记)、isPendingView/isStreamingView/readSegment,配 9 单测(RED→GREEN)。
为内联对话视图铺路;抽屉行为完全不变。
2026-07-10 16:31:53 +02:00
..
2026-07-07 18:18:18 +02:00
2026-07-10 16:31:53 +02:00
2026-07-10 16:31:53 +02:00
2026-06-18 11:38:28 +02:00
2026-07-07 05:01:44 +02:00
2026-06-18 11:38:28 +02:00
2026-06-24 17:17:35 +02:00
2026-07-07 13:59:21 +02:00
2026-06-18 11:38:28 +02:00
2026-07-08 17:33:43 +02:00
2026-07-08 11:04:55 +02:00
2026-07-06 17:38:58 +02:00
2026-06-18 11:38:28 +02:00
2026-06-30 08:35:52 +02:00
2026-06-21 19:32:49 +02:00
2026-07-08 12:34:06 +02:00
2026-06-27 06:21:42 +02:00