Add debug More/Clear/Upload tools for paintings and artist portraits.

Extends the debug panel on painting detail and artist bio with a 20-result search picker, local image upload, and clear-to-empty-frame workflow, plus API routes, artist checkup migration, and documentation.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Danila Khodjaef
2026-06-21 13:14:06 +03:00
co-authored by Cursor
parent b4425445bb
commit 0972b5df99
56 changed files with 1980 additions and 92 deletions
+6 -4
View File
@@ -30,11 +30,13 @@ export interface Artist {
movement_id: number;
movement_name?: string;
movement_color?: string;
portrait_path: string;
portrait_path: string | null;
bio_short: string;
bio_full: string;
wikipedia_title: string;
century: number;
checkup_checked?: boolean;
checkup_fixed?: boolean;
}
export interface ArtistPeriod {
@@ -55,8 +57,8 @@ export interface Painting {
year: number;
year_end?: number;
description: string;
image_path: string;
thumbnail_path?: string;
image_path: string | null;
thumbnail_path?: string | null;
wikipedia_title: string;
sort_order: number;
artist_name?: string;
@@ -95,7 +97,7 @@ export interface InfluenceLink {
}
export interface PaintingDetail {
painting: Painting & { artist_name: string; artist_portrait: string };
painting: Painting & { artist_name: string; artist_portrait: string | null };
influencedBy: InfluenceLink[];
influenced: InfluenceLink[];
}