Skip to content

Commit

Permalink
various small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed Dec 10, 2024
1 parent 88de367 commit dddbdf6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions extensions/vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions extensions/vscode/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
},
Expand Down
5 changes: 2 additions & 3 deletions gui/src/components/History/HistoryTableRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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("/") ? "/" : "\\";
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit dddbdf6

Please sign in to comment.