feat: 完善聊天识别与规则页面响应式布局

- 按闲鱼协议字段识别官方系统消息、交易卡片和闲小蜜,清理空会话壳并补齐历史消息校正\n- 同步 README、项目展示页和 GitHub Wiki,补充在线聊天、账号自动评价与每日擦亮说明\n- 优化自动化规则页面的中等宽度布局,补充前端类型、响应式测试和嵌入资源
This commit is contained in:
Christ committed 2026-08-08 23:48:42 +08:00
1 parent 4d1f58c5ec
commit fe3f715cdc
27 files changed
+336 -32

No files matched your search

+6
View File
@@ -37,6 +37,12 @@ describe('online chat UI contract', () => {
expect(chat).toContain('sendChatImage');
});
test('renders official notices as neutral system messages', () => {
const chat = source('components/Chat.tsx');
expect(chat).toContain("message.message_type === 'system'");
expect(chat).toContain('justify-center py-1');
});
test('sidebar exposes collapse control and chat primary navigation', () => {
const sidebar = source('components/Sidebar.tsx');
expect(sidebar).toContain("id: 'chat'");