Enable Discovery debug logging for production troubleshooting

- Add DISCOVERY_LOG_LEVEL=debug
- Add DISCOVERY_SHOW_PROGRESS=true
- Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
2025-08-11 20:13:26 +02:00
parent 59fd3dd3b1
commit 55a330b223
3683 changed files with 2956207 additions and 16948 deletions

View File

@@ -1,8 +1,10 @@
import { Logger } from '../../core/logger.js';
export const scrollSteps = {
onEnter(index, el) {
el.classList.add('active');
document.body.dataset.activeScrollStep = index;
console.log(`[ScrollStep] Enter: ${index}`);
Logger.info(`[ScrollStep] Enter: ${index}`);
// Beispielaktionen
if (index === 1) showIntro();
if (index === 2) activateChart();
@@ -12,7 +14,7 @@ export const scrollSteps = {
onLeave(index, el) {
el.classList.remove('active');
el.style.transitionDelay = '';
console.log(`[ScrollStep] Leave: ${index}`);
Logger.info(`[ScrollStep] Leave: ${index}`);
if (document.body.dataset.activeScrollStep === String(index)) {
delete document.body.dataset.activeScrollStep;
@@ -25,9 +27,9 @@ export const scrollSteps = {
};
function showIntro() { console.log('Intro sichtbar'); }
function hideIntro() { console.log('Intro ausgeblendet'); }
function activateChart() { console.log('Chart aktiviert'); }
function deactivateChart() { console.log('Chart deaktiviert'); }
function revealQuote() { console.log('Zitat eingeblendet'); }
function hideQuote() { console.log('Zitat ausgeblendet'); }
function showIntro() { Logger.info('Intro sichtbar'); }
function hideIntro() { Logger.info('Intro ausgeblendet'); }
function activateChart() { Logger.info('Chart aktiviert'); }
function deactivateChart() { Logger.info('Chart deaktiviert'); }
function revealQuote() { Logger.info('Zitat eingeblendet'); }
function hideQuote() { Logger.info('Zitat ausgeblendet'); }