mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-30 21:59:46 +02:00
chore: remove VERSION file and clean up unused imports across multiple files
This commit is contained in:
parent
c70ce0b711
commit
deea3fa544
18 changed files with 7 additions and 43 deletions
|
|
@ -7,9 +7,7 @@ import { toast } from "sonner";
|
|||
import {
|
||||
Edit,
|
||||
Plus,
|
||||
Search,
|
||||
Trash2,
|
||||
ExternalLink,
|
||||
RefreshCw,
|
||||
} from "lucide-react";
|
||||
|
||||
|
|
@ -19,7 +17,6 @@ import {
|
|||
Card,
|
||||
CardContent,
|
||||
CardDescription,
|
||||
CardFooter,
|
||||
CardHeader,
|
||||
CardTitle,
|
||||
} from "@/components/ui/card";
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { useState, useCallback, useRef } from "react"
|
|||
import { useDropzone } from "react-dropzone"
|
||||
import { Button } from "@/components/ui/button"
|
||||
import { toast } from "sonner"
|
||||
import { X, Upload, FileIcon, Tag, AlertCircle, CheckCircle2, Calendar, FileType } from "lucide-react"
|
||||
import { X, Upload, Tag, CheckCircle2, Calendar, FileType } from "lucide-react"
|
||||
import { useRouter, useParams } from "next/navigation"
|
||||
import { motion, AnimatePresence } from "framer-motion"
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ export default function DashboardLayout({
|
|||
// Use React.use to unwrap the params Promise
|
||||
const { search_space_id } = use(params);
|
||||
|
||||
// TODO: Get search space name from our FastAPI backend
|
||||
const customNavSecondary = [
|
||||
{
|
||||
title: `All Search Spaces`,
|
||||
|
|
@ -80,22 +79,6 @@ export default function DashboardLayout({
|
|||
items: [
|
||||
],
|
||||
}
|
||||
// TODO: Add research synthesizer's
|
||||
// {
|
||||
// title: "Research Synthesizer's",
|
||||
// url: `#`,
|
||||
// icon: "SquareLibrary",
|
||||
// items: [
|
||||
// {
|
||||
// title: "Podcast Creator",
|
||||
// url: `/dashboard/${search_space_id}/synthesizer/podcast`,
|
||||
// },
|
||||
// {
|
||||
// title: "Presentation Creator",
|
||||
// url: `/dashboard/${search_space_id}/synthesizer/presentation`,
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
]
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -31,13 +31,10 @@ import {
|
|||
DialogFooter
|
||||
} from "@/components/ui/dialog";
|
||||
import {
|
||||
SegmentedControl,
|
||||
ConnectorButton as ConnectorButtonComponent,
|
||||
getConnectorIcon,
|
||||
getMainViewSources as getMainViewSourcesUtil,
|
||||
getFilteredSources as getFilteredSourcesUtil,
|
||||
getPaginatedDialogSources as getPaginatedDialogSourcesUtil,
|
||||
getSourcesCount as getSourcesCountUtil,
|
||||
useScrollToBottom,
|
||||
updateScrollIndicators as updateScrollIndicatorsUtil,
|
||||
useScrollIndicators,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import React, { RefObject, useEffect } from 'react';
|
||||
import { RefObject, useEffect } from 'react';
|
||||
|
||||
/**
|
||||
* Function to scroll to the bottom of a container
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import React from 'react';
|
||||
import { Source, Connector } from './types';
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
import { useEffect, useState } from 'react';
|
||||
import { AppSidebar } from '@/components/sidebar/app-sidebar';
|
||||
import { iconMap } from '@/components/sidebar/app-sidebar';
|
||||
import {
|
||||
Dialog,
|
||||
DialogContent,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
"use client"
|
||||
|
||||
import { ChevronRight, type LucideIcon } from "lucide-react"
|
||||
import Link from "next/link"
|
||||
|
||||
import {
|
||||
Collapsible,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ import { type LucideIcon } from "lucide-react"
|
|||
|
||||
import {
|
||||
SidebarGroup,
|
||||
SidebarGroupContent,
|
||||
SidebarMenu,
|
||||
SidebarMenuButton,
|
||||
SidebarMenuItem,
|
||||
|
|
|
|||
|
|
@ -2,11 +2,8 @@
|
|||
|
||||
import {
|
||||
BadgeCheck,
|
||||
Bell,
|
||||
ChevronsUpDown,
|
||||
CreditCard,
|
||||
LogOut,
|
||||
Sparkles,
|
||||
} from "lucide-react"
|
||||
|
||||
import {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue