Add curator Influences tool with import wizard, CRUD, and graph.

CSV/JSON/XLSX mapping wizard expands artist-level rows to all paintings, blocks duplicate file/data imports via content and payload hashes, and documents the workflow in influence-import.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Danila Khodjaef
2026-07-16 18:54:26 +03:00
co-authored by Cursor
parent 62d7ebbe6a
commit 48bd17e985
21 changed files with 3402 additions and 15 deletions
+1
View File
@@ -14,6 +14,7 @@
"showMoreDebug": "Show more (debug)",
"checkup": "Checkup",
"translations": "Translations",
"influences": "Influences",
"curatorRequiredTitle": "Curator access required",
"curatorRequiredBody": "Sign in as a curator to use this tool.",
"backToGalleryBtn": "Back to gallery"
+70
View File
@@ -0,0 +1,70 @@
{
"title": "Influence links",
"back": "← Back to gallery",
"tabList": "List",
"tabImport": "Import",
"tabGraph": "Graph",
"loadFailed": "Failed to load influences",
"searchPlaceholder": "Search artist, painting, source…",
"refresh": "Refresh",
"loading": "Loading…",
"loadingParse": "Reading file…",
"loadingPreview": "Validating influence links…",
"loadingCommit": "Importing links into the database…",
"loadingSave": "Saving link…",
"addEdge": "Add link",
"cancelAdd": "Cancel",
"total": "{{count}} links",
"filtered": "filtered by artist",
"clearFilter": "Clear artist filter",
"subjectPainting": "Subject painting",
"searchPainting": "Search painting…",
"sourceType": "Source type",
"typeArtist": "Artist",
"typePainting": "Painting",
"typeMovement": "Movement",
"sourceEntity": "Source entity",
"searchSource": "Search source…",
"notes": "Notes",
"saveEdge": "Save link",
"addRequiresIds": "Pick a subject painting and a source entity",
"colSubject": "Subject",
"colSource": "Source",
"colType": "Type",
"colNotes": "Notes",
"colActions": "Actions",
"colAction": "Action",
"colDirection": "Direction",
"delete": "Delete",
"confirmDelete": "Delete this influence link?",
"noEdges": "No influence links match.",
"stepUpload": "1. Upload",
"stepMapping": "2. Map columns",
"stepPreview": "3. Validate",
"stepDone": "4. Done",
"uploadHelp": "Choose a CSV, JSON, or XLSX file with influence rows (e.g. Inputs/artist_influences_web_sources.xlsx).",
"parseFailed": "Failed to parse file",
"previewFailed": "Failed to build preview",
"commitFailed": "Failed to commit import",
"rowsMissing": "File rows were not returned (too large). Use a smaller file (≤2000 rows).",
"fileInfo": "{{name}} · {{rows}} rows · {{format}}",
"sheet": "Sheet",
"preset": "Mapping preset",
"column": "Column",
"role": "Role",
"sample": "Sample",
"backStep": "Back",
"runPreview": "Validate & preview",
"previewCounts": "Will create {{create}} · skip {{skip}} · row errors {{errors}} · proposals {{proposals}}",
"warnings": "{{count}} warnings",
"commitImport": "Import {{count}} links",
"commitSummary": "Imported {{inserted}} links ({{skipped}} already present or skipped).",
"alreadyImportedWarn": "Already imported {{when}} by {{who}} ({{match}}: {{file}}). Commit is blocked unless you force re-import.",
"alreadyImportedBlock": "This file or identical data was already imported. Enable “Import anyway” to force, or cancel.",
"forceImport": "Import anyway (force — may recreate skipped edges only; existing edges stay unique)",
"matchFile": "same file bytes",
"matchData": "same mapped data",
"searchArtist": "Search artist for neighborhood graph…",
"graphEmpty": "Select an artist to visualize influence neighbors.",
"graphStats": "{{nodes}} nodes · {{edges}} edges"
}