chore: remove VERSION file and clean up unused imports across multiple files

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-06-03 01:33:21 -07:00
parent c70ce0b711
commit deea3fa544
18 changed files with 7 additions and 43 deletions

View file

@ -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";

View file

@ -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"

View file

@ -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 (

View file

@ -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,

View file

@ -1,4 +1,4 @@
import React, { RefObject, useEffect } from 'react';
import { RefObject, useEffect } from 'react';
/**
* Function to scroll to the bottom of a container

View file

@ -1,4 +1,3 @@
import React from 'react';
import { Source, Connector } from './types';
/**

View file

@ -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,

View file

@ -1,7 +1,6 @@
"use client"
import { ChevronRight, type LucideIcon } from "lucide-react"
import Link from "next/link"
import {
Collapsible,

View file

@ -5,7 +5,6 @@ import { type LucideIcon } from "lucide-react"
import {
SidebarGroup,
SidebarGroupContent,
SidebarMenu,
SidebarMenuButton,
SidebarMenuItem,

View file

@ -2,11 +2,8 @@
import {
BadgeCheck,
Bell,
ChevronsUpDown,
CreditCard,
LogOut,
Sparkles,
} from "lucide-react"
import {