Add popout button to open instance in editor

This commit is contained in:
Saoud Rizwan
2024-07-23 12:04:58 -04:00
parent b8f1e8f2c5
commit b19ae3038d
6 changed files with 95 additions and 19 deletions

View File

@@ -89,6 +89,7 @@ const CodeBlock = ({ code, diff, language, path, syntaxHighlighterStyle }: CodeB
borderRadius: "3px",
backgroundColor: "var(--vscode-editor-background)",
overflow: "hidden", // This ensures the inner scrollable area doesn't overflow the rounded corners
border: "1px solid var(--vscode-sideBar-border)",
}}>
{path && (
<div

View File

@@ -96,7 +96,7 @@ const SettingsView = ({ apiKey, setApiKey, maxRequestsPerTask, setMaxRequestsPer
style={{ width: "100%" }}
placeholder="Enter your Anthropic API Key"
onInput={handleApiKeyChange}>
Anthropic API Key
<span style={{ fontWeight: "500" }}>Anthropic API Key</span>
</VSCodeTextField>
{apiKeyErrorMessage && (
<p
@@ -127,7 +127,7 @@ const SettingsView = ({ apiKey, setApiKey, maxRequestsPerTask, setMaxRequestsPer
style={{ width: "100%" }}
placeholder="20"
onInput={handleMaxRequestsChange}>
Maximum # Requests Per Task
<span style={{ fontWeight: "500" }}>Maximum # Requests Per Task</span>
</VSCodeTextField>
{maxRequestsErrorMessage && (
<p