feat: flat design Sunset Glitch + download manager + settings + recommendations overhaul
CI / Test (Python 3.11) (pull_request) Has been cancelled
CI / Test (Python 3.12) (pull_request) Has been cancelled
CI / Lint (pull_request) Has been cancelled
CI / Type Check (pull_request) Has been cancelled
CI / Summary (pull_request) Has been cancelled

- Sunset Glitch color palette applied to all templates
- Font Awesome icons throughout UI
- Download manager with parallel queue and progress tracking
- Settings page with dynamic configuration
- Recommendations router enhanced with scoring
- Local vendor libs (Alpine.js, HTMX) for offline support
- Auto test suite with screenshots
- Series releases list component
- New download model
This commit is contained in:
root
2026-04-11 19:30:32 +00:00
parent 9e53579b36
commit 87f245d3fc
36 changed files with 1549 additions and 215 deletions
+13
View File
@@ -27,6 +27,13 @@ class AppSettingsBase(SQLModel):
# #12: Custom download directory
download_dir: str = Field(default="downloads")
# #13: Content weight mode ("auto" = based on download habits, "manual" = user-defined)
content_weight_mode: str = Field(default="auto", sa_column=Column(String))
# #14: Manual content weights (used when content_weight_mode = "manual")
content_weight_anime: int = Field(default=2)
content_weight_series: int = Field(default=1)
@property
def disabled_providers(self) -> List[str]:
@@ -64,6 +71,9 @@ class AppSettings(BaseModel):
anime_enabled: bool = True
series_enabled: bool = True
download_dir: str = "downloads"
content_weight_mode: str = "auto"
content_weight_anime: int = 2
content_weight_series: int = 1
class Config:
from_attributes = True
@@ -79,3 +89,6 @@ class AppSettingsUpdate(BaseModel):
anime_enabled: Optional[bool] = None
series_enabled: Optional[bool] = None
download_dir: Optional[str] = None
content_weight_mode: Optional[str] = None
content_weight_anime: Optional[int] = None
content_weight_series: Optional[int] = None