Elffuss BraidHub

kikocis/continue public

Merge branch 'main' into cli-message-queueing
Changeset8245094b4ec8f3b7180bd4fe4db5e82f915c359ea4c37bf54a45bf201fe0472e
Authoruinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-09-10 09:51 +05:30
Committeruinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-09-10 09:51 +05:30
Parents749852a03500, ac1a04b04a8f

Browse the files at this changeset

5 files changed

modified docs/package-lock.json +0 −0

Not shown: the file is larger than the hub shows, or this page holds as much as it shows. View the file.

modified extensions/intellij/gradle.properties +1 −1
@@ -1,5 +1,5 @@
11 pluginGroup=com.github.continuedev.continueintellijextension
2-pluginVersion=1.0.41
2+pluginVersion=1.0.42
33 platformVersion=2024.1
44 kotlin.stdlib.default.dependency=false
55 org.gradle.configuration-cache=true
modified extensions/vscode/package.json +1 −1
@@ -2,7 +2,7 @@
22 "name": "continue",
33 "icon": "media/icon.png",
44 "author": "Continue Dev, Inc",
5- "version": "1.3.5",
5+ "version": "1.3.6",
66 "repository": {
77 "type": "git",
88 "url": "https://github.com/continuedev/continue"
modified gui/src/pages/gui/ToolCallDiv/FindAndReplace.tsx +2 −14
@@ -4,7 +4,7 @@
44 import { renderContextItems } from "core/util/messageContent";
55 import { getLastNPathParts, getUriPathBasename } from "core/util/uri";
66 import { diffLines } from "diff";
7-import { useContext, useEffect, useMemo, useRef, useState } from "react";
7+import { useContext, useMemo, useState } from "react";
88 import { ApplyActions } from "../../../components/StyledMarkdownPreview/StepContainerPreToolbar/ApplyActions";
99 import { FileInfo } from "../../../components/StyledMarkdownPreview/StepContainerPreToolbar/FileInfo";
1010 import { IdeMessengerContext } from "../../../context/IdeMessenger";
@@ -77,8 +77,6 @@
7777 historyIndex,
7878 }: FindAndReplaceDisplayProps) {
7979 const [isExpanded, setIsExpanded] = useState<boolean | undefined>(undefined);
80- const [diffWidth, setDiffWidth] = useState<number | undefined>(undefined);
81- const diffDivRef = useRef<HTMLDivElement>(null);
8280 const ideMessenger = useContext(IdeMessengerContext);
8381 const applyState: ApplyState | undefined = useAppSelector((state) =>
8482 selectApplyStateByToolCallId(state, toolCallId),
@@ -238,22 +236,12 @@
238236 );
239237 }
240238
241- useEffect(() => {
242- if (!diffDivRef.current) return;
243- const newWidth =
244- diffDivRef.current?.scrollWidth ??
245- diffDivRef.current?.getBoundingClientRect().width;
246- setDiffWidth(newWidth ? Math.ceil(newWidth) : undefined);
247- }, [isExpanded]);
248-
249239 return renderContainer(
250240 <div
251241 className={`${config?.ui?.showChatScrollbar ? "thin-scrollbar" : "no-scrollbar"} max-h-72 overflow-auto`}
252- ref={diffDivRef}
253242 >
254243 <pre
255- className={`bg-editor m-0 text-xs leading-tight ${config?.ui?.codeWrap ? "whitespace-pre-wrap" : "whitespace-pre"}`}
256- style={{ width: diffWidth ? `${diffWidth}px` : "100%" }}
244+ className={`bg-editor m-0 w-full text-xs leading-tight ${config?.ui?.codeWrap ? "whitespace-pre-wrap" : "whitespace-pre"}`}
257245 >
258246 {diffResult.diff?.map((part, index) => {
259247 if (part.removed) {
modified packages/openai-adapters/package-lock.json +0 −0

Not shown: the file is larger than the hub shows, or this page holds as much as it shows. View the file.