refactor: Remove series-related fields and components to streamline novel management
Build and Push Reader Image / docker (push) Successful in 41s

- Eliminated seriesId and related fields from various models and components to simplify the data structure.
- Updated UI components to reflect the removal of series dependencies, enhancing clarity and maintainability.
- Adjusted API calls and data handling to ensure compatibility with the new structure.
This commit is contained in:
2026-05-12 14:37:37 +07:00
parent 09734cdadd
commit 3036854cf2
14 changed files with 48 additions and 687 deletions
-6
View File
@@ -23,7 +23,6 @@ type SearchSuggestion = {
slug: string
authorName: string
coverUrl?: string | null
series?: { id: string; name: string } | null
}
function roleLabel(role?: "USER" | "MOD" | "ADMIN") {
@@ -149,11 +148,6 @@ export function Header() {
<p className="truncate text-sm font-medium text-foreground">{item.title}</p>
<p className="truncate text-xs text-muted-foreground">{item.authorName}</p>
</div>
{item.series?.name && (
<span className="max-w-[120px] truncate text-[11px] font-medium text-primary">
{item.series.name}
</span>
)}
</button>
))
) : (