fix(web): remove private message history help text

This commit is contained in:
2026-10-07 11:17:53 +08:00
parent fb155319b0
commit 579ca1d609
2 changed files with 1 additions and 4 deletions
+1 -2
View File
@@ -184,9 +184,8 @@ test('native X chat replaces both tables and reply/login modals; account filter
const filter = all(tree, (n) => n.type === h.antd.Select && n.props['aria-label'] === '所属账号')[0];
assert.equal(filter.props.value, undefined);
assert.deepEqual(filter.props.options.map((o) => o.value), ['a', 'b']);
assert.match(text(tree), /最近 50 条/);
assert.doesNotMatch(text(tree), /最近 50 条|不代表完整历史|已发送不代表对方已收到|仅手动发送文字|不自动回复或群发/);
assert.equal(alerts(h, tree), '');
assert.match(text(tree), /已发送不代表对方已收到/);
assert.equal(sender(h, tree).props.submitType, 'enter');
const source = readFileSync(resolve(__dirname, '../src/pages/creator/messages/index.tsx'), 'utf8');
assert.doesNotMatch(source, /AccountLoginModal|LoginOutlined|qr_value|login-qr|useXAgent|useXChat|useXStream|allowSpeech|onPasteFile|from ['"]@\/utils\/table/);