diff --git a/webui/index.html b/webui/index.html index 19042cae..947a26d6 100644 --- a/webui/index.html +++ b/webui/index.html @@ -383,19 +383,19 @@
- + -
-
+
@@ -780,7 +780,7 @@
-
+
diff --git a/webui/static/script.js b/webui/static/script.js index 6ab0f18d..bc8b996f 100644 --- a/webui/static/script.js +++ b/webui/static/script.js @@ -290,6 +290,19 @@ document.addEventListener('DOMContentLoaded', function() { initializeSyncPage(); initializeWatchlist(); + // Initialize Beatport rebuild slider if it's the active tab by default + const activeRebuildTab = document.querySelector('.beatport-tab-button.active[data-beatport-tab="rebuild"]'); + if (activeRebuildTab) { + console.log('🔄 Initializing default active rebuild tab...'); + initializeBeatportRebuildSlider(); + loadBeatportTop10Lists(); + loadBeatportTop10Releases(); + initializeBeatportReleasesSlider(); + initializeBeatportHypePicksSlider(); + initializeBeatportChartsSlider(); + initializeBeatportDJSlider(); + } + // Start global service status polling for sidebar (works on all pages) fetchAndUpdateServiceStatus(); @@ -9785,9 +9798,9 @@ function initializeSyncPage() { // Setup homepage chart handlers (following genre page pattern to prevent duplicates) setupHomepageChartTypeHandlers(); - // Load homepage chart collections automatically - loadDJChartsInline(); - loadFeaturedChartsInline(); + // Load homepage chart collections automatically (disabled since Browse Charts tab is hidden) + // loadDJChartsInline(); + // loadFeaturedChartsInline(); // Logic for Beatport breadcrumb back buttons const beatportBackButtons = document.querySelectorAll('.breadcrumb-back'); diff --git a/webui/static/style.css b/webui/static/style.css index 23ca087a..9bec1b14 100644 --- a/webui/static/style.css +++ b/webui/static/style.css @@ -4392,6 +4392,11 @@ body { flex-direction: column; } +/* Hide Browse Charts tab */ +.beatport-tab-button[data-beatport-tab="browse"] { + display: none; +} + /* ================================= */ /* BEATPORT REBUILD TAB STYLES */ /* ================================= */