Changesets · Branches · Tags · Compare
| Changeset | 8245094b4ec8f3b7180bd4fe4db5e82f915c359ea4c37bf54a45bf201fe0472e |
|---|---|
| Author | uinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-09-10 09:51 +05:30 |
| Committer | uinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-09-10 09:51 +05:30 |
| Parents | 749852a03500, ac1a04b04a8f |
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 @@ | ||
| 1 | 1 | pluginGroup=com.github.continuedev.continueintellijextension |
| 2 | -pluginVersion=1.0.41 | |
| 2 | +pluginVersion=1.0.42 | |
| 3 | 3 | platformVersion=2024.1 |
| 4 | 4 | kotlin.stdlib.default.dependency=false |
| 5 | 5 | org.gradle.configuration-cache=true |
modified extensions/vscode/package.json +1 −1
| @@ -2,7 +2,7 @@ | ||
| 2 | 2 | "name": "continue", |
| 3 | 3 | "icon": "media/icon.png", |
| 4 | 4 | "author": "Continue Dev, Inc", |
| 5 | - "version": "1.3.5", | |
| 5 | + "version": "1.3.6", | |
| 6 | 6 | "repository": { |
| 7 | 7 | "type": "git", |
| 8 | 8 | "url": "https://github.com/continuedev/continue" |
modified gui/src/pages/gui/ToolCallDiv/FindAndReplace.tsx +2 −14
| @@ -4,7 +4,7 @@ | ||
| 4 | 4 | import { renderContextItems } from "core/util/messageContent"; |
| 5 | 5 | import { getLastNPathParts, getUriPathBasename } from "core/util/uri"; |
| 6 | 6 | import { diffLines } from "diff"; |
| 7 | -import { useContext, useEffect, useMemo, useRef, useState } from "react"; | |
| 7 | +import { useContext, useMemo, useState } from "react"; | |
| 8 | 8 | import { ApplyActions } from "../../../components/StyledMarkdownPreview/StepContainerPreToolbar/ApplyActions"; |
| 9 | 9 | import { FileInfo } from "../../../components/StyledMarkdownPreview/StepContainerPreToolbar/FileInfo"; |
| 10 | 10 | import { IdeMessengerContext } from "../../../context/IdeMessenger"; |
| @@ -77,8 +77,6 @@ | ||
| 77 | 77 | historyIndex, |
| 78 | 78 | }: FindAndReplaceDisplayProps) { |
| 79 | 79 | const [isExpanded, setIsExpanded] = useState<boolean | undefined>(undefined); |
| 80 | - const [diffWidth, setDiffWidth] = useState<number | undefined>(undefined); | |
| 81 | - const diffDivRef = useRef<HTMLDivElement>(null); | |
| 82 | 80 | const ideMessenger = useContext(IdeMessengerContext); |
| 83 | 81 | const applyState: ApplyState | undefined = useAppSelector((state) => |
| 84 | 82 | selectApplyStateByToolCallId(state, toolCallId), |
| @@ -238,22 +236,12 @@ | ||
| 238 | 236 | ); |
| 239 | 237 | } |
| 240 | 238 | |
| 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 | - | |
| 249 | 239 | return renderContainer( |
| 250 | 240 | <div |
| 251 | 241 | className={`${config?.ui?.showChatScrollbar ? "thin-scrollbar" : "no-scrollbar"} max-h-72 overflow-auto`} |
| 252 | - ref={diffDivRef} | |
| 253 | 242 | > |
| 254 | 243 | <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"}`} | |
| 257 | 245 | > |
| 258 | 246 | {diffResult.diff?.map((part, index) => { |
| 259 | 247 | 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.