Skip to content

Commit 4ae2913

Browse files
Merge branch 'main' into fix/private-pr-diff-fetch
2 parents 0bddd16 + f88c56a commit 4ae2913

5 files changed

Lines changed: 6 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "cross-env SKIP_ENV_VALIDATION=1 yarn workspaces foreach --all --topological run build",
88
"test": "yarn workspaces foreach --all --topological run test",
99
"lint": "yarn workspaces foreach --all --topological run lint",
10-
"lint:fix": "yarn workspaces foreach --all --topological run lint:fix",
10+
"lint:fix": "yarn workspaces foreach --all --topological run lint:fix",
1111
"dev": "concurrently --kill-others --names \"zoekt,worker,web,schemas\" 'yarn dev:zoekt' 'yarn dev:backend' 'yarn dev:web' 'yarn watch:schemas'",
1212
"with-env": "cross-env PATH=\"$PWD/bin:$PATH\" dotenv -e .env.development -c --",
1313
"dev:zoekt": "yarn with-env zoekt-webserver -index .sourcebot/index -rpc",

packages/web/src/app/(app)/search/components/searchResultsPage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import { createPathWithQueryParams } from "@/lib/utils";
2121
import { InfoCircledIcon } from "@radix-ui/react-icons";
2222
import { useLocalStorage } from "@uidotdev/usehooks";
2323
import { AlertTriangleIcon, BugIcon, FilterIcon, RefreshCwIcon } from "lucide-react";
24-
import { Session } from "next-auth";
2524
import { useRouter } from "next/navigation";
2625
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
2726
import { useHotkeys } from "react-hotkeys-hook";

packages/web/src/ee/features/chat/components/chatThread/chatThreadListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ const ChatThreadListItemComponent = forwardRef<HTMLDivElement, ChatThreadListIte
277277
markdownRenderer.removeEventListener('mouseout', handleMouseOut);
278278
markdownRenderer.removeEventListener('click', handleClick);
279279
};
280-
}, [answerPart, selectedReference?.id]); // Re-run when answerPart changes to ensure we catch new content
280+
}, [answerPart, selectedReference?.id, setHoveredReference, setSelectedReference]); // Re-run when answerPart changes to ensure we catch new content
281281

282282
// When the selected reference changes, highlight all associated reference elements
283283
// and scroll to the nearest one, if needed.

packages/web/src/ee/features/chat/mcp/components/mcpFavicon.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ export const McpFavicon = ({ faviconUrl, className = "w-4 h-4" }: McpFaviconProp
1212
const [failed, setFailed] = useState(false);
1313
if (faviconUrl && !failed) {
1414
return (
15+
// Favicons are served from arbitrary MCP server domains, so they aren't
16+
// a good fit for `next/image` optimization.
17+
// eslint-disable-next-line @next/next/no-img-element
1518
<img
1619
src={faviconUrl}
1720
onError={() => setFailed(true)}

packages/web/src/features/agents/review-agent/nodes/gitlabPushMrReviews.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect, test, vi, describe } from 'vitest';
22
import { Gitlab } from '@gitbeaker/rest';
33
import { gitlabPushMrReviews } from './gitlabPushMrReviews';
4-
import { sourcebot_pr_payload, sourcebot_file_diff_review, sourcebot_diff_refs } from '../types';
4+
import { sourcebot_pr_payload, sourcebot_file_diff_review } from '../types';
55

66
type GitlabClient = InstanceType<typeof Gitlab>;
77

0 commit comments

Comments
 (0)