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

@@ -13,6 +13,11 @@ export function init() {
const footer = document.querySelector('footer');
const headerLink = document.querySelector('header a');
// Check if required elements exist
if (!button || !aside || !backdrop) {
console.info('[Sidebar] Required elements not found, skipping sidebar initialization');
return;
}
useEvent(button, 'click', (e) => {
aside.classList.toggle('show');
@@ -23,13 +28,13 @@ export function init() {
if (isVisible) {
backdrop.classList.add('visible');
footer.setAttribute('inert', 'true');
headerLink.setAttribute('inert', 'true');
if (footer) footer.setAttribute('inert', 'true');
if (headerLink) headerLink.setAttribute('inert', 'true');
} else {
backdrop.classList.remove('visible');
footer.removeAttribute('inert');
headerLink.removeAttribute('inert');
if (footer) footer.removeAttribute('inert');
if (headerLink) headerLink.removeAttribute('inert');
}
})
@@ -48,8 +53,8 @@ export function init() {
aside.classList.remove('show');
backdrop.classList.remove('visible');
footer.removeAttribute('inert');
headerLink.removeAttribute('inert');
if (footer) footer.removeAttribute('inert');
if (headerLink) headerLink.removeAttribute('inert');
}
useEvent(backdrop, 'click' , clickHandler)