Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions apps/web/src/browser/BrowserDeviceToolbar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import {
PREVIEW_VIEWPORT_MAX_AREA,
PREVIEW_VIEWPORT_MAX_DIMENSION,
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/browser/BrowserSurfaceSlot.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { useLayoutEffect, useRef } from "react";

import { acquireBrowserSurface } from "./browserSurfaceStore";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/browser/BrowserViewportResizeHandles.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import type {
CSSProperties,
KeyboardEvent as ReactKeyboardEvent,
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/browser/ElectronBrowserHost.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { parseScopedThreadKey } from "@t3tools/client-runtime/environment";
import {
AuthPreviewOperateScope,
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/browser/HostedBrowserWebview.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import type {
DesktopPreviewColorScheme,
PreviewViewportSetting,
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/browser/ServerBrowserSurface.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import {
createPreviewFramePainter,
createPreviewStreamClient,
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/browser/useBrowserViewportResize.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import type { PreviewViewportSetting, PreviewViewportSize } from "@t3tools/contracts";
import {
useEffect,
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/AnimatedHeight.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { type ReactNode, useEffect, useLayoutEffect, useRef, useState } from "react";
import { observeResize } from "../lib/observeResize";

Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/CommandPalette.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { threadPullRequestLinkMode } from "@t3tools/client-runtime/thread-pull-request-compatibility";
import { visibleThreadPullRequests } from "@t3tools/shared/threadPullRequests";

Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/preview/AgentBrowserCursor.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import type { DesktopPreviewPointerEvent } from "@t3tools/contracts";
import { MousePointer2 } from "lucide-react";
import { useEffect, useState } from "react";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/preview/PreviewMoreMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import type { DesktopPreviewColorScheme } from "@t3tools/contracts";
import { Minus, MoreVertical, Plus as PlusIcon, RotateCcw } from "lucide-react";

Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/preview/PreviewPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import {
AuthPreviewOperateScope,
type PreviewAnnotationPayload,
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/preview/PreviewView.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { scopeThreadRef, scopedThreadKey } from "@t3tools/client-runtime/environment";
import { settlePromise } from "@t3tools/client-runtime/state/runtime";
import { previewStreamDownloadUrl } from "@t3tools/client-runtime/preview/server-browser-stream";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/preview/ThreadPreviewMiniPlayer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { FILL_PREVIEW_VIEWPORT, type ScopedThreadRef } from "@t3tools/contracts";
import { previewPdfAssetUrl } from "@t3tools/shared/preview";
import { useEnvironmentHttpBaseUrl } from "~/state/environments";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/preview/previewActionBus.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

export type PreviewAction =
| "toggle-panel"
| "refresh"
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/preview/usePreviewBridge.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import type {
DesktopPreviewTabState,
PreviewReportStatusInput,
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/preview/usePreviewSession.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { useAtomValue } from "@effect/atom-react";
import {
parseScopedThreadKey,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { ProviderInstanceIcon } from "../chat/ProviderInstanceIcon";

import { Radio as RadioPrimitive } from "@base-ui/react/radio";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/settings/CustomModelEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { PlusIcon, XIcon } from "lucide-react";
import { useState } from "react";
import type { ProviderDriverKind, ServerProviderModel } from "@t3tools/contracts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { PlusIcon, XIcon } from "lucide-react";
import { useEffect, useRef, useState } from "react";

Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/settings/ProviderInstanceCard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Spinner } from "~/components/ui/spinner";

import {
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/settings/ProviderModelsSection.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { ArrowDownIcon, ArrowUpIcon, PencilIcon, PlusIcon, StarIcon, XIcon } from "lucide-react";
import { useEffect, useRef, useState } from "react";
import {
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/settings/ProviderSettingsForm.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { useEffect, useRef, useState, type ReactNode } from "react";
import * as Option from "effect/Option";
import * as Schema from "effect/Schema";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/alert-dialog.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { AlertDialog as AlertDialogPrimitive } from "@base-ui/react/alert-dialog";

import { cn } from "~/lib/utils";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/autocomplete.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Autocomplete as AutocompletePrimitive } from "@base-ui/react/autocomplete";
import { ChevronsUpDownIcon, XIcon } from "lucide-react";

Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/badge.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { mergeProps } from "@base-ui/react/merge-props";
import { useRender } from "@base-ui/react/use-render";
import { cva, type VariantProps } from "class-variance-authority";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/button.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { mergeProps } from "@base-ui/react/merge-props";
import { useRender } from "@base-ui/react/use-render";
import { cva, type VariantProps } from "class-variance-authority";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/calendar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { DayPicker } from "@daypicker/react";
import { ChevronLeftIcon, ChevronRightIcon, ChevronsUpDownIcon } from "lucide-react";
import type * as React from "react";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/checkbox.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox";

import { cn } from "~/lib/utils";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/collapsible.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible";

import { cn } from "~/lib/utils";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/combobox.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Combobox as ComboboxPrimitive } from "@base-ui/react/combobox";
import { ChevronsUpDownIcon, SearchIcon, XIcon } from "lucide-react";
import * as React from "react";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/command.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Dialog as CommandDialogPrimitive } from "@base-ui/react/dialog";
import { SearchIcon } from "lucide-react";
import type * as React from "react";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/dialog.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
import { XIcon } from "lucide-react";
import { type ComponentProps, createContext, type ReactNode, use, useState } from "react";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/draft-input.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { useCommitOnBlur } from "~/hooks/useCommitOnBlur";
import { Input, type InputProps } from "./input";

Expand Down
1 change: 0 additions & 1 deletion apps/web/src/components/ui/group.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
"use client";
import { cva, type VariantProps } from "class-variance-authority";
import type * as React from "react";

Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/input-group.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { cva, type VariantProps } from "class-variance-authority";
import type * as React from "react";

Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/input.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Input as InputPrimitive } from "@base-ui/react/input";
import type * as React from "react";

Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/label.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { mergeProps } from "@base-ui/react/merge-props";
import { useRender } from "@base-ui/react/use-render";

Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/menu.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Menu as MenuPrimitive } from "@base-ui/react/menu";
import { CheckIcon, ChevronRightIcon } from "lucide-react";
import type * as React from "react";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/number-field.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { NumberField as NumberFieldPrimitive } from "@base-ui/react/number-field";
import { MinusIcon, PlusIcon } from "lucide-react";
import * as React from "react";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/popover.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Popover as PopoverPrimitive } from "@base-ui/react/popover";

import { cn } from "~/lib/utils";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/radio-group.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Radio as RadioPrimitive } from "@base-ui/react/radio";
import { RadioGroup as RadioGroupPrimitive } from "@base-ui/react/radio-group";

Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/scroll-area.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";

import { cn } from "~/lib/utils";
Expand Down
1 change: 0 additions & 1 deletion apps/web/src/components/ui/select.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
"use client";
import { mergeProps } from "@base-ui/react/merge-props";
import { Select as SelectPrimitive } from "@base-ui/react/select";
import { useRender } from "@base-ui/react/use-render";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/sheet.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
import { XIcon } from "lucide-react";
import type { CSSProperties } from "react";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/switch.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Switch as SwitchPrimitive } from "@base-ui/react/switch";

import { cn } from "~/lib/utils";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/textarea.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Field as FieldPrimitive } from "@base-ui/react/field";
import { mergeProps } from "@base-ui/react/merge-props";
import type * as React from "react";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/toast.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Spinner } from "~/components/ui/spinner";

import { Toast } from "@base-ui/react/toast";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/toastHelpers.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import type { ToastManagerAddOptions } from "@base-ui/react/toast";
import type { ComponentPropsWithoutRef, ReactNode } from "react";

Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/toggle-group.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import type { Toggle as TogglePrimitive } from "@base-ui/react/toggle";
import { ToggleGroup as ToggleGroupPrimitive } from "@base-ui/react/toggle-group";
import type { VariantProps } from "class-variance-authority";
Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/components/ui/toggle.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use client";

import { Toggle as TogglePrimitive } from "@base-ui/react/toggle";
import { cva, type VariantProps } from "class-variance-authority";

Expand Down
Loading