Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 17, 2024
1 parent 93fe48c commit df173bd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions clients/vscode/src/chat/fileContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ export async function showFileContext(fileContext: FileContext, gitProvider: Git

export async function getGitRemoteUrl(fileUri: Uri | undefined, gitProvider: GitProvider): Promise<string | undefined> {
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];
Expand Down
2 changes: 1 addition & 1 deletion ee/tabby-ui/components/chat/prompt-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down
12 changes: 6 additions & 6 deletions ee/tabby-ui/components/chat/repo-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ export function RepoSelect({
<DropdownMenu>
<Badge
variant="outline"
className="h-7 items-center gap-1 overflow-hidden rounded-md text-sm font-semibold pr-0 min-w-[8rem] break-all"
className="h-7 min-w-[8rem] items-center gap-1 overflow-hidden break-all rounded-md pr-0 text-sm font-semibold"
>
<DropdownMenuTrigger className="outline-none" asChild>
<div className="cursor-pointer flex-1 flex items-center gap-1.5 overflow-hidden">
<div className="flex flex-1 cursor-pointer items-center gap-1.5 overflow-hidden">
<IconFolderGit className="shrink-0" />
<div className="flex-1 flex items-center gap-1.5 truncate break-all">
<div className="flex flex-1 items-center gap-1.5 truncate break-all">
<span
className={cn('truncate', {
'text-muted-foreground': !selectedRepoName
Expand Down Expand Up @@ -112,10 +112,10 @@ export function RepoSelect({
<DropdownMenuRadioItem
value={repo.sourceId}
key={repo.sourceId}
className="cursor-pointer py-2 pl-3 flex items-center"
className="flex cursor-pointer items-center py-2 pl-3"
onSelect={() => onSelectRepo(repo.sourceId)}
>
<div className="flex-1 truncate flex items-center gap-2">
<div className="flex flex-1 items-center gap-2 truncate">
<IconCheck
className={cn(
'shrink-0',
Expand All @@ -131,7 +131,7 @@ export function RepoSelect({
</span>
</div>
{repo.sourceId === workspaceRepoId && (
<span className="text-muted-foreground ml-1.5 shrink-0">
<span className="ml-1.5 shrink-0 text-muted-foreground">
{isExtraSmallScreen ? 'Workspace' : 'Repo in workspace'}
</span>
)}
Expand Down

0 comments on commit df173bd

Please sign in to comment.