Merge pull request #3280 from continuedev/nate/quick-edit-4b9c

various small fixes
This commit is contained in:
Nate Sesti 2024-12-09 18:48:30 -08:00 • committed by GitHub
commit 70482eaedd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 8 deletions

View file

@ -1,12 +1,12 @@
{
"name": "continue",
"version": "0.9.242",
"version": "0.9.248",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "continue",
"version": "0.9.242",
"version": "0.9.248",
"license": "Apache-2.0",
"dependencies": {
"@continuedev/fetch": "^1.0.3",

View file

@ -456,13 +456,16 @@ const getCommandsMap: (
hideGUI();
} else {
void sidebar.webviewProtocol?.request(
"focusContinueInput",
"focusContinueInputWithNewSession",
undefined,
);
}
} else {
focusGUI();
sidebar.webviewProtocol?.request("focusContinueInput", undefined);
sidebar.webviewProtocol?.request(
"focusContinueInputWithNewSession",
undefined,
);
void addHighlightedCodeToContext(sidebar.webviewProtocol);
}
},

View file

@ -3,15 +3,15 @@ import { SessionMetadata } from "core";
import React, { useContext, useEffect, useState } from "react";
import { useNavigate } from "react-router-dom";
import { Input } from "..";
import HeaderButtonWithToolTip from "../gui/HeaderButtonWithToolTip";
import { useAppDispatch, useAppSelector } from "../../redux/hooks";
import { IdeMessengerContext } from "../../context/IdeMessenger";
import { useAppDispatch, useAppSelector } from "../../redux/hooks";
import {
deleteSession,
getSession,
loadSession,
updateSession,
} from "../../redux/thunks/session";
import HeaderButtonWithToolTip from "../gui/HeaderButtonWithToolTip";
function lastPartOfPath(path: string): string {
const sep = path.includes("/") ? "/" : "\\";
@ -88,7 +88,6 @@ export function HistoryTableRow({
}}
>
<div className="flex-1 cursor-pointer space-y-1">
{`history-row-${index}`}
{editing ? (
<div className="text-md">
<Input

View file

@ -1,6 +1,6 @@
{
"scripts": {
"tsc:watch": "concurrently -n gui,vscode,core,binary -c cyan,magenta,yellow,green \"npm run tsc:watch:gui\" \"npm run tsc:watch:vscode\" \"npm run tsc:watch:core\" \"npm run tsc:watch:binary\"",
"tsc:watch": "npx concurrently -n gui,vscode,core,binary -c cyan,magenta,yellow,green \"npm run tsc:watch:gui\" \"npm run tsc:watch:vscode\" \"npm run tsc:watch:core\" \"npm run tsc:watch:binary\"",
"tsc:watch:gui": "tsc --project gui/tsconfig.json --watch --noEmit --pretty",
"tsc:watch:vscode": "tsc --project extensions/vscode/tsconfig.json --watch --noEmit --pretty",
"tsc:watch:core": "tsc --project core/tsconfig.json --watch --noEmit --pretty",