infoPopup
This commit is contained in:
parent
6864146f8a
commit
c7d550276e
5 changed files with 8 additions and 5 deletions
|
|
@ -55,7 +55,7 @@ export class MessageIde implements IDE {
|
|||
}
|
||||
|
||||
infoPopup(message: string): Promise<void> {
|
||||
return this.request("errorPopup", { message });
|
||||
return this.request("infoPopup", { message });
|
||||
}
|
||||
|
||||
errorPopup(message: string): Promise<void> {
|
||||
|
|
|
|||
4
extensions/vscode/package-lock.json
generated
4
extensions/vscode/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "continue",
|
||||
"version": "0.9.193",
|
||||
"version": "0.9.194",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "continue",
|
||||
"version": "0.9.193",
|
||||
"version": "0.9.194",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@electron/rebuild": "^3.2.10",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"name": "continue",
|
||||
"icon": "media/icon.png",
|
||||
"author": "Continue Dev, Inc",
|
||||
"version": "0.9.193",
|
||||
"version": "0.9.194",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/continuedev/continue"
|
||||
|
|
|
|||
|
|
@ -292,6 +292,9 @@ export class VsCodeMessenger {
|
|||
}
|
||||
});
|
||||
});
|
||||
this.onWebviewOrCore("infoPopup", (msg) => {
|
||||
vscode.window.showInformationMessage(msg.data.message);
|
||||
});
|
||||
this.onWebviewOrCore("getGitHubAuthToken", (msg) =>
|
||||
ide.getGitHubAuthToken(),
|
||||
);
|
||||
|
|
|
|||
|
|
@ -21,10 +21,10 @@ import {
|
|||
import { IdeMessengerContext } from "../context/IdeMessenger";
|
||||
import { useAuth } from "../hooks/useAuth";
|
||||
import { useWebviewListener } from "../hooks/useWebviewListener";
|
||||
import { setLastControlServerBetaEnabledStatus } from "../redux/slices/miscSlice";
|
||||
import { RootState } from "../redux/store";
|
||||
import { getFontSize } from "../util";
|
||||
import HeaderButtonWithText from "./HeaderButtonWithText";
|
||||
import { setLastControlServerBetaEnabledStatus } from "../redux/slices/miscSlice";
|
||||
|
||||
const StyledListbox = styled(Listbox)`
|
||||
background-color: ${vscBackground};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue