From 0c01fec88ccbace234bfd36a230b65cf324b8b74 Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Thu, 4 Dec 2025 12:41:51 -0500 Subject: [PATCH] Streamlined bulk import with inline progress bar and neutral labels --- internal/web/static/js/app.js | 20 ++++++++++---------- internal/web/templates/dashboard.html | 18 +++++++++--------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/internal/web/static/js/app.js b/internal/web/static/js/app.js index 63094d0..1b31e75 100644 --- a/internal/web/static/js/app.js +++ b/internal/web/static/js/app.js @@ -97,16 +97,16 @@ function displayGlobalSearchResults(data) { // Bulk Import Functions async function bulkImportAll() { - showLoader('Importing everything from TPDB...'); - startJobProgress('TPDB bulk import'); + showLoader('Importing everything...'); + startJobProgress('Full library import'); try { await importWithProgress('/api/import/all-performers/progress', 'Performers'); await importWithProgress('/api/import/all-studios/progress', 'Studios'); await importWithProgress('/api/import/all-scenes/progress', 'Scenes'); - setImportStatus('import-all', 'Bulk import complete', true); + setImportStatus('import-all', 'Import complete', true); setTimeout(() => location.reload(), 1500); } catch (err) { - setImportStatus('import-all', `Bulk import error: ${err.message}`, false); + setImportStatus('import-all', `Import error: ${err.message}`, false); } finally { stopJobProgress(); hideLoader(); @@ -114,8 +114,8 @@ async function bulkImportAll() { } async function bulkImportPerformers() { - showLoader('Importing performers from TPDB...'); - startJobProgress('Importing performers from TPDB'); + showLoader('Importing performers...'); + startJobProgress('Importing performers'); try { await importWithProgress('/api/import/all-performers/progress', 'Performers'); setTimeout(() => location.reload(), 1000); @@ -128,8 +128,8 @@ async function bulkImportPerformers() { } async function bulkImportStudios() { - showLoader('Importing studios from TPDB...'); - startJobProgress('Importing studios from TPDB'); + showLoader('Importing studios...'); + startJobProgress('Importing studios'); try { await importWithProgress('/api/import/all-studios/progress', 'Studios'); setTimeout(() => location.reload(), 1000); @@ -142,8 +142,8 @@ async function bulkImportStudios() { } async function bulkImportScenes() { - showLoader('Importing scenes from TPDB...'); - startJobProgress('Importing scenes from TPDB'); + showLoader('Importing scenes...'); + startJobProgress('Importing scenes'); try { await importWithProgress('/api/import/all-scenes/progress', 'Scenes'); setTimeout(() => location.reload(), 1000); diff --git a/internal/web/templates/dashboard.html b/internal/web/templates/dashboard.html index 2d2d60e..894db39 100644 --- a/internal/web/templates/dashboard.html +++ b/internal/web/templates/dashboard.html @@ -93,16 +93,16 @@

Welcome to Goondex

-

TPDB bulk imports with Adult Empire enrichment

+

Full-library sync with seamless enrichment

@@ -176,26 +176,26 @@
-

TPDB Import & Sync

+

Library Import & Sync

- Run bulk imports from TPDB, then enrich with AE/StashDB. Keep it running to build a complete base. + Run a full import, then sync regularly. Enrichment runs behind the scenes.