feat: Refactor Import Client for EPUB management with enhanced UI and functionality
Build and Push Reader Image / docker (push) Successful in 1m17s

- Implemented a multi-step wizard for importing EPUB files, including search, metadata review, chapter preview, and import progress tracking.
- Added genre management features, allowing users to create, select, and delete genres during the import process.
- Enhanced asset search functionality with improved API integration and user feedback.
- Updated the UI components for better user experience and responsiveness.
- Removed unused AI Tool links from the Novel Client and Mod Dashboard.
- Cleaned up the HomePage API response handling to streamline data fetching for popular and latest novels.
- Adjusted TypeScript definitions for route types in the Next.js environment.
This commit is contained in:
2026-05-03 20:57:50 +07:00
parent a6acb2b816
commit 5f2c6d26f6
11 changed files with 652 additions and 252 deletions
+2 -3
View File
@@ -3,7 +3,7 @@
import { useState, useEffect } from "react"
import Link from "next/link"
import { usePathname } from "next/navigation"
import { AlertTriangle, BookOpen, Home, Sparkles, Star, Tag, ChevronLeft, ChevronRight } from "lucide-react"
import { AlertTriangle, BookOpen, Home, Star, Tag, ChevronLeft, ChevronRight, UploadCloud } from "lucide-react"
import { cn } from "@/lib/utils"
export function CollapsibleSidebar() {
@@ -32,9 +32,8 @@ export function CollapsibleSidebar() {
{ href: "/mod/truyen", label: "Quản lý truyện", icon: BookOpen },
{ href: "/mod/thieu-thong-tin", label: "Truyện thiếu dữ liệu", icon: AlertTriangle },
{ href: "/mod/the-loai", label: "Quản lý thể loại", icon: Tag },
{ href: "/mod/import", label: "Import EPUB", icon: UploadCloud },
{ href: "/mod/de-cu", label: "Quản lý đề cử", icon: Star },
{ href: "/mod/import", label: "Import EPUB", icon: BookOpen },
{ href: "/mod/ai-tool", label: "AI Tool", icon: Sparkles },
]
return (