From abc19e7a27a04c6e60d52d85c9f52b582989a2bc Mon Sep 17 00:00:00 2001 From: Mike Fortman Date: Mon, 27 Oct 2025 09:11:49 -0500 Subject: [PATCH 1/2] fix imports --- .../src/app/new-onboarding/components/onboarding-step.tsx | 2 +- .../app/onboarding/components/animated-provider-steps.tsx | 2 +- frontend/src/app/onboarding/components/onboarding-card.tsx | 7 ------- frontend/src/components/ui/status-badge.tsx | 2 +- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/frontend/src/app/new-onboarding/components/onboarding-step.tsx b/frontend/src/app/new-onboarding/components/onboarding-step.tsx index 1a53369a..93f76a74 100644 --- a/frontend/src/app/new-onboarding/components/onboarding-step.tsx +++ b/frontend/src/app/new-onboarding/components/onboarding-step.tsx @@ -2,7 +2,7 @@ import { AnimatePresence, motion } from "motion/react"; import { type ReactNode, useEffect, useState } from "react"; import { Message } from "@/app/chat/components/message"; 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 { cn } from "@/lib/utils"; diff --git a/frontend/src/app/onboarding/components/animated-provider-steps.tsx b/frontend/src/app/onboarding/components/animated-provider-steps.tsx index 2d943789..90708d4a 100644 --- a/frontend/src/app/onboarding/components/animated-provider-steps.tsx +++ b/frontend/src/app/onboarding/components/animated-provider-steps.tsx @@ -3,7 +3,7 @@ import { AnimatePresence, motion } from "framer-motion"; import { CheckIcon } from "lucide-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"; export function AnimatedProviderSteps({ diff --git a/frontend/src/app/onboarding/components/onboarding-card.tsx b/frontend/src/app/onboarding/components/onboarding-card.tsx index 64413fe3..fb3ce3b9 100644 --- a/frontend/src/app/onboarding/components/onboarding-card.tsx +++ b/frontend/src/app/onboarding/components/onboarding-card.tsx @@ -12,14 +12,7 @@ import { useDoclingHealth } from "@/components/docling-health-banner"; import IBMLogo from "@/components/logo/ibm-logo"; import OllamaLogo from "@/components/logo/ollama-logo"; import OpenAILogo from "@/components/logo/openai-logo"; -import { AnimatedProcessingIcon } from "@/components/ui/animated-processing-icon"; 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 { Tooltip, diff --git a/frontend/src/components/ui/status-badge.tsx b/frontend/src/components/ui/status-badge.tsx index 19270284..1ba0b15c 100644 --- a/frontend/src/components/ui/status-badge.tsx +++ b/frontend/src/components/ui/status-badge.tsx @@ -1,4 +1,4 @@ -import { AnimatedProcessingIcon } from "./animated-processing-icon"; +import AnimatedProcessingIcon from "./animated-processing-icon"; export type Status = | "processing" From 5a00d1f2959a93364de96217ffff04561c192bc2 Mon Sep 17 00:00:00 2001 From: Mike Fortman Date: Mon, 27 Oct 2025 09:20:38 -0500 Subject: [PATCH 2/2] linting --- frontend/components/duplicate-handling-dialog.tsx | 2 +- frontend/eslint.config.mjs | 6 ++++++ frontend/src/app/onboarding/components/advanced.tsx | 2 -- frontend/src/app/settings/page.tsx | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/frontend/components/duplicate-handling-dialog.tsx b/frontend/components/duplicate-handling-dialog.tsx index d5cb2edf..f17ab922 100644 --- a/frontend/components/duplicate-handling-dialog.tsx +++ b/frontend/components/duplicate-handling-dialog.tsx @@ -34,7 +34,7 @@ export const DuplicateHandlingDialog: React.FC< Overwrite document Overwriting will replace the existing document with another version. - This can't be undone. + This can't be undone. diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs index c85fb67c..68969ae8 100644 --- a/frontend/eslint.config.mjs +++ b/frontend/eslint.config.mjs @@ -11,6 +11,12 @@ const compat = new FlatCompat({ const eslintConfig = [ ...compat.extends("next/core-web-vitals", "next/typescript"), + { + rules: { + "@typescript-eslint/no-unused-vars": "warn", + "@typescript-eslint/no-explicit-any": "off", + }, + }, ]; export default eslintConfig; diff --git a/frontend/src/app/onboarding/components/advanced.tsx b/frontend/src/app/onboarding/components/advanced.tsx index 94145b35..d44e5c7a 100644 --- a/frontend/src/app/onboarding/components/advanced.tsx +++ b/frontend/src/app/onboarding/components/advanced.tsx @@ -5,8 +5,6 @@ import { AccordionItem, AccordionTrigger, } from "@/components/ui/accordion"; -import { Separator } from "@/components/ui/separator"; -import { Switch } from "@/components/ui/switch"; import { ModelSelector } from "./model-selector"; export function AdvancedOnboarding({ diff --git a/frontend/src/app/settings/page.tsx b/frontend/src/app/settings/page.tsx index 728a7861..6143c626 100644 --- a/frontend/src/app/settings/page.tsx +++ b/frontend/src/app/settings/page.tsx @@ -854,7 +854,7 @@ function KnowledgeSourcesPage() { description={ <>

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

- You're entering Langflow. You can edit the{" "} + You're entering Langflow. You can edit the{" "} Ingest flow and other underlying flows. Manual changes to components, wiring, or I/O can break this experience.