text stringlengths 14 100k | source stringclasses 1
value | repo stringclasses 810
values | language stringclasses 13
values |
|---|---|---|---|
<|fim_suffix|>ring;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}
declare const __APP_VERSION__: string;
<|fim_prefix|>/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_API_BASE_URL: string;
readonly VITE_RELAY_API_BASE_URL: string;
readonly VITE_APP_BAS<|fim_middle|>E_U... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>2,
allowedHosts: [
".trycloudflare.com", // allow all cloudflared tunnels
],
fs: {
allow: [path.resolve(__dirname, "."), path.resolve(__dirname, "../..")],
},
},
});
<|fim_prefix|>import fs from "fs";
import path from "path";
import { defineConfig, type Plugin } from "vite";
... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>s }, ref) => (
<AccordionPrimitive.Header
className={cn('flex', sticky && 'sticky top-0 z-10 bg-panel')}
>
<AccordionPrimitive.Trigger
ref={ref}
className={cn('flex w-full items-center', className)}
{...props}
>
{children}
</AccordionPrimitive.Trigger>
</Accor... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>ement>
>(({ className, ...props }, ref) => (
<div
ref={ref}
className={cn('text-sm [&_p]:leading-relaxed', className)}
{...props}
/>
));
AlertDescription.displayName = 'AlertDescription';
export { Alert, AlertTitle, AlertDescription };
<|fim_prefix|>import * as React from 'react';
import ... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>ion getHostButtonClassName({
host,
isActive,
}: {
host: AppBarHost;
isActive: boolean;
}) {
const isOffline = host.status === 'offline';
return cn(
appBarItemBaseClassName,
isOffline
? 'bg-primary text-low opacity-50 cursor-not-allowed'
: isActive
? 'bg-brand/20 te... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>
)}
aria-label={label}
>
{IconComponent && (
<IconComponent className="size-icon-base" weight="bold" />
)}
{children}
</button>
);
return (
<Tooltip content={label} side="right">
{button}
</Tooltip>
);
}
<|fim_prefix|>import * as React fro... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import type { ReactNode } from 'react';
import { cn } from '../lib/cn';
import { Tooltip } from './Tooltip';
interface AppBarSocialLinkProps {
href: string;
label: string;
iconPath: string;
badge?: ReactNode;
}
export funct<|fim_suffix|>x items-center justify-center w-10 h-10 rounded-lg',
... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import {
BuildingsIcon,
CheckIcon,
GearIcon,
SignInIcon,
SignOutIcon,
UserIcon,
} from '@phosphor-icons/react';
import { useTranslation } from 'react-i18next';
import { cn } from '../lib/cn';
import {
DropdownMenu,
DropdownMenuTrigger,
DropdownMenuContent,
DropdownMenuItem,
DropdownM... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import {
forwardRef,
useCallback,
useImperativeHandle,
useMemo,
useState,
} from 'react';
import { useTranslation } from 'react-i18next';
import type { AskUserQuestionItem, QuestionAnswer } from 'shared/types';
import { QuestionIcon } from '@phosphor-icons/react';
export interface AskUserQuesti... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>rap break-words',
disableInternalScroll ? 'overflow-hidden' : 'overflow-y-auto',
className
)}
ref={textareaRef}
onInput={handleInput}
{...props}
/>
);
}
);
AutoExpandingTextarea.displayName = 'AutoExpandingTextarea';
export { AutoExpandingT... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import * as React from 'react';
import { cn } from '../lib/cn';
function normalizeSingleLineValue(value: string): string {
return value.replace(/\r\n|\r|\n/g, ' ');
}
export interface AutoResizeTextareaProps
extends Omit<
React.ComponentPropsWithoutRef<'textarea'>,
'onChange' | 'value'
> {... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>reground hover:bg-secondary/80',
destructive:
'border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80',
outline: 'text-foreground',
},
},
defaultVariants: {
variant: 'default',
},
}
);
export interface BadgeProps
extends... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>'use client';
import { useTranslation } from 'react-i18next';
import {
ArrowsLeftRightIcon,
ArrowFatLineUpIcon,
UsersIcon,
TrashIcon,
XIcon,
} from '@phosphor-icons/react';
import { cn } from '../lib/cn';
import { Tooltip } from './Tooltip';
interface BulkActionButtonProps {
icon: React.Elem... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>der-destructive text-destructive hover:bg-destructive/10',
outline:
'border border-input hover:bg-accent hover:text-accent-foreground',
secondary: 'text-secondary-foreground hover:bg-secondary/80 border',
ghost: 'hover:text-primary-foreground/50',
link: 'hover:und... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import * as React from 'react';
import { cn } from '../lib/cn';
const Card = React.forwardRef<
HTMLDivElement,
React.HTMLAttributes<HTMLDivElement>
>(({ className, ...props }, ref) => (
<div
ref={ref}
className={cn('bg-card text-card-foreground', className)}
{...props}
/>
));
Card.di... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useEffect, useState } from 'react';
import { useTranslation } from 'react-i18next';
import {
Dialog,
DialogContent,
DialogDescription,
DialogFooter,
DialogHeader,
DialogTitle,
} from './KeyboardDialog';
import { Button } from './Button';
import {
Select,
SelectContent,
SelectIte... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import type { ForwardedRef, ReactNode, RefAttributes } from 'react';
import {
forwardRef,
useCallback,
useEffect,
useImperativeHandle,
useRef,
} from 'react';
import { useTranslation } from 'react-i18next';
import { useVirtualizer } from '@tanstack/react-virtual';
import { cn } from '../lib/cn';... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useMemo } from 'react';
import {
CaretDownIcon,
ArrowSquareUpRightIcon,
FileIcon as DefaultFileIcon,
} from '@phosphor-icons/react';
import { useTranslation } from 'react-i18next';
import { cn } from '../lib/cn';
import { ToolStatusDot, type ToolStatusLike } from './ToolStatusDot';
import t... | fim | BloopAI/vibe-kanban | typescript |
import { ListMagnifyingGlassIcon, CaretRightIcon } from '@phosphor-icons/react';
import { cn } from '../lib/cn';
import { ToolStatusDot, type ToolStatusLike } from './ToolStatusDot';
export interface AggregatedEntry {
summary: string;
status?: ToolStatusLike;
expansionKey: string;
content?: string;
command?:... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import type { ReactNode } from 'react';
import {
ChatEntryContainer,
type ChatEntryStatusLike,
} from './ChatEntryContainer';
export interface ChatApprovalCardRenderProps {
content: string;
workspaceId?: string;
}
interface ChatApprovalCardProps {
title: string;
content: string;
expanded?:... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import type { ReactNode } <|fim_suffix|>interface ChatAssistantMessageProps {
content: string;
workspaceId?: string;
renderMarkdown: (props: ChatAssistantMessageRenderProps) => ReactNode;
}
export function ChatAssistantMessage({
content,
workspaceId,
renderMarkdown,
}: ChatAssistantMessagePro... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>erface ChatBoxBaseProps {
// Editor node (provided by frontend)
editor: ReactNode;
// Error display
error?: string | null;
// Header content (right side - session/executor dropdown)
headerRight?: ReactNode;
// Header content (left side - stats)
headerLeft?: ReactNode;
// Footer left ... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import type { ReactNode } from 'react';
import { ChatDotsIcon, CaretRightIcon } from '@phosphor-icons/react';
import { useTranslation } from 'react-i18next';
import { cn } from '../lib/cn';
export interface ThinkingEntry {
content: string;
expansionKey: string;
}
export interface ChatCollapsedThinki... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>tEmptyStateProps) {
return (
<div
className={cn(
'mx-auto flex max-w-md flex-col items-center gap-2 text-center',
className
)}
>
<div className="flex size-12 items-center justify-center rounded-full border border-border/70 bg-panel text-low">
<ChatCircle... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>on;
const handleKeyDown = (event: KeyboardEvent<HTMLDivElement>) => {
if (!onToggle || event.target !== event.currentTarget) return;
if (event.key !== 'Enter' && event.key !== ' ') return;
event.preventDefault();
onToggle();
};
return (
<div
className={cn(
'rounded... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { WarningCircleIcon } from '@phosphor-icons/react';
import { cn } from '../lib/cn';
interface ChatErrorMessageProps {
content: string;
className?: string;
expanded?: boolean;
onToggle?: () => void;
}
export function ChatErrorMessage({
content,
className,
expanded,
onToggle,
}: Cha... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>transform',
!expanded && '-rotate-90'
)}
/>
)}
</div>
);
}
<|fim_prefix|>import type { KeyboardEvent } from 'react';
import { useTranslation } from 'react-i18next';
import {
CaretDownIcon,
ArrowSquareUpRightIcon,
FileIcon as DefaultFileIcon,
} from '@phospho... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>: ChatMarkdownProps) {
const contentClassName = cn('whitespace-pre-wrap break-words', className);
return (
<div className="text-sm" style={{ maxWidth }}>
{renderContent({
content,
className: contentClassName,
workspaceId,
})}
</div>
);
}
<|fim_prefix|>imp... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>ssName="text-normal font-medium">{title}</span>
{command && (
<code className="text-low text-xs font-mono truncate block">
{command}
</code>
)}
<span className="text-low text-xs">{getSubtitle()}</span>
</div>
{isFailed && onFix && (
... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>ansition-colors"
>
<GearSixIcon className="size-icon-xs" />
<span>{t('conversation.scriptPlaceholder.configure')}</span>
</button>
)}
</div>
);
}
<|fim_prefix|>import { useTranslation } from 'react-i18next';
import { TerminalIcon, GearSixIcon } from '@phosph... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>xt-low pb-base uppercase tracking-wide">
{t('conversation.output')}
</div>
<div className="prose prose-sm dark:prose-invert max-w-none">
{renderMarkdown({ content: resultContent!, workspaceId })}
</div>
</div>
)}
</div>
);
}
<|fim_p... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>ick={onToggle}
role="button"
>
<InfoIcon className="shrink-0 size-icon-base pt-0.5" />
<span
className={cn(
!expanded && 'truncate',
expanded && 'whitespace-pre-wrap break-all'
)}
>
{content}
</span>
</div>
);
}
<|fim_pref... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import type { ReactNode } from 'react';
import { ChatDotsIcon } from '@phosphor-icons/react';
import { cn } from '../lib/cn';
export interface ChatThinkingMessageRenderProps {
content: string;
workspaceId?: string;
className?: string;
}
interface ChatThinkingMessageProps {
content: string;
cla... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useTranslation } from 'react-i18next';
import { ListChecksIcon<|fim_suffix|>e?: () => void;
}
function getStatusIcon(status?: string | null) {
const s = (status || '').toLowerCase();
if (s === 'completed')
return <Check aria-hidden className="h-4 w-4 text-success" />;
if (s === 'in_pro... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|> )}
</span>
<span
ref={ref}
className={cn(
!expanded && 'truncate',
expanded && 'whitespace-pre-wrap break-all'
)}
>
{summary}
</span>
</div>
);
});
<|fim_prefix|>import { forwardRef } from 'react';
import {
ListMagnify... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>aceId?: string;
}
interface ChatUserMessageProps {
content: string;
expanded?: boolean;
onToggle?: () => void;
className?: string;
workspaceId?: string;
onEdit?: () => void;
onReset?: () => void;
isGreyed?: boolean;
renderMarkdown: (props: ChatUserMessageRenderProps) => ReactNode;
}
ex... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|> <Check className="h-4 w-4" />
</div>
)}
</button>
);
}
);
Checkbox.displayName = 'Checkbox';
export { Checkbox };
<|fim_prefix|>import * as React from 'react';
import { Check } from 'lucide-react';
import { cn } from '../lib/cn';
interface CheckboxProps {
id?: string;... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useEffect, useRef } from 'react';
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
interface ClickableCodePluginProps {
/** Function to find a matching diff path (supports partial/right-hand match) */
findMatchingDiffPath: (text: string) => string | null;
... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useEffect } from 'react';
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
import { $isCodeNode } from '@lexical/code';
import {
$getSelection,
$isRangeSelection,
$createParagraphNode,
$isLineBreakNode,
KEY_ENTER_COMMAND,
KEY_ARROW_DOWN_COMMAND,
COM... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useEffect } from 'react';
import { useLex<|fim_suffix|>] = useLexicalComposerContext();
useEffect(() => {
return registerCodeHighlighting(editor);
}, [editor]);
return null;
}
<|fim_middle|>icalComposerContext } from '@lexical/react/LexicalComposerContext';
import { registerCodeHighli... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>en w-full px-base py-half cursor-pointer'
)}
>
{headerContent}
</button>
) : (
<div
className={cn(
'flex items-center justify-between w-full px-base py-half'
)}
>
{headerContent}
... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { forwardRef } from 'react';
import { cn } from '../lib/cn';
export const PRESET_COLORS = [
'0 84% 60%',
'24 95% 53%',
'45 93% 58%',
'158 64% 52%',
'200 98% 39%',
'271 81% 56%',
'330 81% 60%',
'183 74% 44%',
'262 52% 47%',
'142 71% 45%',
'17 88% 40%',
'231 48% 48%',
] as co... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import * as React from 'react';
import { Command as CommandPrimitive } from 'cmdk';
import { MagnifyingGlassIcon } from '@phosphor-icons/react';
import { cn } from '../lib/cn';
import { Dialog, DialogContent, DialogTitle } from './Dialog';
const Command = React.forwardRef<
React.ElementRef<typeof Comma... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>getItemSearchLabel<
TAction extends CommandBarAction,
TPageId extends string,
>(
item: CommandBarGroupItem<TAction, TPageId>,
getLabel: (action: TAction) => string
) {
if (item.type === 'page') {
return `${item.pageId} ${item.label}`;
}
if (item.type === 'repo') {
return `${item.repo... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>/
export function CommentCard({
variant,
children,
header,
actions,
className,
}: CommentCardProps) {
return (
<div className="p-base bg-panel font-sans text-base">
<div
className={cn(
'p-base rounded-sm border',
variantStyles[variant],
className... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|> nodes = selection.getNodes();
const targetNodes = nodes.filter(isTargetNode);
if (targetNodes.length === 0) return false;
for (const node of targetNodes) {
node.remove();
}
return true;
};
const unregisterBackspace = editor.registerCommand(
KEY_BACK... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>lt:
return <XCircleIcon className={`${iconClass} text-muted-foreground`} />;
}
};
const getConfirmButtonVariant = () => {
return variant === 'destructive' ? 'destructive' : 'default';
};
return (
<Dialog open={modal.visible} onOpenChange={handleCancel}>
<DialogContent c... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import {
forwardRef,
type CSSProperties,
type MouseEvent,
type ReactNode,
} from 'react';
import type { Icon } from '@phosphor-icons/react';
import { cn } from '../lib/cn';
import { Tooltip } from './Tooltip';
interface ContextBarButtonProps {
icon: Icon;
label: string;
iconClassName?: stri... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useMemo } from 'react';
import { useTranslation } from 'react-i18next';
import { cn } from '../lib/cn';
import { Tooltip } from './Tooltip';
export interface ContextUsageInfo {
total_tokens: number;
model_context_window: number;
}
function clamp(value: number, min: number, max: number) {
... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useState } from 'react';
import { WarningIcon, ArrowClockwiseIcon } from '@phosphor-icons/react';
import { useTranslation } from 'react-i18next';
export interface CrashScreenProps {
error?: Error | string;
componentStack?: string | null;
onReload?: () => void;
}
export function CrashScree... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { type ReactNode, useRef } from 'react';
import { CheckIcon, PaperclipIcon, XIcon } from '@phosphor-icons/react';
import { useTranslation } from 'react-i18next';
import { Checkbox } from './Checkbox';
import { ChatBoxBase, VisualVariant, type DropzoneProps } from './ChatBoxBase';
import { DropdownM... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useState, useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import {
Dialog,
DialogContent,
DialogDescription,
DialogFooter,
DialogHeader,
DialogTitle,
} from './KeyboardDialog';
import { Button } from './Button';
import NiceModal, { useModal } from '@ebay/ni... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import * as React from 'react';
import {
Table,
TableHead,
TableBody,
TableRow,
TableHeaderCell,
TableCell,
TableEmpty,
TableLoading,
} from './Table';
export type ColumnDef<T> = {
id: string;
header: React.ReactNode;
accessor: (row: T) => React.ReactNode;
className?: string;
he... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useState } from 'react';
import { useTranslation } from 'react-i18next';
import {
Dialog,
DialogContent,
DialogDescription,
DialogFooter,
DialogHeader,
DialogTitle,
} from './KeyboardDialog';
import { Button } from './Button';
import { Checkbox } from './Checkbox';
import NiceModal, {... | fim | BloopAI/vibe-kanban | typescript |
import * as React from 'react';
import * as DialogPrimitive from '@radix-ui/react-dialog';
import { X } from 'lucide-react';
import { cn } from '../lib/cn';
const Dialog = DialogPrimitive.Root;
const DialogTrigger = DialogPrimitive.Trigger;
const DialogClose = DialogPrimitive.Close;
function DialogPortal({
childr... | fim | BloopAI/vibe-kanban | typescript |
import * as React from 'react';
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
import {
CaretDownIcon,
CaretRightIcon,
CheckIcon,
MagnifyingGlassIcon,
type Icon,
} from '@phosphor-icons/react';
import { cn } from '../lib/cn';
const DropdownMenu = DropdownMenuPrimitive.Root;
const D... | fim | BloopAI/vibe-kanban | typescript |
import * as React from 'react';
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
import { Check, ChevronRight, Circle } from 'lucide-react';
import { cn } from '../lib/cn';
const DropdownMenu = DropdownMenuPrimitive.Root;
const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
const Dropdo... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { type ReactNode, useState } from 'react';
import { cn } from '../lib/cn';
import { Popover, PopoverContent, PopoverTrigger } from './Popover';
// Common reaction emojis
const REACTION_EMOJIS = [
'👍',
'👎',
'❤️',
'😄',
'😢',
'🎉',
'🚀',
'👀',
'🔥',
'💯',
'✅',
'❌',
'🤔',
... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>"absolute right-half top-half rounded-sm p-[2px] text-error/90 hover:bg-error/15 hover:text-error transition-colors"
>
<XIcon className="size-icon-xs" weight="bold" />
</button>
)}
</div>
);
}
<|fim_prefix|>import { XIcon } from '@phosphor-icons/react';
import { cn } ... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>n (
<Dialog
open={modal.visible}
onOpenChange={(open) => !open && handleDismiss()}
>
<DialogContent
className="sm:max-w-[425px] p-double"
style={{ zIndex: 10001 }}
>
<DialogHeader>
<div className="flex items-center gap-3">
<Warn... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useState, useCallback, useMemo, useEffect, useRef } <|fim_suffix|>referredRepoId &&
!!listRecentRepos &&
!!chooseRepo;
const effectiveRepoIds = useMemo(() => {
if (!usePreferenceRepoSelection) {
return repoIds;
}
return preferredRepoId ? [preferredRepoId] : undefined;... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { memo, type ReactNode } from 'react';
import { useTranslation } from 'react-i18next';
import {
GithubLogoIcon,
CaretUpIcon,
CaretDownIcon,
} from '@phosphor-icons/react';
import { cn } from '../lib/cn';
import { Tooltip } from './Tooltip';
import { FileTreeSearchBar } from './FileTreeSearchB... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|> weight="fill" />
{commentCount}
</span>
)}
</div>
</div>
);
});
<|fim_prefix|>import { memo, type ReactNode } from 'react';
import {
CaretDownIcon,
CaretRightIcon,
FolderSimpleIcon,
GithubLogoIcon,
} from '@phosphor-icons/react';
import { cn } from ... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { ArrowsInSimpleIcon, ArrowsOutSimpleIcon } from '@phosphor-icons/react';
import { useTranslation } from 'react-i18next';
import { InputField } from './InputField';
interface FileTreeSearchBarProps {
searchQuery: string;
onSearchChange: (value: string) => void;
isAllExpanded: boolean;
<|fim... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>mitsAhead: number;
commitsBehind: number;
remoteCommitsAhead?: number;
prNumber?: number;
prUrl?: string;
prStatus?: 'open' | 'merged' | 'closed' | 'unknown';
showPushButton?: boolean;
isPushPending?: boolean;
isPushSuccess?: boolean;
isPushError?: boolean;
isTargetRemote?: boolean;
}
... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>Green (#34A853)
*/
export function GoogleLogo({ className }: GoogleLogoProps) {
return (
<svg
className={cn('size-5', className)}
viewBox="0 0 48 48"
xmlns="http://www.w3.org/2000/svg"
aria-hidden="true"
>
<path
fill="#EA4335"
d="M24 9.5c3.54 0 6.71... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useState, type ReactNode } from 'react';
import { CaretLeftIcon, XIcon } from '@phosphor-icons/react';
import { cn } from '../lib/cn';
export interface GuideDialogTopic {
id: string;
title: string;
content: ReactNode;
imageSrc?: string;
imageAlt?: string;
}
interface GuideDialogShellP... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|> />
</button>
);
}
<|fim_prefix|>import { cn } from '../lib/cn';
import type { Icon } from '@phosphor-icons/react';
interface IconButtonProps {
icon: Icon;
iconClassName?: string;
onClick?: () => void;
disabled?: boolean;
variant?: 'default' | 'tertiary';
'aria-label': string;
tit... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import type { ReactNode } from 'react';
import { cn } from '../lib/cn';
import type { Icon } from '@phosphor-icons/react';
import { Tooltip } from './Tooltip';
interface ButtonGroupProps {
children: ReactNode;
className<|fim_suffix|>-normal hover:bg-secondary/50';
const button = (
<button
... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useEffect } from 'react';
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
import {
KEY_BACKSPACE_COMMAND,
KEY_DELETE_C<|fim_suffix|>n true;
};
const unregisterBackspace = editor.registerCommand(
KEY_BACKSPACE_COMMAND,
() => deleteSelecte... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useEffect } from 'react';
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
import {
$getSelection,
$isRangeSelection,
$isTextNode,
$createTextNode,
KEY_ARROW_RIGHT_COMMAND,
COMMAND_PRIORITY_NORMAL,
} from 'lexical';
/**
* Allows users to exit inline... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import * as React from 'react';
import { cn } from '../lib/cn';
import { twMerge } from 'tailwind-merge';
export interface InputProps
extends React.InputHTMLAttributes<HTMLInputElement> {
onCommandEnter?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
onCommandShiftEnter?: (e: React.KeyboardEv... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|> }}
onBlur={() => {
setIsFocused(false);
onFocusChange?.(false);
}}
placeholder={placeholder}
disabled={disabled}
className="flex-1 text-sm text-high bg-transparent placeholder:text-low placeholder:opacity-80 focus:outline-non... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|> 'border transition-colors',
reaction.hasReacted
? 'bg-brand/10 border-brand text-brand'
: 'bg-secondary border-border text-low hover:text-normal'
)}
>
<span className="color-emoj... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|> <span className="text-sm text-low w-5 text-right">
{formatRelativeTime(issue.created_at)}
</span>
</div>
</div>
)}
</Draggable>
);
}
<|fim_prefix|>'use client';
import type { MouseEvent } from 'react';
import { cn } from '../lib/cn';
imp... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>'use client';
import { useCallback, useState, type MouseEvent } from 'react';
import { cn <|fim_suffix|>ed, setExpanded] = useState(() => {
if (typeof window === 'undefined') return true;
const stored = window.localStorage.getItem(storageKey);
return stored == null ? true : stored === 'true';... | fim | BloopAI/vibe-kanban | typescript |
'use client';
import type { MouseEvent } from 'react';
import { cn } from '../lib/cn';
import type { KanbanAssigneeUser } from './KanbanAssignee';
import {
IssueListSection,
type IssueListSectionStatus,
} from './IssueListSection';
import type {
IssueListRowIssue,
IssueListRowRelationship,
IssueListRowTag,
}... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { cn } from '../lib/cn';
import { PlusIcon, UsersIcon, XIcon } from '@phosphor-icons/react';
import { useTranslation } from 'react-i18next';
import { PrimaryButton } from './PrimaryButton';
import { IconButton } from './IconButton';
import { StatusDot } from './StatusDot';
import { PriorityIcon, ty... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>tionships,
onRelationshipClick,
onRemoveRelationship,
isLoading,
headerExtra,
}: IssueRelationshipsSectionProps) {
const { t } = useTranslation('common');
return (
<CollapsibleSectionHeader
title={t('kanban.relationships', 'Relationships')}
persistKey="kanban-issue-relationshi... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useTranslation } from 'react-i18next';
import { Droppable } from '@hello-pangea/dnd';
import {
CollapsibleSectionHeader,
type SectionAction,
} from './CollapsibleSectionHeader';
import { SubIssueRow } from './SubIssueRow';
import type { PriorityLevel } from './PriorityIcon';
import type { Kan... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import type { ReactNode } from 'react';
import { PlusIcon, HashIcon, GitPullRequest } from '@phosphor-icons/react';
import { cn } from '../lib/cn';
import { PRESET_COLORS } from './ColorPicker';
import { PrBadge, type PrBadgeStatus } from './PrBadge';
import { TAG_COLORS } from './SearchableTagDropdown';
... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { cn } from '../lib/cn';
import { useTranslation } from 'react-i18next';
import {
GitPullRequestIcon,
DotsThreeIcon,
LinkBreakIcon,
TrashIcon,
PlayIcon,
HandIcon,
TriangleIcon,
CircleIcon,
} from '@phosphor-icons/react';
import { UserAvatar, type UserAvatarUser } from './UserAvatar'... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>=> onDeleteWorkspace(localWorkspaceId)
: undefined
}
/>
);
})
)}
</div>
</CollapsibleSectionHeader>
);
}
<|fim_prefix|>import { useTranslation } from 'react-i18next';
import {
IssueWorkspaceCard,
IssueWorkspace... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|> 'flex size-icon-base shrink-0 items-center justify-center overflow-hidden rounded-full border border-border bg-secondary text-xs font-medium text-low',
'h-5 w-5 text-[10px] ring-1 ring-background'
)}
aria-label={label}
>
{imageUrl && (
<img
... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>'use client';
import { cn } from '../lib/cn';
export type KanbanBadgeProps = {
name: string;
color?: string;
className?: string;
};
export const <|fim_suffix|>
>
{color && (
<span
className="w-2 h-2 rounded-full shrink-0"
style={{ backgroundColor: `hsl(${colo... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>'use client';
import { Card } from './Card';
import {
Tooltip,
TooltipContent,
TooltipProvider,
TooltipTrigger,
} from './RadixTooltip';
import { cn } from '../lib/cn';
import {
DragDropContext,
Droppable,
Draggable,
type DropResult,
type DraggableProvided,
type DraggableStateSnapshot... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>(/_([^_]+)_/g, '$1')
.replace(/~~([^~]+)~~/g, '$1')
.replace(/\s+/g, ' ')
.trim();
}
export type KanbanCardContentProps<TTag extends KanbanTag = KanbanTag> = {
displayId: string;
title: string;
description?: string | null;
priority: PriorityLevel | null;
tags: KanbanTag[];
assigne... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|> currentUserId,
tags,
users,
filters,
showSubIssues,
showWorkspaces,
onPrioritiesChange,
onAssigneesChange,
onTagsChange,
onSortChange,
onShowSubIssuesChange,
onShowWorkspacesChange,
hideBlocked,
onHide... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>me="border-t">{renderSubIssuesSection(issueId)}</div>
)}
{/* Comments Section (Edit mode only) */}
{!isCreateMode && issueId && renderCommentsSection && (
<div className="border-t">{renderCommentsSection(issueId)}</div>
)}
</div>
</div>
);
}
<|fim_pre... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { useEffect } from 'react';
import { flushSync } from 'react-dom';
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
import {
$getSelection,
$isRangeSelection,
INDENT_CONTENT_COMMAND,
KEY_TAB_COMMAND,
KEY_MODIFIER_COMMAND,
KEY_ENTER_COMMAND,
OUTDENT_CO... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>HTMLAttributes<HTMLDivElement>) => (
<div
className={cn(
'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end sm:space-x-2',
className
)}
{...props}
/>
);
DialogFooter.displayName = 'DialogFooter';
export {
Dialog,
DialogContent,
DialogDescription,
DialogFooter,
D... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import * as React from 'react';
import * as LabelPrimitive from '@radix-ui/react-l<|fim_suffix|>cn } from '../lib/cn';
const labelVariants = cva(
'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70'
);
const Label = React.forwardRef<
React.ElementRef<typeof La... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { Loader2 } from 'lucide-react';
import React from 'react';
interface LoaderProps {
message?: string | React.ReactElement;
size?: number;
className?: string;
}
export const Loader: React.FC<LoaderProps> = ({
message,
size = 32,
className = '',
}) => (
<div
className={`f<|fim_suf... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|> const root = $getRoot();
const lastNode = root.getLastChild();
if (lastNode) {
lastNode.selectEnd();
}
}
});
lastSerializedRef.current = value;
} catch (err) {
console.error('Failed to parse markdown', err);
}
}, [editor,... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import { type ReactNode } from 'react';
import { createPortal } from 'react-dom';
import { cn } from '../lib/cn';
interface MobileDrawerProps {
open: boolean;
onClose: () => void;
children: ReactNode;
}
export function MobileDrawer({ open, onClose, children }: MobileDrawerProps) {
return create... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import type { Ref } from 'react';
import { useTranslation } from 'react-i18next';
import { BrainIcon, CaretDownIcon, CheckIcon } from '@phosphor-icons/react';
import { cn } from '../lib/cn';
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuTrigger,
} from './Dropdown';
ex... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|>onst className = cn('size-icon-sm', 'flex-shrink-0');
if (id.includes('anthropic') || id.includes('claude')) {
return (
<img
src={`/agents/claude${suffix}.svg`}
alt="Anthropic"
className={className}
/>
);
}
if (id.includes('openai') || id.includes('gpt')... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import type { ReactElement, Ref } from 'react';
import { useTranslation } from 'react-i18next';
import { CaretDownIcon } from '@phosphor-icons/react';
import { cn } from '../lib/cn';
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuLabel,
DropdownMenuSearchInput,
DropdownMenuTrigger,
} fr... | fim | BloopAI/vibe-kanban | typescript |
<|fim_suffix|> return 1;
return 0;
}}
onKeyDown={(e) => {
if ((e.metaKey || e.ctrlKey) && e.key === 'Enter') {
e.preventDefault();
onClose();
}
}}
>
<div className="flex items-center border-b border-border">
<CommandInput
placehol... | fim | BloopAI/vibe-kanban | typescript |
<|fim_prefix|>import type { ReactNode } from 'react';
import { cn } from '../lib/cn';
import { CaretDownIcon, type Icon } from '@phosphor-icons/react';
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuTrigger,
DropdownMenuCheckboxItem,
DropdownMenuSeparator,
DropdownMenuLabel,
} from './Dropdown';
im... | fim | BloopAI/vibe-kanban | typescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.