diff --git a/extensions/vscode/package-lock.json b/extensions/vscode/package-lock.json
index 24930d980..29ac4731f 100644
--- a/extensions/vscode/package-lock.json
+++ b/extensions/vscode/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "continue",
- "version": "0.9.229",
+ "version": "0.9.230",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "continue",
- "version": "0.9.229",
+ "version": "0.9.230",
"license": "Apache-2.0",
"dependencies": {
"@electron/rebuild": "^3.2.10",
diff --git a/gui/src/components/StepContainer/MultifileEditActions.tsx b/gui/src/components/StepContainer/MultifileEditActions.tsx
index db6b0d871..5fb7122df 100644
--- a/gui/src/components/StepContainer/MultifileEditActions.tsx
+++ b/gui/src/components/StepContainer/MultifileEditActions.tsx
@@ -4,6 +4,8 @@ import AcceptRejectAllButtons from "./AcceptRejectAllButtons";
import FeedbackButtons from "./FeedbackButtons";
import UndoAndRedoButtons from "./UndoAndRedoButtons";
import { ChatHistoryItem } from "core";
+import { stripImages } from "core/llm/images";
+import { CopyIconButton } from "../gui/CopyIconButton";
export interface MultifileEditActionsProps {
index: number;
@@ -30,7 +32,6 @@ export default function MultifileEditActions({
(state) => state.status === "closed",
);
- const isStreaming = applyStates.some((state) => state.status === "streaming");
const isCurCheckpoint = Math.floor(index / 2) === curCheckpointIndex;
const hasPendingApplies = pendingApplyStates.length > 0;
@@ -50,6 +51,13 @@ export default function MultifileEditActions({
)}
+
+
diff --git a/gui/src/components/StepContainer/StepContainer.tsx b/gui/src/components/StepContainer/StepContainer.tsx
index 844252a8b..f5673e4e8 100644
--- a/gui/src/components/StepContainer/StepContainer.tsx
+++ b/gui/src/components/StepContainer/StepContainer.tsx
@@ -31,15 +31,13 @@ export default function StepContainer(props: StepContainerProps) {
const curCheckpointIndex = useSelector(
(store: RootState) => store.state.curCheckpointIndex,
);
+ const isMultifileEdit = useSelector(
+ (store: RootState) => store.state.isMultifileEdit,
+ );
const uiConfig = useUIConfig();
const shouldHideActions = active && props.isLast;
const isStepAheadOfCurCheckpoint =
- Math.floor(props.index / 2) > curCheckpointIndex;
- console.log({
- index: props.index,
- curCheckpointIndex,
- isStepAheadOfCurCheckpoint,
- });
+ isMultifileEdit && Math.floor(props.index / 2) > curCheckpointIndex;
useEffect(() => {
if (!active) {
@@ -78,7 +76,7 @@ export default function StepContainer(props: StepContainerProps) {
return (
-
- {`${props.applyState.numDiffs === 1 ? "1 diff" : `${props.applyState.numDiffs} diffs`} remaining`}
+
+
+ {`${props.applyState.numDiffs === 1 ? "1 diff" : `${props.applyState.numDiffs} diffs`}`}
+ {` remaining`}
- Applied
-
+
+ Applied
+
);
}
diff --git a/gui/src/components/markdown/StepContainerPreToolbar/CopyButton.tsx b/gui/src/components/markdown/StepContainerPreToolbar/CopyButton.tsx
index 99dfddfaa..195615380 100644
--- a/gui/src/components/markdown/StepContainerPreToolbar/CopyButton.tsx
+++ b/gui/src/components/markdown/StepContainerPreToolbar/CopyButton.tsx
@@ -15,18 +15,18 @@ export default function CopyButton({ text }: CopyButtonProps) {
onClick={copyText}
>
{copied ? (
<>
- Copied
+ Copied
>
) : (
<>
- Copy
+ Copy
>
)}
diff --git a/gui/src/components/markdown/StepContainerPreToolbar/FileInfo.tsx b/gui/src/components/markdown/StepContainerPreToolbar/FileInfo.tsx
index c95e7962d..6d8fc8d74 100644
--- a/gui/src/components/markdown/StepContainerPreToolbar/FileInfo.tsx
+++ b/gui/src/components/markdown/StepContainerPreToolbar/FileInfo.tsx
@@ -12,7 +12,6 @@ export interface FileInfoProps {
const FileInfo = ({ filepath, range }: FileInfoProps) => {
const ideMessenger = useContext(IdeMessengerContext);
- // TODO: Need to turn into relative or fq path
function onClickFileName() {
ideMessenger.post("showFile", {
filepath,
@@ -20,13 +19,13 @@ const FileInfo = ({ filepath, range }: FileInfoProps) => {
}
return (
-
+
-
+
{getBasename(filepath)}
{range && ` ${range}`}
diff --git a/gui/src/components/markdown/StepContainerPreToolbar/StepContainerPreToolbar.tsx b/gui/src/components/markdown/StepContainerPreToolbar/StepContainerPreToolbar.tsx
index 39272df92..9acff543d 100644
--- a/gui/src/components/markdown/StepContainerPreToolbar/StepContainerPreToolbar.tsx
+++ b/gui/src/components/markdown/StepContainerPreToolbar/StepContainerPreToolbar.tsx
@@ -32,6 +32,7 @@ const TopDiv = styled.div`
border-radius: ${defaultBorderRadius};
margin-bottom: 8px !important;
background-color: ${vscEditorBackground};
+ min-width: 0;
animation: ${fadeInAnimation} 300ms ease-out forwards;
`;
@@ -163,17 +164,19 @@ export default function StepContainerPreToolbar(
return (
-
+
-
+
{isGeneratingCodeBlock && (