feat(core): add candidates popover in ai chat-panel (#11178)

Close [BS-2853](https://linear.app/affine-design/issue/BS-2853).
This commit is contained in:
akumatus
2025-03-25 15:50:11 +00:00
parent 4bf9161e57
commit aefbc11aab
9 changed files with 240 additions and 20 deletions

View File

@@ -272,7 +272,7 @@ test.describe('chat panel', () => {
await page.waitForTimeout(200);
await createLocalWorkspace({ name: 'test' }, page);
await clickNewPageButton(page);
await makeChat(page, 'hello');
await makeChat(page, 'What is AFFiNE?');
const content = (await collectChat(page))[1].content;
await page.getByTestId('action-copy-button').click();
await page.waitForTimeout(500);