Files
virtus 669addf799
Build and Push Reader Image / docker (push) Failing after 22s
feat: Revamp EPUB import process with batch upload support and enhanced API integration
- Introduced a new batch import client for handling multiple EPUB files simultaneously.
- Updated API routes for previewing and importing EPUB files, improving error handling and response management.
- Enhanced genre management during import, allowing for dynamic creation and association of genres.
- Implemented long-fetch handling to accommodate lengthy processing times for large EPUB files.
- Refined UI components for better user experience in the import workflow.
2026-05-11 15:27:13 +07:00

21 lines
712 B
TypeScript

import { ImportBatchClient } from "./import-batch-client"
import { ImportClient } from "./import-client"
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"
export default function ModImportPage() {
return (
<Tabs defaultValue="single" className="w-full">
<TabsList className="mx-4 mt-4 md:mx-6">
<TabsTrigger value="single">Một EPUB</TabsTrigger>
<TabsTrigger value="batch">Nhiều EPUB (tự đng)</TabsTrigger>
</TabsList>
<TabsContent value="single" className="mt-0">
<ImportClient />
</TabsContent>
<TabsContent value="batch" className="mt-0">
<ImportBatchClient />
</TabsContent>
</Tabs>
)
}