mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-06-11 18:05:58 +00:00
Fix frontend formatting after merge
This commit is contained in:
@@ -69,10 +69,7 @@ export function ChannelRuntimeConfigDialog({
|
||||
}
|
||||
setValues(
|
||||
Object.fromEntries(
|
||||
fields.map((field) => [
|
||||
field.name,
|
||||
credentialValues[field.name] ?? "",
|
||||
]),
|
||||
fields.map((field) => [field.name, credentialValues[field.name] ?? ""]),
|
||||
) as ChannelRuntimeConfigValues,
|
||||
);
|
||||
}, [credentialValues, fields, open, provider]);
|
||||
|
||||
@@ -225,7 +225,7 @@ export function RecentChatList() {
|
||||
<SidebarMenuButton isActive={isActive} asChild>
|
||||
<div>
|
||||
<Link
|
||||
className="text-muted-foreground flex min-w-0 items-center gap-1.5 whitespace-nowrap pr-7 group-hover/side-menu-item:overflow-hidden"
|
||||
className="text-muted-foreground flex min-w-0 items-center gap-1.5 pr-7 whitespace-nowrap group-hover/side-menu-item:overflow-hidden"
|
||||
href={pathOfThread(thread)}
|
||||
>
|
||||
<ThreadChannelIcon source={channelSource} />
|
||||
|
||||
@@ -8,7 +8,9 @@ type ThreadsSearchClient = {
|
||||
};
|
||||
};
|
||||
|
||||
export type ThreadSearchParams = NonNullable<Parameters<ThreadsClient["search"]>[0]>;
|
||||
export type ThreadSearchParams = NonNullable<
|
||||
Parameters<ThreadsClient["search"]>[0]
|
||||
>;
|
||||
|
||||
export const DEFAULT_THREAD_SEARCH_PARAMS: ThreadSearchParams = {
|
||||
limit: 50,
|
||||
|
||||
@@ -179,15 +179,13 @@ test.describe("Thread history", () => {
|
||||
`a[href='/workspace/chats/${MOCK_THREAD_ID}']`,
|
||||
);
|
||||
await expect(sidebarThread).toBeVisible({ timeout: 15_000 });
|
||||
await expect(
|
||||
sidebarThread.getByLabel("Feishu channel"),
|
||||
).toBeVisible();
|
||||
await expect(sidebarThread.getByLabel("Feishu channel")).toBeVisible();
|
||||
|
||||
await page.goto("/workspace/chats");
|
||||
|
||||
const mainThread = page.locator("main").locator(
|
||||
`a[href='/workspace/chats/${MOCK_THREAD_ID}']`,
|
||||
);
|
||||
const mainThread = page
|
||||
.locator("main")
|
||||
.locator(`a[href='/workspace/chats/${MOCK_THREAD_ID}']`);
|
||||
await expect(mainThread.getByText("Feishu conversation")).toBeVisible({
|
||||
timeout: 15_000,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user