Add catalog search on timeline header and fix Back to Timeline navigation.

Public GET /api/search over artists, movements, and paintings with a debounced header bar on the timeline; Back to Timeline resets zoom and gallery session.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Danila Khodjaef
2026-07-15 10:34:29 +03:00
co-authored by Cursor
parent 50fc253ab2
commit acc4a91a08
17 changed files with 827 additions and 12 deletions
+6
View File
@@ -0,0 +1,6 @@
-- Indexes for catalog search (ILIKE on name/title)
CREATE INDEX IF NOT EXISTS artists_name_lower_idx ON artists (lower(name));
CREATE INDEX IF NOT EXISTS artists_wikipedia_title_lower_idx ON artists (lower(wikipedia_title));
CREATE INDEX IF NOT EXISTS paintings_title_lower_idx ON paintings (lower(title));
CREATE INDEX IF NOT EXISTS paintings_wikipedia_title_lower_idx ON paintings (lower(wikipedia_title));
CREATE INDEX IF NOT EXISTS art_movements_name_lower_idx ON art_movements (lower(name));