refactor(core): remove useless chat-input components (#11426)

Close [BS-2583](https://linear.app/affine-design/issue/BS-2583).
This commit is contained in:
akumatus
2025-04-03 14:53:50 +00:00
parent 6033baeb86
commit 6cf182190c
8 changed files with 155 additions and 255 deletions

View File

@@ -96,7 +96,7 @@ test.describe('AIChatWith/Network', () => {
buffer: buffer,
});
await page.waitForSelector('chat-panel-input img');
await page.waitForSelector('ai-chat-input img');
const isNetworkSearchEnabled =
await utils.chatPanel.isNetworkSearchEnabled(page);
await expect(isNetworkSearchEnabled).toBe(false);

View File

@@ -244,7 +244,7 @@ export class ChatPanelUtils {
const fileChooser = await fileChooserPromise;
await fileChooser.setFiles(images);
await page.waitForSelector('chat-panel-input img');
await page.waitForSelector('ai-chat-input img');
await this.makeChat(page, text);
}