Merge pull request #309 from langflow-ai/import-fix

fix imports
This commit is contained in:
Mike Fortman 2025-10-27 09:21:05 -05:00 committed by GitHub
commit eefba928fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 12 additions and 15 deletions

View file

@ -34,7 +34,7 @@ export const DuplicateHandlingDialog: React.FC<
<DialogTitle>Overwrite document</DialogTitle> <DialogTitle>Overwrite document</DialogTitle>
<DialogDescription className="pt-2 text-muted-foreground"> <DialogDescription className="pt-2 text-muted-foreground">
Overwriting will replace the existing document with another version. Overwriting will replace the existing document with another version.
This can't be undone. This can&apos;t be undone.
</DialogDescription> </DialogDescription>
</DialogHeader> </DialogHeader>

View file

@ -11,6 +11,12 @@ const compat = new FlatCompat({
const eslintConfig = [ const eslintConfig = [
...compat.extends("next/core-web-vitals", "next/typescript"), ...compat.extends("next/core-web-vitals", "next/typescript"),
{
rules: {
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "off",
},
},
]; ];
export default eslintConfig; export default eslintConfig;

View file

@ -2,7 +2,7 @@ import { AnimatePresence, motion } from "motion/react";
import { type ReactNode, useEffect, useState } from "react"; import { type ReactNode, useEffect, useState } from "react";
import { Message } from "@/app/chat/components/message"; import { Message } from "@/app/chat/components/message";
import DogIcon from "@/components/logo/dog-icon"; import DogIcon from "@/components/logo/dog-icon";
import { AnimatedProcessingIcon } from "@/components/ui/animated-processing-icon"; import AnimatedProcessingIcon from "@/components/ui/animated-processing-icon";
import { MarkdownRenderer } from "@/components/markdown-renderer"; import { MarkdownRenderer } from "@/components/markdown-renderer";
import { cn } from "@/lib/utils"; import { cn } from "@/lib/utils";

View file

@ -5,8 +5,6 @@ import {
AccordionItem, AccordionItem,
AccordionTrigger, AccordionTrigger,
} from "@/components/ui/accordion"; } from "@/components/ui/accordion";
import { Separator } from "@/components/ui/separator";
import { Switch } from "@/components/ui/switch";
import { ModelSelector } from "./model-selector"; import { ModelSelector } from "./model-selector";
export function AdvancedOnboarding({ export function AdvancedOnboarding({

View file

@ -3,7 +3,7 @@
import { AnimatePresence, motion } from "framer-motion"; import { AnimatePresence, motion } from "framer-motion";
import { CheckIcon } from "lucide-react"; import { CheckIcon } from "lucide-react";
import { useEffect } from "react"; import { useEffect } from "react";
import { AnimatedProcessingIcon } from "@/components/ui/animated-processing-icon"; import AnimatedProcessingIcon from "@/components/ui/animated-processing-icon";
import { cn } from "@/lib/utils"; import { cn } from "@/lib/utils";
export function AnimatedProviderSteps({ export function AnimatedProviderSteps({

View file

@ -12,14 +12,7 @@ import { useDoclingHealth } from "@/components/docling-health-banner";
import IBMLogo from "@/components/logo/ibm-logo"; import IBMLogo from "@/components/logo/ibm-logo";
import OllamaLogo from "@/components/logo/ollama-logo"; import OllamaLogo from "@/components/logo/ollama-logo";
import OpenAILogo from "@/components/logo/openai-logo"; import OpenAILogo from "@/components/logo/openai-logo";
import { AnimatedProcessingIcon } from "@/components/ui/animated-processing-icon";
import { Button } from "@/components/ui/button"; import { Button } from "@/components/ui/button";
import {
Card,
CardContent,
CardFooter,
CardHeader,
} from "@/components/ui/card";
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
import { import {
Tooltip, Tooltip,

View file

@ -854,7 +854,7 @@ function KnowledgeSourcesPage() {
description={ description={
<> <>
<p className="mb-2"> <p className="mb-2">
You're entering Langflow. You can edit the{" "} You&apos;re entering Langflow. You can edit the{" "}
<b>Agent flow</b> and other underlying flows. Manual <b>Agent flow</b> and other underlying flows. Manual
changes to components, wiring, or I/O can break this changes to components, wiring, or I/O can break this
experience. experience.
@ -1001,7 +1001,7 @@ function KnowledgeSourcesPage() {
description={ description={
<> <>
<p className="mb-2"> <p className="mb-2">
You're entering Langflow. You can edit the{" "} You&apos;re entering Langflow. You can edit the{" "}
<b>Ingest flow</b> and other underlying flows. Manual <b>Ingest flow</b> and other underlying flows. Manual
changes to components, wiring, or I/O can break this changes to components, wiring, or I/O can break this
experience. experience.

View file

@ -1,4 +1,4 @@
import { AnimatedProcessingIcon } from "./animated-processing-icon"; import AnimatedProcessingIcon from "./animated-processing-icon";
export type Status = export type Status =
| "processing" | "processing"