diff --git a/clients/vscode/src/chat/fileContext.ts b/clients/vscode/src/chat/fileContext.ts index cc9e3e350691..4fdf203808b7 100644 --- a/clients/vscode/src/chat/fileContext.ts +++ b/clients/vscode/src/chat/fileContext.ts @@ -83,8 +83,8 @@ export async function showFileContext(fileContext: FileContext, gitProvider: Git export async function getGitRemoteUrl(fileUri: Uri | undefined, gitProvider: GitProvider): Promise { if (fileUri) { - const pathParams = await buildFilePathParams(fileUri, gitProvider) - return pathParams.gitRemoteUrl + const pathParams = await buildFilePathParams(fileUri, gitProvider); + return pathParams.gitRemoteUrl; } const workspaceFolder = workspace.workspaceFolders?.[0]; diff --git a/ee/tabby-ui/components/chat/prompt-form.tsx b/ee/tabby-ui/components/chat/prompt-form.tsx index c8916baf9f23..eb93fd553437 100644 --- a/ee/tabby-ui/components/chat/prompt-form.tsx +++ b/ee/tabby-ui/components/chat/prompt-form.tsx @@ -212,7 +212,7 @@ function PromptFormRenderer( rows={1} placeholder="Ask a question." spellCheck={false} - className="min-h-[60px] w-full resize-none bg-transparent pr-4 sm:pl-4 py-[1.3rem] focus-within:outline-none" + className="min-h-[60px] w-full resize-none bg-transparent py-[1.3rem] pr-4 focus-within:outline-none sm:pl-4" value={input} ref={chatInputRef} onChange={e => { diff --git a/ee/tabby-ui/components/chat/repo-select.tsx b/ee/tabby-ui/components/chat/repo-select.tsx index bbd39b4c6099..41d661bd9c23 100644 --- a/ee/tabby-ui/components/chat/repo-select.tsx +++ b/ee/tabby-ui/components/chat/repo-select.tsx @@ -62,12 +62,12 @@ export function RepoSelect({ -
+
-
+
onSelectRepo(repo.sourceId)} > -
+
{repo.sourceId === workspaceRepoId && ( - + {isExtraSmallScreen ? 'Workspace' : 'Repo in workspace'} )}